Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : The routing component doesnt seem to work for me

$
0
0
JS properties don't have - in them 

Sent from my iPhone

On Jan 4, 2015, at 5:32 AM, JavaScriptMVC Forum <noreply@zohodiscussions.com> wrote:

JavaScriptMVC Forum

Hi Justin Meyer,

     richard.udo has responded to "The routing component doesnt work...."

So it looks like its the "-" causing the route not to work....
from the source i can see the regex used to match parameter names is as follows >>> :([\w\.]+)
is there any reason it's not >>> :([\w\.\-]+)   .... ?



Now, you can also post your response to this by simply replying to this email! Your response will automatically appear on the forum.

You are receiving this email because you are watching the CanJS forum in javascriptmvc. If you do not wish to receive this e-mail notifications in the future, unwatch the CanJS forum here.This e-mail is generated from Zoho service. If you think this is SPAM, please do report to us and we will take immediate action on this. Report spam to abuse@zoho.com Contact us: Zoho, 4900 Hopyard Rd., Suite 310 ,Pleasanton, CA 94588, USA www.zoho.com


Viewing all articles
Browse latest Browse all 3491

Trending Articles