Skip to content

Commit

Permalink
use internal function
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirk Lüth committed Jan 20, 2017
1 parent 1db8803 commit 1e22093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/function/demand.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ global.demand = (function() {
singletonEvent.emit(EVENT_PRE_RESOLVE, NULL, dependencies, context);

for(; (uri = dependencies[i]); i++) {
if(typeof uri === 'string') {
if(validatorIsTypeOf(uri, STRING_STRING)) {
dependencies[i] = ClassDependency.resolve(uri, context).pledge;
} else {
dependencies[i] = (deferred = ClassPledge.defer()).pledge;
Expand Down

0 comments on commit 1e22093

Please sign in to comment.