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

Function parseLength

test/angular/1.7/angular.js:36263–36266  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

36261}
36262
36263function parseLength(val) {
36264 var intVal = toInt(val);
36265 return isNumberNaN(intVal) ? -1 : intVal;
36266}
36267
36268if (window.angular.bootstrap) {
36269 // AngularJS is already loaded, so we can return here...

Callers 1

angular.jsFile · 0.85

Calls 1

toIntFunction · 0.70

Tested by

no test coverage detected