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

Function assertNotHasOwnProperty

test/angular/1.5/angular.js:1963–1967  ·  view source on GitHub ↗

* throw error if the name given is hasOwnProperty * @param {String} name the name to test * @param {String} context the context in which the name is used, such as module or directive

(name, context)

Source from the content-addressed store, hash-verified

1961 * @param {String} context the context in which the name is used, such as module or directive
1962 */
1963function assertNotHasOwnProperty(name, context) {
1964 if (name === 'hasOwnProperty') {
1965 throw ngMinErr('badname', 'hasOwnProperty is not a valid {0} name', context);
1966 }
1967}
1968
1969/**
1970 * Return the value accessible from the object by path. Any undefined traversals are ignored

Callers 7

setupModuleLoaderFunction · 0.70
providerFunction · 0.70
constantFunction · 0.70
$CompileProviderFunction · 0.70
$ControllerProviderFunction · 0.70
FormControllerFunction · 0.70
angular.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected