|
|
@ -76,11 +76,11 @@ |
|
|
|
|
|
|
|
|
|
|
|
_.each(["mounted", "populate"], function (name) { |
|
|
|
_.each(["mounted", "populate"], function (name) { |
|
|
|
var old = BI.Widget.prototype[name]; |
|
|
|
var old = BI.Widget.prototype[name]; |
|
|
|
old && BI.Widget.prototype[name] = function () { |
|
|
|
old && (BI.Widget.prototype[name] = function () { |
|
|
|
this.store && pushTarget(this.store); |
|
|
|
this.store && pushTarget(this.store); |
|
|
|
return old.apply(this, arguments); |
|
|
|
return old.apply(this, arguments); |
|
|
|
this.store && popTarget(); |
|
|
|
this.store && popTarget(); |
|
|
|
}; |
|
|
|
}); |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
_.each(["each", "map", "reduce", "reduceRight", "find", "filter", "reject", "every", "all", "some", "any", "max", "min", |
|
|
|
_.each(["each", "map", "reduce", "reduceRight", "find", "filter", "reject", "every", "all", "some", "any", "max", "min", |
|
|
|