|
|
@@ -386,7 +386,7 @@
|
|
|
})(Quo);
|
|
|
|
|
|
}).call(this);
|
|
|
-// Generated by CoffeeScript 1.3.1
|
|
|
+// Generated by CoffeeScript 1.3.3
|
|
|
|
|
|
/*
|
|
|
QuoJS 2.1
|
|
|
@@ -411,9 +411,14 @@
|
|
|
$$.fn.html = function(value) {
|
|
|
var type;
|
|
|
type = $$.toType(value);
|
|
|
- if (type === "string" || type === "number") {
|
|
|
+ if (value) {
|
|
|
return this.each(function() {
|
|
|
- return this.innerHTML = value;
|
|
|
+ if (type === "string" || type === "number") {
|
|
|
+ return this.innerHTML = value;
|
|
|
+ } else {
|
|
|
+ this.innerHTML = null;
|
|
|
+ return this.appendChild(value);
|
|
|
+ }
|
|
|
});
|
|
|
} else {
|
|
|
return this[0].innerHTML;
|