Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed logic error due to reuse of variables

  • Loading branch information...
commit 5b969b948c52c47da5bb2231dc0e810c9a57d1d7 1 parent 3204941
@neonstalwart authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/compose.js
View
6 lib/compose.js
@@ -229,9 +229,9 @@ define([], function(){
if(result instanceof Constructor){
instance = result;
}else{
- for(var i in result){
- if(result.hasOwnProperty(i)){
- instance[i] = result[i];
+ for(var key in result){
+ if(result.hasOwnProperty(key)){
+ instance[key] = result[key];
}
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.