Skip to content

Commit 8fe2a9e

Browse files
committed
ok the ACTUAL last commit of the night i PROMISE this time (IE10)
1 parent 9b68949 commit 8fe2a9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

legacy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'use strict'
2-
/*@cc_on function _(){var e=new ActiveXObject("Scripting.Dictionary");return{set:function(n,t){e.Add(n,t)},get:function(n){return e.Item(n)},add:function(n){e.Add(n,"")},has:function(n){return e.Exists(n)},delete:function(n){e.Remove(n)}}}window.Map=window.Map||_;window.WeakMap=window.WeakMap||_;window.Set=window.Set|| _;@*/var globalThis=globalThis||window,reportError=reportError||function reportError(t){try{try{var e=new ErrorEvent('error',{message:t.message,error:t})}catch(_){e=document.createEvent('ErrorEvent')
2+
/*@cc_on function _(){var e=new ActiveXObject("Scripting.Dictionary");return{set:function(n,t){e.Add(n,t)},get:function(n){return e.Item(n)},add:function(n){e.Add(n,"")},has:function(n){return e.Exists(n)},delete:function(n){e.Exists(n)&&e.Remove(n)}}}window.Map=window.Map||_;window.WeakMap=window.WeakMap||_;window.Set=window.Set|| _;@*/var globalThis=globalThis||window,reportError=reportError||function reportError(t){try{try{var e=new ErrorEvent('error',{message:t.message,error:t})}catch(_){e=document.createEvent('ErrorEvent')
33
e.initEvent('error',!0,!0)}window.dispatchEvent(e)
44
e.defaultPrevented||console.error('[reportError]',String(t))}catch(o){console.warn(String(o))}}
55
Object.hasOwn=Object.hasOwn||hasOwnProperty.call.bind(hasOwnProperty)

0 commit comments

Comments
 (0)