|
|
@ -34,9 +34,6 @@ |
|
|
|
|
|
|
|
|
|
|
|
function popTarget () { |
|
|
|
function popTarget () { |
|
|
|
Fix.Model.target = target = targetStack.pop(); |
|
|
|
Fix.Model.target = target = targetStack.pop(); |
|
|
|
if (targetStack.length <= 0) { |
|
|
|
|
|
|
|
Fix.Model.target = target = null; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
var oldWatch = Fix.watch; |
|
|
|
var oldWatch = Fix.watch; |
|
|
@ -231,14 +228,14 @@ |
|
|
|
BI.defer(function () { |
|
|
|
BI.defer(function () { |
|
|
|
additionFunc(); |
|
|
|
additionFunc(); |
|
|
|
}, 200); |
|
|
|
}, 200); |
|
|
|
} |
|
|
|
}; |
|
|
|
var back = window.history.back; |
|
|
|
var back = window.history.back; |
|
|
|
window.history.back = function () { |
|
|
|
window.history.back = function () { |
|
|
|
back.apply(this, arguments); |
|
|
|
back.apply(this, arguments); |
|
|
|
BI.defer(function () { |
|
|
|
BI.defer(function () { |
|
|
|
additionFunc(); |
|
|
|
additionFunc(); |
|
|
|
}, 200); |
|
|
|
}, 200); |
|
|
|
} |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (BI.Router) { |
|
|
|
if (BI.Router) { |
|
|
@ -246,7 +243,7 @@ |
|
|
|
BI.Router.prototype.execute = function () { |
|
|
|
BI.Router.prototype.execute = function () { |
|
|
|
execute.apply(this, arguments); |
|
|
|
execute.apply(this, arguments); |
|
|
|
additionFunc(); |
|
|
|
additionFunc(); |
|
|
|
} |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
_.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", |
|
|
@ -325,7 +322,7 @@ |
|
|
|
} finally { |
|
|
|
} finally { |
|
|
|
return _.cloneDeep(obj); |
|
|
|
return _.cloneDeep(obj); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
Fix.del = function (obj, k) { |
|
|
|
Fix.del = function (obj, k) { |
|
|
|
try { |
|
|
|
try { |
|
|
|
delete obj[k]; |
|
|
|
delete obj[k]; |
|
|
@ -334,5 +331,5 @@ |
|
|
|
} finally { |
|
|
|
} finally { |
|
|
|
return _.cloneDeep(obj); |
|
|
|
return _.cloneDeep(obj); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}()); |
|
|
|
}()); |
|
|
|