wip: context transformation - return original context instance during first run
[fnpeditor.git] / src / fnpjs / vbox.js
1 define(['libs/jquery', './layout'], function($, layout) {
2     
3 'use strict';
4
5 var VBox = function() {};
6
7 VBox.prototype = new layout.Layout('<div class="fnpjs-vbox"></div>');
8 VBox.prototype.appendView = function(view) {
9     var item = $('<div>').addClass('fnpjs-vbox-item').append(view);
10     this.dom.append(item);
11 };
12
13 return {VBox: VBox};
14     
15 });