fix missing argument in Ox..text()

This commit is contained in:
rolux 2014-08-05 02:27:34 +02:00
parent 78e285bb12
commit 00b2bafbbd

View file

@ -455,7 +455,7 @@ Ox.$ = Ox.element = function(value) {
(text) -> <o> This element
text <s> The text contents
@*/
text: function() {
text: function(string) {
var ret;
if (arguments.length == 0) {
ret = Ox.isString(this.textContent)