Commit 91ec3826 authored by Sven Franck's avatar Sven Franck

fix: forgot to remove window.App form register module

parent 77cb7fbd
define([
'text!register.html!strip'
'app'
, 'text!register.html!strip'
, 'css!register'
],
function (source) {
function (App, source) {
var response = {};
response.data = source;
response.callback = function (self) {
if (window.App === undefined) {
if (App === undefined) {
def = new $.Deferred;
def.done(function(gadget) {
// prefix instance-ids, pass JSON
window.App.renderGadgets(gadget);
App.renderGadgets(gadget);
});
window.fallbackLoader.deferreds.push(def);
window.fallbackLoader.args.push(self);
} else {
// prefix instance-ids, pass JSON
window.App.renderGadgets(self);
App.renderGadgets(self);
}
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment