kitsonk/dojo — comment on commit ba9465fcd1207b12a056a8f91ff76f27d976c6f9
File: parser.js line 68
By neonstalwart:

something doesn't seem right here... won't everything in `_ctorMap` already have an `__type` property? do you really need this 2nd line? if for some reason you do, then cache the result of `~type.indexOf('/')` from the first time you call it. i'm also skeptical about the need for the first `~type.indexOf('/')` check.