-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
umd.js
59 lines (48 loc) · 1.17 KB
/
umd.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('external')) :
typeof define === 'function' && define.amd ? define(['exports', 'external'], factory) :
(global = global || self, factory(global.stirred = {}, global.external));
}(this, (function (exports, external) { 'use strict';
var foo = 13;
const quux = 1;
const other = () => quux;
function baz() {
return foo + external.value;
}
var create = Object.create,
getPrototypeOf = Object.getPrototypeOf;
function unusedButIncluded() {
const unusedConst = 'unused';
if (true) {
true ? 'first' : 'second';
} else {
(true && 'first') || 'second';
}
'sequence', 'expression';
switch ('test') {
case 'test':
(() => {})();
case 'other':
'no effect';
default:
const ignored = 2;
}
}
function test(
unusedParam = {
prop: function test() {
var unused = 1;
}
}
) {}
test({
prop: function test() {
var unused = 1;
}
});
exports.create = create;
exports.getPrototypeOf = getPrototypeOf;
exports.quux = quux;
exports.strange = quux;
Object.defineProperty(exports, '__esModule', { value: true });
})));