Skip to content

Commit fe37495

Browse files
committed
2.0.1
1 parent 901aacf commit fe37495

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

dist/danmaku.canvas.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(function (global, factory) {
22
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
33
typeof define === 'function' && define.amd ? define(factory) :
4-
(global = global || self, global.Danmaku = factory());
4+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.Danmaku = factory());
55
}(this, (function () { 'use strict';
66

77
var transform = (function() {

dist/danmaku.canvas.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/danmaku.dom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(function (global, factory) {
22
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
33
typeof define === 'function' && define.amd ? define(factory) :
4-
(global = global || self, global.Danmaku = factory());
4+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.Danmaku = factory());
55
}(this, (function () { 'use strict';
66

77
var transform = (function() {

dist/danmaku.dom.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/danmaku.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(function (global, factory) {
22
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
33
typeof define === 'function' && define.amd ? define(factory) :
4-
(global = global || self, global.Danmaku = factory());
4+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.Danmaku = factory());
55
}(this, (function () { 'use strict';
66

77
var transform = (function() {

0 commit comments

Comments
 (0)