define(function() {\r
\r
+'use strict';\r
+\r
return function(sandbox) {\r
\r
var view = $(sandbox.getTemplate('main')());\r
\r
editor.getSession().on('change', function() {\r
sandbox.publish('xmlChanged');\r
- })\r
+ });\r
return {\r
start: function() {\r
sandbox.publish('ready');\r
},\r
setDocument: function(document) {\r
editor.setValue(document);\r
- editor.gotoLine(0)\r
+ editor.gotoLine(0);\r
sandbox.publish('documentSet');\r
},\r
getDocument: function() {\r
return editor.getValue();\r
}\r
- }\r
+ };\r
};\r
\r
});
\ No newline at end of file