Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
/***
* Copyright (c) 2015, 2016 Alex Grant (@localnerve), LocalNerve LLC
* Copyrights licensed under the BSD License. See the accompanying LICENSE file for terms.
*
* Extend the fluxible route store so routes can have action functions.
* Just de/rehydate the functions.
*/
'use strict';
var FluxibleRouteStore = require('fluxible-router').RouteStore;
var inherits = require('inherits');
var transformer = require('../utils').createFluxibleRouteTransformer({
actions: require('../actions/interface')
});
/**
* Creates a RouteStore.
*
* @class
*/
function RouteStore () {
FluxibleRouteStore.apply(this, arguments);
}
inherits(RouteStore, FluxibleRouteStore);