fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some code improvements suggested by linter
[fnpeditor.git]
/
modules
/
mainBar
/
mainBar.js
diff --git
a/modules/mainBar/mainBar.js
b/modules/mainBar/mainBar.js
index
084f675
..
6966e4a
100644
(file)
--- a/
modules/mainBar/mainBar.js
+++ b/
modules/mainBar/mainBar.js
@@
-11,7
+11,7
@@
return function(sandbox) {
view.find('button').click(function(e) {
\r
e.preventDefault();
\r
sandbox.publish('cmd.' + $(e.target).attr('data-cmd'));
\r
view.find('button').click(function(e) {
\r
e.preventDefault();
\r
sandbox.publish('cmd.' + $(e.target).attr('data-cmd'));
\r
- })
\r
+ })
;
\r
\r
return {
\r
start: function() { sandbox.publish('ready'); },
\r
\r
return {
\r
start: function() { sandbox.publish('ready'); },
\r
@@
-22,7
+22,7
@@
return function(sandbox) {
setVersion: function(version) {
\r
view.find('.version').text(version);
\r
}
\r
setVersion: function(version) {
\r
view.find('.version').text(version);
\r
}
\r
- }
\r
+ }
;
\r
\r
};
\r
\r
\r
};
\r
\r