prototype: Minor clean-up of selector.js. Closes #10844.
This commit is contained in:
parent
c7e0a3d93c
commit
359e8810de
|
@ -1,3 +1,5 @@
|
|||
* Minor clean-up of selector.js. Closes #10844. [RQuadling]
|
||||
|
||||
* Make String#unescapeHTML strip tags in IE. Closes #10173. [kangax]
|
||||
|
||||
* Stop form observers in unit tests. Closes #10938. [kangax]
|
||||
|
|
|
@ -47,7 +47,7 @@ var Selector = Class.create({
|
|||
p = ps[i];
|
||||
if (m = e.match(p)) {
|
||||
this.matcher.push(Object.isFunction(c[i]) ? c[i](m) :
|
||||
new Template(c[i]).evaluate(m));
|
||||
new Template(c[i]).evaluate(m));
|
||||
e = e.replace(m[0], '');
|
||||
break;
|
||||
}
|
||||
|
@ -386,7 +386,7 @@ Object.extend(Selector, {
|
|||
|
||||
nextElementSibling: function(node) {
|
||||
while (node = node.nextSibling)
|
||||
if (node.nodeType == 1) return node;
|
||||
if (node.nodeType == 1) return node;
|
||||
return null;
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue