Last active
May 4, 2021 21:49
-
-
Save remixer-dec/341c0b707aae918f4c45dc46e2fc527b to your computer and use it in GitHub Desktop.
SciterJS Vue3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Element.prototype.createEvent = function(name, ...params) { | |
return new CustomEvent(name, ...params) | |
} | |
console.info = function(...args) { | |
console.log(...args) | |
} | |
//this is just a placeholder | |
class SVGElement { | |
constructor(...args) { | |
return new Element('svg', ...args) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment