mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-08 17:10:06 +08:00
added buzz demo, fix undefined() -> undefined
This commit is contained in:
@@ -602,6 +602,8 @@ Parser.prototype = {
|
||||
var fnPtr = fn(self);
|
||||
if (typeof fnPtr === 'function') {
|
||||
return fnPtr.apply(self, args);
|
||||
} else if (fnPtr === undefined) {
|
||||
return fnPtr;
|
||||
} else {
|
||||
throw "Expression '" + fn.isAssignable + "' is not a function.";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user