MCPcopy Index your code
hub / github.com/angular-ui/ui-router / createMap

Function createMap

test/angular/1.3/angular.js:1676–1678  ·  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

1674 * @returns {Object}
1675 */
1676function createMap() {
1677 return Object.create(null);
1678}
1679
1680var NODE_TYPE_ELEMENT = 1;
1681var NODE_TYPE_ATTRIBUTE = 2;

Callers 5

resolveElementClassesFunction · 0.70
$CompileProviderFunction · 0.70
parseHeadersFunction · 0.70
angular.jsFile · 0.70
$ParseProviderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected