canvas manager wip - indentation fix
[fnpeditor.git] / modules / mainBar / mainBar.js
index 75fd599..084f675 100644 (file)
@@ -18,6 +18,9 @@ return function(sandbox) {
         getView: function() {return view;},\r
         setCommandEnabled: function(cmd, enabled) {\r
             view.find('[data-cmd='+cmd+']').toggleClass('disabled', !enabled);\r
+        },\r
+        setVersion: function(version) {\r
+            view.find('.version').text(version);\r
         }\r
     }\r
 \r