Merge remote-tracking branch 'upstream/master'

print-window-tiddler
Bram Chen 2014-02-22 00:01:41 +08:00
commit 34a7fc6084
1 zmienionych plików z 9 dodań i 0 usunięć
core/modules/utils

Wyświetl plik

@ -105,6 +105,15 @@ Object.defineProperty(TW_Element.prototype, "className", {
}
});
Object.defineProperty(TW_Element.prototype, "value", {
get: function() {
return this.attributes["value"] || "";
},
set: function(value) {
this.attributes["value"] = value;
}
});
Object.defineProperty(TW_Element.prototype, "outerHTML", {
get: function() {
var output = [],attr,a,v;