Merge remote-tracking branch 'origin/next' into components

This commit is contained in:
Leo Horie 2015-03-13 22:55:02 -04:00
commit 9a9f0bd08e
2 changed files with 24 additions and 3 deletions

View file

@ -299,7 +299,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) {