Merge pull request #9 from scud43/master

el undefined in extension objects fix
This commit is contained in:
Timothy Warren 2011-07-19 18:07:01 -07:00
commit d75001d5bd
1 changed files with 10 additions and 3 deletions

7
kis.js
View File

@ -69,6 +69,13 @@
// Make a copy before adding properties
var self = dcopy($_);
// Give sel to each extension.
for(var i in self)
{
if(typeof self[i] === "object")
self[i].el = sel;
}
self.el = sel;
return self;