diff options
| author | Misko Hevery | 2010-08-13 09:50:03 -0700 | 
|---|---|---|
| committer | Misko Hevery | 2010-08-13 09:50:03 -0700 | 
| commit | 5c14a35e6210fb8500456b3b4ca026cfeb889776 (patch) | |
| tree | dadd3a95413f72fb6b15728785fcc0769e9569b7 /src/Scope.js | |
| parent | 0bd7e4fe75bc02fa1cf67a0c66255db35bfbfe8f (diff) | |
| download | angular.js-5c14a35e6210fb8500456b3b4ca026cfeb889776.tar.bz2 | |
initial perf testing
Diffstat (limited to 'src/Scope.js')
| -rw-r--r-- | src/Scope.js | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/Scope.js b/src/Scope.js index 30e56915..27fafc3a 100644 --- a/src/Scope.js +++ b/src/Scope.js @@ -76,7 +76,7 @@ function getterFn(path){        code += '    type = angular.Global.typeOf(last);\n';        code += '    fn = (angular[type.charAt(0).toUpperCase() + type.substring(1)]||{})["' + name + '"];\n';        code += '    if (fn)\n'; -      code += '      self = function(){ return fn.apply(last, [last].concat(slice.call(arguments, 0, arguments.length))); };\n'; +      code += '      self = function(){ return fn.apply(last, [last].concat(Array.prototype.slice.call(arguments, 0, arguments.length))); };\n';        code += '  }\n';      }    }); | 
