@websdk/rhumb
Advanced tools
Comparing version 0.3.6 to 0.3.7
@@ -1,6 +0,6 @@ | ||
"use strict"; | ||
'use strict'; | ||
(function (global, factory) { | ||
if (typeof define === "function" && define.amd) { | ||
define(["module"], factory); | ||
define(['module'], factory); | ||
} else if (typeof exports !== "undefined") { | ||
@@ -45,5 +45,5 @@ factory(module); | ||
if (node.var) { | ||
params[node.var.name] = part; | ||
return find(remaining, node.var); | ||
if (node['var']) { | ||
params[node['var'].name] = part; | ||
return find(remaining, node['var']); | ||
} | ||
@@ -93,5 +93,5 @@ | ||
} else if (part.type == "var") { | ||
if (node.var) { | ||
if (node.var.name == part.input) { | ||
peek = node.var; | ||
if (node['var']) { | ||
if (node['var'].name == part.input) { | ||
peek = node['var']; | ||
} else { | ||
@@ -101,3 +101,3 @@ throw new Error("Ambiguity"); | ||
} else { | ||
peek = node.var = { | ||
peek = node['var'] = { | ||
name: part.input | ||
@@ -104,0 +104,0 @@ }; |
{ | ||
"name": "@websdk/rhumb", | ||
"version": "0.3.6", | ||
"version": "0.3.7", | ||
"description": "URL routing in js", | ||
@@ -5,0 +5,0 @@ "main": "lib/rhumb.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
15628