fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Missing semicolons
[fnpeditor.git]
/
modules
/
data
/
data.js
diff --git
a/modules/data/data.js
b/modules/data/data.js
index
108f2ea
..
51a4398
100644
(file)
--- a/
modules/data/data.js
+++ b/
modules/data/data.js
@@
-6,7
+6,7
@@
return function(sandbox) {
\r
var doc = sandbox.getBootstrappedData().document;
\r
var document_id = sandbox.getBootstrappedData().document_id;
\r
\r
var doc = sandbox.getBootstrappedData().document;
\r
var document_id = sandbox.getBootstrappedData().document_id;
\r
- var document_version = sandbox.getBootstrappedData().version
\r
+ var document_version = sandbox.getBootstrappedData().version
;
\r
var history = sandbox.getBootstrappedData().history;
\r
\r
\r
var history = sandbox.getBootstrappedData().history;
\r
\r
\r
@@
-53,7
+53,7
@@
return function(sandbox) {
sandbox.publish('historyItemAdded', data.slice(-1)[0]);
\r
},
\r
});
\r
sandbox.publish('historyItemAdded', data.slice(-1)[0]);
\r
},
\r
});
\r
- }
\r
+ }
;
\r
\r
return {
\r
start: function() {
\r
\r
return {
\r
start: function() {
\r
@@
-100,7
+100,7
@@
return function(sandbox) {
url: '/' + gettext('editor') + '/' + document_id + '/diff',
\r
data: {from: ver1, to: ver2},
\r
success: function(data) {
\r
url: '/' + gettext('editor') + '/' + document_id + '/diff',
\r
data: {from: ver1, to: ver2},
\r
success: function(data) {
\r
- sandbox.publish('diffFetched', {table: data, ver1: ver1, ver2: ver2})
\r
+ sandbox.publish('diffFetched', {table: data, ver1: ver1, ver2: ver2})
;
\r
},
\r
});
\r
},
\r
},
\r
});
\r
},
\r
@@
-127,7
+127,7
@@
return function(sandbox) {
getDocumentVersion: function() {
\r
return document_version;
\r
}
\r
getDocumentVersion: function() {
\r
return document_version;
\r
}
\r
- }
\r
+ }
;
\r
};
\r
\r
});
\ No newline at end of file
};
\r
\r
});
\ No newline at end of file