Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minified version produces wrong route #38

Closed
sventschui opened this issue May 9, 2014 · 1 comment
Closed

Minified version produces wrong route #38

sventschui opened this issue May 9, 2014 · 1 comment

Comments

@sventschui
Copy link

Hi

Affected Version: Bower 0.4.2

Case: Add a subrouter (prefix "", routes "" and "foo")

Expectation: Routes / and /foo are catched

Result: Using the minified version the regex in Backbone.history.handlers is /^/foo(?:?([\s\S]*))?$/ therefore /foo is NOT catched. Using the non minified version everything works like a charm.

Can you fix this?

Regards
Sven

@geekdave
Copy link
Contributor

geekdave commented May 9, 2014

Oops... the dist file had not been recompiled. Please use 0.4.3 which fixes this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants