Skip to content

Commit

Permalink
NEP-10455 upgrade react to 0.14
Browse files Browse the repository at this point in the history
  • Loading branch information
hanpeic committed Sep 16, 2020
1 parent 9e609d7 commit fd2b5f5
Show file tree
Hide file tree
Showing 5 changed files with 2,332 additions and 10,419 deletions.
35 changes: 27 additions & 8 deletions dist/react-filterbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -14157,6 +14157,24 @@ var runtime = (function (exports) {
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 @@ -14227,16 +14245,19 @@ var runtime = (function (exports) {
Generator.prototype = Object.create(IteratorPrototype);
GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
GeneratorFunctionPrototype.constructor = GeneratorFunction;
GeneratorFunctionPrototype[toStringTagSymbol] =
GeneratorFunction.displayName = "GeneratorFunction";
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 @@ -14255,9 +14276,7 @@ var runtime = (function (exports) {
Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
} else {
genFun.__proto__ = GeneratorFunctionPrototype;
if (!(toStringTagSymbol in genFun)) {
genFun[toStringTagSymbol] = "GeneratorFunction";
}
define(genFun, toStringTagSymbol, "GeneratorFunction");
}
genFun.prototype = Object.create(Gp);
return genFun;
Expand Down Expand Up @@ -14527,7 +14546,7 @@ var runtime = (function (exports) {
// unified ._invoke helper method.
defineIteratorMethods(Gp);

Gp[toStringTagSymbol] = "Generator";
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
Expand Down
12 changes: 6 additions & 6 deletions dist/react-filterbar.min.js

Large diffs are not rendered by default.

37 changes: 28 additions & 9 deletions example/public/js/react-filterbar.js

Large diffs are not rendered by default.

Loading

0 comments on commit fd2b5f5

Please sign in to comment.