-
Notifications
You must be signed in to change notification settings - Fork 214
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
demo broken #21
Comments
Looks like this is the cause: Even stranger it seems to have come from here: https://github.com/younesherlock/Knwl.js/blob/cfebb166e2fdda7e5f15bc7a74935fcc9be637a4/knwl.js (Not pushed into the main yet but it is from pull request #20) |
This is very creepy. Regex is cool but using regex to replace all the readable source code is just insane. http://www.codinghorror.com/blog/2008/06/regular-expressions-now-you-have-two-problems.html
http://programmers.stackexchange.com/questions/113237/when-you-should-not-use-regular-expressions |
The thing is, That commit I ref'd is not even merged yet. It should not be on the site. |
Yes but that commit that is on the demo site is not in the repo, |
Oh ok. |
Sorry, I forgot to remove parentheses from the regex; it's from the RFC 3986 : http://tools.ietf.org/html/rfc3986#page-50 The regex should be like : However, I don't know why it caused the problem in the demo since it's hasn't been merged. |
Fixed demo, hopefully should work now! |
👍 works now, this issue can be closed |
It seems there are some issues with the demo?
I see only 2 errors in the console in Google Chrome and it does not work.
The text was updated successfully, but these errors were encountered: