- /*
- * Set document's gallery link
- */
- WikiDocument.prototype.setGalleryLink = function(gallery) {
- return this.setDocumentProperty('galleryLink', gallery);
- };
-
- /*
- * Set document's property
- */
- WikiDocument.prototype.setDocumentProperty = function(property, value) {
- if(this[property] !== value) {
- this[property] = value;
- this.has_local_changes = true;
- }
- };