mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-03 06:18:44 +08:00
deploy: 50e0e3c70c
This commit is contained in:
commit
0cc78c2e59
480 files changed
+584024
No files matched your search
@@ -0,0 +1,10 @@
|
||||
function addEvent(element, eventName, fn) {
|
||||
if (element.addEventListener)
|
||||
element.addEventListener(eventName, fn, false);
|
||||
else if (element.attachEvent)
|
||||
element.attachEvent('on' + eventName, fn);
|
||||
}
|
||||
|
||||
addEvent(window, 'load', function() {
|
||||
twemoji.parse(document.body, {'folder': 'svg', 'ext': '.svg'});
|
||||
});
|
||||
Reference in new issue
Block a user