text() appears broken in 0.6.1
alltom opened this issue · 0 comments
alltom commented
<span class="poop">Howdy!</span>
<script src="cjs.js"></script>
<script>
var color = cjs("blue");
var text = cjs("Good bye!");
var poops = cjs.$(".poop");
poops.css("color", color);
poops.text(color);
</script>
Expected: blue text saying "Good bye!"
Actual: blue text saying "Howdy!" and an uncaught exception