Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
36263
function
parseLength(val) {
36264
var
intVal = toInt(val);
36265
return
isNumberNaN(intVal) ? -1 : intVal;
36266
}
36267
36268
if
(window.angular.bootstrap) {
36269
// AngularJS is already loaded, so we can return here...
Callers
1
angular.js
File · 0.85
Calls
1
toInt
Function · 0.70
Tested by
no test coverage detected