fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Missing strict declarations
[fnpeditor.git]
/
modules
/
data.js
diff --git
a/modules/data.js
b/modules/data.js
index
0fab1a7
..
2848454
100644
(file)
--- a/
modules/data.js
+++ b/
modules/data.js
@@
-1,5
+1,7
@@
define(function() {
\r
\r
define(function() {
\r
\r
+'use strict';
\r
+
\r
return function(sandbox) {
\r
\r
var doc = sandbox.getBootstrappedData().document;
\r
return function(sandbox) {
\r
\r
var doc = sandbox.getBootstrappedData().document;
\r
@@
-60,14
+62,7
@@
return function(sandbox) {
success: function() {sandbox.publish('savingEnded', 'success');},
\r
error: function() {sandbox.publish('savingEnded', 'error');}
\r
});
\r
success: function() {sandbox.publish('savingEnded', 'success');},
\r
error: function() {sandbox.publish('savingEnded', 'error');}
\r
});
\r
- },
\r
- fakeSave: function() {
\r
- sandbox.publish('savingStarted');
\r
- window.setTimeout(function() {
\r
- sandbox.publish('savingEnded', 'success')
\r
- }, 2000);
\r
- }
\r
-
\r
+ }
\r
}
\r
};
\r
\r
}
\r
};
\r
\r