Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
RouteStore.prototype.rehydrate = function rehydrate (state) {
state.routes = transformer.jsonToFluxible(state.routes);
return FluxibleRouteStore.prototype.rehydrate.apply(this, arguments);
};
RouteStore.prototype.rehydrate = function rehydrate (state) {
state.routes = transformer.jsonToFluxible(state.routes);
return FluxibleRouteStore.prototype.rehydrate.apply(this, arguments);
};
RouteStore.prototype.dehydrate = function dehydrate () {
const state = FluxibleRouteStore.prototype.dehydrate.apply(this, arguments);
state.routes = transformer.fluxibleToJson(state.routes);
return state;
};
RouteStore.prototype.dehydrate = function dehydrate () {
var state = FluxibleRouteStore.prototype.dehydrate.apply(this, arguments);
state.routes = transformer.fluxibleToJson(state.routes);
return state;
};