X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/efe36f4f1b5df351eeb4d40a54c3900cf9a7079b..2981e2d70a5e01cea54e6204e5690285a28e2d91:/src/fnpjs/vbox.js 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