X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/efe36f4f1b5df351eeb4d40a54c3900cf9a7079b..67d6154ac9435fdd768b545aca1f3c05b75f46ed:/src/fnpjs/vbox.js?ds=inline 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