diff --git a/demo/app.js b/demo/app.js index a86510ed7..5bc38b985 100644 --- a/demo/app.js +++ b/demo/app.js @@ -37,7 +37,7 @@ BI.$(function () { }, { type: "bi.router_view", deps: 1, - height: 100, + height: 100 }, { type: "bi.router_view", name: 'home', @@ -52,13 +52,13 @@ BI.$(function () { return Promise.resolve({ type: "bi.label", text: 'default' - }) + }); }, home: function () { return Promise.resolve({ type: "bi.label", text: 'home' - }) + }); }, } }, { @@ -68,7 +68,7 @@ BI.$(function () { return Promise.resolve({ type: "bi.label", text: 'dashboard' - }) + }); } }, { name: 'tables', @@ -77,7 +77,7 @@ BI.$(function () { return Promise.resolve({ type: "bi.label", text: 'tables' - }) + }); } }] }]; diff --git a/dist/router.js b/dist/router.js index 36af78750..2bae8c829 100644 --- a/dist/router.js +++ b/dist/router.js @@ -3148,7 +3148,7 @@ BI.RouterView = BI.inherit(BI.Widget, { props: { deps: 0, - name: 'default', + name: 'default' }, created: function () { var self = this, o = this.options;