fix nc-class bug
This commit is contained in:
parent
cce1e020f5
commit
54a30c80bd
|
@ -172,7 +172,11 @@ Nuclear._mixObj = function (obj) {
|
|||
for (; j < cLen; j++) {
|
||||
var cNode = cNodes[j];
|
||||
var cAttr = cNode.getAttribute("nc-class");
|
||||
if (!this[cAttr]) this[cAttr] = [];
|
||||
this[cAttr] = [];
|
||||
}
|
||||
for (j = 0; j < cLen; j++) {
|
||||
var cNode = cNodes[j];
|
||||
var cAttr = cNode.getAttribute("nc-class");
|
||||
this[cAttr].push(cNode);
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -154,7 +154,11 @@ Nuclear._mixObj = function (obj) {
|
|||
for (; j < cLen; j++) {
|
||||
var cNode = cNodes[j];
|
||||
var cAttr = cNode.getAttribute("nc-class");
|
||||
if (!this[cAttr]) this[cAttr] = [];
|
||||
this[cAttr] = [];
|
||||
}
|
||||
for (j = 0; j < cLen; j++) {
|
||||
var cNode = cNodes[j];
|
||||
var cAttr = cNode.getAttribute("nc-class");
|
||||
this[cAttr].push(cNode);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue