Merge pull request #15 from Validark/patch-3
Add support for tagName property
This commit is contained in:
commit
1b44f090e5
@ -24,6 +24,13 @@ function SVGCanvasElement(options) {
|
||||
}
|
||||
});
|
||||
|
||||
Object.defineProperty(this, 'tagName', {
|
||||
get: function() {
|
||||
return "CANVAS";
|
||||
},
|
||||
set: function() {} // no-op
|
||||
});
|
||||
|
||||
["width", "height"].forEach(function(prop) {
|
||||
Object.defineProperty(_this, prop, {
|
||||
get: function() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user