1 define(['libs/jquery-1.9.1.min', 'libs/underscore-min'], function($ ,_) {
\r
4 var Layout = function(template) {
\r
5 this.dom = $(_.template(template)());
\r
9 Layout.prototype.setView = function(place, view) {
\r
10 this.dom.find('[fnpjs-place=' + place + ']').append(view);
\r
13 Layout.prototype.getAsView = function() {
\r
17 return {Layout: Layout};
\r