MCPcopy
hub / github.com/angular-ui/ui-router / createMap

Function createMap

test/angular/1.4/angular.js:1920–1922  ·  view source on GitHub ↗

* Creates a new object without a prototype. This object is useful for lookup without having to * guard against prototypically inherited properties via hasOwnProperty. * * Related micro-benchmarks: * - http://jsperf.com/object-create2 * - http://jsperf.com/proto-map-lookup/2 * - http://jsperf.c

()

Source from the content-addressed store, hash-verified

1918 * @returns {Object}
1919 */
1920function createMap() {
1921 return Object.create(null);
1922}
1923
1924var NODE_TYPE_ELEMENT = 1;
1925var NODE_TYPE_ATTRIBUTE = 2;

Callers 12

equalsFunction · 0.70
splitClassesFunction · 0.70
cacheFactoryFunction · 0.70
$CompileProviderFunction · 0.70
parseIsolateBindingsFunction · 0.70
applyDirectivesToNodeFunction · 0.70
setupControllersFunction · 0.70
parseHeadersFunction · 0.70
angular.jsFile · 0.70
$ParseProviderFunction · 0.70
digestClassCountsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected