aboutsummaryrefslogtreecommitdiff
path: root/js/io/document/base-document.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/io/document/base-document.js')
-rwxr-xr-xjs/io/document/base-document.js8
1 files changed, 1 insertions, 7 deletions
diff --git a/js/io/document/base-document.js b/js/io/document/base-document.js
index af96c851..d3601de5 100755
--- a/js/io/document/base-document.js
+++ b/js/io/document/base-document.js
@@ -12,7 +12,6 @@ var BaseDocument = exports.BaseDocument = Montage.create(Montage, {
12 /** Private Members **/ 12 /** Private Members **/
13 _name: { value: null, enumerable: false }, 13 _name: { value: null, enumerable: false },
14 _uri: { value: null, enumerable: false }, 14 _uri: { value: null, enumerable: false },
15 _externalUri: {value: null, enumerable:false},
16 _documentType: { value: null, enumerable: false }, 15 _documentType: { value: null, enumerable: false },
17 _container: {value: null, enumerable: false }, 16 _container: {value: null, enumerable: false },
18 _uuid: { value: null, enumerable: false }, 17 _uuid: { value: null, enumerable: false },
@@ -74,18 +73,13 @@ var BaseDocument = exports.BaseDocument = Montage.create(Montage, {
74 73
75 /** Base Methods **/ 74 /** Base Methods **/
76 init: { 75 init: {
77 value: function(name, uri, type, container, uuid, callback, externalUri) { 76 value: function(name, uri, type, container, uuid, callback) {
78 this.name = name; 77 this.name = name;
79 this.uri = uri; 78 this.uri = uri;
80 this.documentType = type; 79 this.documentType = type;
81 this.container = container; 80 this.container = container;
82 this.uuid = uuid; 81 this.uuid = uuid;
83 this.callback = callback; 82 this.callback = callback;
84 if(!!externalUri){
85 this.externalUri = externalUri;
86 this.container.setAttribute("data-uri", externalUri);
87 }
88
89 } 83 }
90 }, 84 },
91 85