fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove mismatched html tags
[fnpeditor.git]
/
src
/
fnpjs
/
layout.js
diff --git
a/src/fnpjs/layout.js
b/src/fnpjs/layout.js
index
68d4738
..
715d2d2
100644
(file)
--- a/
src/fnpjs/layout.js
+++ b/
src/fnpjs/layout.js
@@
-1,9
+1,9
@@
define(['libs/jquery', 'libs/underscore'], function($ ,_) {
'use strict';
define(['libs/jquery', 'libs/underscore'], function($ ,_) {
'use strict';
- var Layout = function(template) {
+ var Layout = function(template
, tutorial
) {
var layout = this;
var layout = this;
- this.dom = $(_.template(template)());
+ this.dom = $(_.template(template)(
{tutorial: tutorial}
));
this.views = {};
this.dom.onShow = function() {
this.views = {};
this.dom.onShow = function() {