editor: fixing handling nodeTextChange on text nodes belonging to custom-rendered...
[fnpeditor.git] / src / fnpjs / vbox.js
index dfb5a9f..f4ebb8f 100644 (file)
@@ -1,13 +1,15 @@
 define(['libs/jquery', './layout'], function($, layout) {
     
-    var VBox = function() {};
-    
-    VBox.prototype = new layout.Layout('<div class="fnpjs-vbox"></div>');
-    VBox.prototype.appendView = function(view) {
-        var item = $('<div>').addClass('fnpjs-vbox-item').append(view);
-        this.dom.append(item);
-    };
-    
-    return {VBox: VBox};
+'use strict';
+
+var VBox = function() {};
+
+VBox.prototype = new layout.Layout('<div class="fnpjs-vbox"></div>');
+VBox.prototype.appendView = function(view) {
+    var item = $('<div>').addClass('fnpjs-vbox-item').append(view);
+    this.dom.append(item);
+};
+
+return {VBox: VBox};
     
 });
\ No newline at end of file