Skip to content

Commit

Permalink
fix: change global to this (#265)
Browse files Browse the repository at this point in the history
Co-authored-by: dengyongchi <[email protected]>
Co-authored-by: Anthony Fu <[email protected]>
  • Loading branch information
3 people authored Jul 25, 2024
1 parent bf46f2d commit ed994de
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/index.iife.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
var _VueDemiGlobal = typeof globalThis !== 'undefined' ? globalThis : global || self; // from umd
var _VueDemiGlobal = typeof globalThis !== 'undefined'
? globalThis
: typeof global !== 'undefined'
? global
: typeof self !== 'undefined'
? self
: this
var VueDemi = (function (VueDemi, Vue, VueCompositionAPI) {
if (VueDemi.install) {
return VueDemi
Expand Down

0 comments on commit ed994de

Please sign in to comment.