#413 fix ctx.retain bug
This commit is contained in:
parent
780f52a4a6
commit
8cc4a862fe
2 changed files with 24 additions and 3 deletions
|
|
@ -274,7 +274,7 @@ var m = (function app(window, undefined) {
|
|||
}
|
||||
//schedule configs to be called. They are called after `build` finishes running
|
||||
if (typeof data.attrs["config"] === FUNCTION) {
|
||||
var context = cached.configContext = cached.configContext || {retain: m.redraw.strategy() == "diff"};
|
||||
var context = cached.configContext = cached.configContext || {retain: (m.redraw.strategy() == "diff") || undefined};
|
||||
|
||||
// bind
|
||||
var callback = function(data, args) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue