Skip to content

Commit

Permalink
fix(iife): try reading global declaration (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
QiroNT committed Mar 26, 2022
1 parent 8dec705 commit bb39322
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/index.iife.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
}
return VueDemi
})(
this.VueDemi = this.VueDemi || {},
this.Vue,
this.VueCompositionAPI
this.VueDemi = this.VueDemi || (typeof VueDemi !== "undefined" ? VueDemi : {}),
this.Vue || (typeof Vue !== "undefined" ? Vue : undefined),
this.VueCompositionAPI || (typeof VueCompositionAPI !== "undefined" ? VueCompositionAPI : undefined)
);

0 comments on commit bb39322

Please sign in to comment.