abstract-state-router
Advanced tools
Comparing version 6.0.1 to 6.0.2
@@ -343,3 +343,5 @@ 'use strict'; | ||
var abstractStateRouter = function StateProvider(makeRenderer, rootElement, stateRouterOptions) { | ||
var abstractStateRouter = function StateProvider(makeRenderer, rootElement) { | ||
var stateRouterOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; | ||
var prototypalStateHolder = stateState(); | ||
@@ -346,0 +348,0 @@ var lastCompletelyLoadedState = currentState(); |
@@ -0,1 +1,5 @@ | ||
# [6.0.2](https://github.com/TehShrike/abstract-state-router/releases/tag/v6.0.2) | ||
- bug fix: fixed a crash that would happen if you didn't pass an options object in [3b60669b](https://github.com/TehShrike/abstract-state-router/commit/3b60669b03807ebded9ac4fecfbca0f46070c63d) | ||
# [6.0.1](https://github.com/TehShrike/abstract-state-router/releases/tag/v6.0.1) | ||
@@ -2,0 +6,0 @@ |
@@ -27,3 +27,3 @@ const StateState = require('./lib/state-state') | ||
module.exports = function StateProvider(makeRenderer, rootElement, stateRouterOptions) { | ||
module.exports = function StateProvider(makeRenderer, rootElement, stateRouterOptions = {}) { | ||
const prototypalStateHolder = StateState() | ||
@@ -30,0 +30,0 @@ const lastCompletelyLoadedState = CurrentState() |
{ | ||
"name": "abstract-state-router", | ||
"version": "6.0.1", | ||
"version": "6.0.2", | ||
"description": "Like ui-router, but without all the Angular. The best way to structure a single-page webapp.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1073184
14756