Skip to content

Commit

Permalink
rebuild js
Browse files Browse the repository at this point in the history
  • Loading branch information
daisuke201 committed Sep 28, 2020
1 parent 94e08b7 commit f7fb363
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 10 deletions.
32 changes: 24 additions & 8 deletions _deploy/public/mapray-js/v0.8.3/mapray.js
Original file line number Diff line number Diff line change
Expand Up @@ -21704,6 +21704,25 @@ var runtime_1 = createCommonjsModule(function (module) {
var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";

function define(obj, key, value) {
Object.defineProperty(obj, key, {
value: value,
enumerable: true,
configurable: true,
writable: true
});
return obj[key];
}

try {
// IE 8 has a broken Object.defineProperty that only works on DOM objects.
define({}, "");
} catch (err) {
define = function (obj, key, value) {
return obj[key] = value;
};
}

function wrap(innerFn, outerFn, self, tryLocsList) {
// If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
Expand Down Expand Up @@ -21777,14 +21796,14 @@ var runtime_1 = createCommonjsModule(function (module) {
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
GeneratorFunctionPrototype.constructor = GeneratorFunction;
GeneratorFunctionPrototype[toStringTagSymbol] = GeneratorFunction.displayName = "GeneratorFunction"; // Helper for defining the .next, .throw, and .return methods of the
GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"); // Helper for defining the .next, .throw, and .return methods of the
// Iterator interface in terms of a single ._invoke method.

function defineIteratorMethods(prototype) {
["next", "throw", "return"].forEach(function (method) {
prototype[method] = function (arg) {
define(prototype, method, function (arg) {
return this._invoke(method, arg);
};
});
});
}

Expand All @@ -21800,10 +21819,7 @@ var runtime_1 = createCommonjsModule(function (module) {
Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
} else {
genFun.__proto__ = GeneratorFunctionPrototype;

if (!(toStringTagSymbol in genFun)) {
genFun[toStringTagSymbol] = "GeneratorFunction";
}
define(genFun, toStringTagSymbol, "GeneratorFunction");
}

genFun.prototype = Object.create(Gp);
Expand Down Expand Up @@ -22059,7 +22075,7 @@ var runtime_1 = createCommonjsModule(function (module) {


defineIteratorMethods(Gp);
Gp[toStringTagSymbol] = "Generator"; // A Generator should always return itself as the iterator object when the
define(Gp, toStringTagSymbol, "Generator"); // A Generator should always return itself as the iterator object when the
// @@iterator function is called on it. Some browsers' implementations of the
// iterator prototype chain incorrectly implement this, causing the Generator
// object to not be returned from this call. This ensures that doesn't happen.
Expand Down
2 changes: 1 addition & 1 deletion _deploy/public/mapray-js/v0.8.3/mapray.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _deploy/public/mapray-js/v0.8.3/mapray.min.js

Large diffs are not rendered by default.

0 comments on commit f7fb363

Please sign in to comment.