Skip to content

Commit

Permalink
hot fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Nov 24, 2011
1 parent bccadf2 commit e8c8f4b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/jquip.all.js
Expand Up @@ -325,7 +325,7 @@ window.jquip = window.$ = (function ()
? ((el = (ctx || doc).getElementById(arg)) ? [el] : emptyArr)
: slice.call(firstChar == "."
? ctx.getElementsByClassName(arg)
: ctx.getElementsByTagName(arg))
: ctx.getElementsByTagName(sel))
);
} catch(e){}
}
Expand Down
2 changes: 1 addition & 1 deletion dist/jquip.all.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/jquip.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/jquip.js
Expand Up @@ -325,7 +325,7 @@ window.jquip = window.$ = (function ()
? ((el = (ctx || doc).getElementById(arg)) ? [el] : emptyArr)
: slice.call(firstChar == "."
? ctx.getElementsByClassName(arg)
: ctx.getElementsByTagName(arg))
: ctx.getElementsByTagName(sel))
);
} catch(e){}
}
Expand Down
2 changes: 2 additions & 0 deletions test/_find.html
Expand Up @@ -26,6 +26,7 @@ <h1>Find tests</h1>
<input name="a" value="b" id="in3" class="d" />
<input name="b" value="b" id="in4" class="d" />
<i id="i10" class="b c d e f g">i10</i>
<textarea id="t1"></textarea>


<script type="text/javascript" src="../src/jquip.js"></script>
Expand Down Expand Up @@ -58,6 +59,7 @@ <h1>Find tests</h1>
test("form#f1.a input[name='a']", "in1,in2");
test("form#f1.a .n .d", "i8,i9");
test("#f1.a .n .d", "i8,i9");
test("textarea", "t1");

</script>
</body>
Expand Down

0 comments on commit e8c8f4b

Please sign in to comment.