cycle-routing-driver
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -223,4 +223,5 @@ "use strict"; | ||
var stack = []; | ||
var routes = []; | ||
var stack = []; | ||
var base = indentedRoutes[0].indent; | ||
indentedRoutes.forEach(function (current) { | ||
@@ -242,3 +243,3 @@ if (stack.length == 0) { | ||
if (prev.indent > current.indent) { | ||
stack = stack.slice(0, prev.indent - current.indent - 1); | ||
stack = stack.slice(0, prev.indent - current.indent - base); | ||
} | ||
@@ -245,0 +246,0 @@ |
{ | ||
"name": "cycle-routing-driver", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "A bare-bones router for simple frontend routing in CycleJS", | ||
@@ -5,0 +5,0 @@ "main": "dist/routing-driver.js", |
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
26578
317