diff options
author | Christian Schneider | 2008-04-04 14:35:19 +0000 |
---|---|---|
committer | Christian Schneider | 2008-04-04 14:35:19 +0000 |
commit | 29c1a0b0be0f67169958d1ae0917174d4a56f6d6 (patch) | |
tree | 196343775563a172ba5e63e3cb01dcd3fc2b84c5 /itjs | |
parent | 4a448100a65bac8d8fd4b1816227e5de5290f50d (diff) | |
download | itools-29c1a0b0be0f67169958d1ae0917174d4a56f6d6.tar.gz itools-29c1a0b0be0f67169958d1ae0917174d4a56f6d6.tar.bz2 itools-29c1a0b0be0f67169958d1ae0917174d4a56f6d6.zip |
Fix javascript strict warning
Diffstat (limited to 'itjs')
-rw-r--r-- | itjs/it.js | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -150,7 +150,10 @@ function it_set(dst, src) for (var i in src) { if (typeof src[i] == 'object') - it_set(dst[i], src[i]); + { + if (dst[i]) + it_set(dst[i], src[i]); + } else dst[i] = src[i]; } |