Skip to content
This repository has been archived by the owner on Oct 11, 2019. It is now read-only.

Commit

Permalink
allow "#%21" instead of "#!"
Browse files Browse the repository at this point in the history
  • Loading branch information
PetaByteBoy // Milan Pässler committed Nov 23, 2015
1 parent 5d060bd commit 5f6708c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ define(function () {
if (!s)
return false

if (!s.startsWith("#!"))
if (!(s.startsWith("#!") || s.startsWith("#%21")))
return false

var targetSet = false

s.slice(2).split(";").forEach(function (d) {
s.slice(s.startsWith("#!") ? 2 : 4).split(";").forEach(function (d) {
var args = d.split(":")

if (args[0] === "v" && args[1] in views) {
Expand Down

1 comment on commit 5f6708c

@rubo77
Copy link

@rubo77 rubo77 commented on 5f6708c Jan 14, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fix is indeed for https://github.com/plumpudding/meshviewer/issues/19, not for issue 19 in the main meshviewer fork

Please sign in to comment.