Skip to content

Instantly share code, notes, and snippets.

@remixer-dec
Last active May 4, 2021 21:49
Show Gist options
  • Save remixer-dec/341c0b707aae918f4c45dc46e2fc527b to your computer and use it in GitHub Desktop.
Save remixer-dec/341c0b707aae918f4c45dc46e2fc527b to your computer and use it in GitHub Desktop.
SciterJS Vue3
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