Permalink
Browse files

array cloning fix

  • Loading branch information...
1 parent 7acb7a0 commit d50da89a0a1a84a57cd1c3c9042f9d534f166545 @ohjames committed Jul 1, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/cc/extend.coffee
  2. +1 −1 package.json
View
@@ -20,7 +20,7 @@ cc.module('cc.extend').defines ->
if obj instanceof Array
retObj = []
retObj.length = obj.length
- retObj[i] = cc.clone obj[i] for i in obj
+ retObj[i] = cc.clone val for val, i in obj
retObj
else
retObj = {}
View
@@ -6,7 +6,7 @@
"email": "npm@chilon.net",
"web": "http://chilon.net"
},
- "version": "0.13.0",
+ "version": "0.14.0",
"dependencies": {
"coffee-script": "1.3.3",
"cc.ake": "0.5.0",

0 comments on commit d50da89

Please sign in to comment.