X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/0214643f72c6aaa8e85eaba2ad27f2ca03ca6401..efe36f4f1b5df351eeb4d40a54c3900cf9a7079b:/fnpjs/layout.js?ds=inline diff --git a/fnpjs/layout.js b/fnpjs/layout.js deleted file mode 100644 index a7c27fe..0000000 --- a/fnpjs/layout.js +++ /dev/null @@ -1,18 +0,0 @@ -define(['libs/jquery-1.9.1.min', 'libs/underscore-min'], function($ ,_) { - 'use strict'; - - var Layout = function(template) { - this.dom = $(_.template(template)()); - - }; - - Layout.prototype.setView = function(place, view) { - this.dom.find('[fnpjs-place=' + place + ']').append(view); - }; - - Layout.prototype.getAsView = function() { - return this.dom - }; - - return {Layout: Layout}; -}); \ No newline at end of file