mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-21 18:42:31 +08:00
perf($parse): use no-proto maps as caches and avoid hasOwnProperty checks
This commit is contained in:
@@ -83,6 +83,7 @@
|
||||
"assertNotHasOwnProperty": false,
|
||||
"getter": false,
|
||||
"getBlockElements": false,
|
||||
"createMap": false,
|
||||
"VALIDITY_STATE_PROPERTY": true,
|
||||
|
||||
/* AngularPublic.js */
|
||||
|
||||
@@ -5,7 +5,7 @@ describe('parser', function() {
|
||||
beforeEach(function() {
|
||||
/* global getterFnCache: true */
|
||||
// clear cache
|
||||
getterFnCache = {};
|
||||
getterFnCache = createMap();
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user