X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/efe36f4f1b5df351eeb4d40a54c3900cf9a7079b..2e14f0181735b7acd0da023eb4c9524b75a45b56:/src/fnpjs/vbox.js?ds=sidebyside diff --git a/src/fnpjs/vbox.js b/src/fnpjs/vbox.js index dfb5a9f..f4ebb8f 100644 --- a/src/fnpjs/vbox.js +++ b/src/fnpjs/vbox.js @@ -1,13 +1,15 @@ define(['libs/jquery', './layout'], function($, layout) { - var VBox = function() {}; - - VBox.prototype = new layout.Layout('
'); - VBox.prototype.appendView = function(view) { - var item = $('
').addClass('fnpjs-vbox-item').append(view); - this.dom.append(item); - }; - - return {VBox: VBox}; +'use strict'; + +var VBox = function() {}; + +VBox.prototype = new layout.Layout('
'); +VBox.prototype.appendView = function(view) { + var item = $('
').addClass('fnpjs-vbox-item').append(view); + this.dom.append(item); +}; + +return {VBox: VBox}; }); \ No newline at end of file