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

Function createMap

test/angular/1.5/angular.js:2031–2033  ·  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

2029 * @returns {Object}
2030 */
2031function createMap() {
2032 return Object.create(null);
2033}
2034
2035var NODE_TYPE_ELEMENT = 1;
2036var NODE_TYPE_ATTRIBUTE = 2;

Callers 13

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

Calls

no outgoing calls

Tested by

no test coverage detected