Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
qstufie committed Feb 28, 2016
1 parent 5f767e8 commit 24a2a27
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/simple.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ var z = {};
* @param {object} [config={}] | note: this is the system config
* @returns {SimpleApp}
*/
var SimpleApp = function (name, config) {
w.SimpleApp = function (name, config) {
if (!z[name]) z[name] = new app(name, config);
return z[name];
};
Expand Down
4 changes: 3 additions & 1 deletion dist/simple.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,6 @@ if(k){var w=new s(r,k.parentNode)
return w.right(),!1}}if(!e&&this.cnf.partialRender===!0&&r){var C=this.node(t),D=null
if(C)return D=new s(r),D.replace(C),!1}return r},this.init=function(t,e){t&&(this.container=t),this.load(),e!==!1&&(this._f("sta"),this.render(),this._f("fin"))},this.toQuerystring=function(){var t=[]
for(var e in this.state){var i=this.state[e]
i&&t.push(e+"="+i)}return t.join("&")},this.d=function(t,e){return e?"object"==typeof this.data[t].element&&this.data[t].element[e]?this.data[t].element[e]:void 0:this.data[t]}},"undefined"!=typeof exports&&(exports.SimpleApp=i.SimpleApp)}(this)
i&&t.push(e+"="+i)}return t.join("&")},this.d=function(t,e){return e?"object"==typeof this.data[t].element&&this.data[t].element[e]?this.data[t].element[e]:void 0:this.data[t]}}
var o={}
i.SimpleApp=function(t,e){return o[t]||(o[t]=new r(t,e)),o[t]},"undefined"!=typeof exports&&(exports.SimpleApp=i.SimpleApp)}(this)
2 changes: 1 addition & 1 deletion src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ var z = {};
* @param {object} [config={}] | note: this is the system config
* @returns {SimpleApp}
*/
var SimpleApp = function (name, config) {
w.SimpleApp = function (name, config) {
if (!z[name]) z[name] = new app(name, config);
return z[name];
};
Expand Down

0 comments on commit 24a2a27

Please sign in to comment.