D
D
desuvin2015-01-08 14:34:37
JavaScript
desuvin, 2015-01-08 14:34:37

Where can I find an analogue of the backbone router?

Lightweight javascript routing is required as in backbone or here https://github.com/camme/jquery-router-plugin such an opportunity, in others I did not find.


Answer the question

In order to leave comments, you need to log in

5 answer(s)
P
Pavel Elizariev, 2015-01-08
@desuvin

For smaller projects, I use the 6K Sammy framework . I recommend it because of the excellent router.

A
aen, 2015-01-08
@aen

visionmedia.github.io/page.js

K
Konstantin Kitmanov, 2015-01-08
@k12th

And why not just pull the right thing out of the backbone? He's not so nailed down there.

R
Roman Yamchuk, 2017-06-15
@Flashter

Maybe your variable is a number and not a string5aa6e3fea7264486b0bb0ec3647c8694.png

R
Rsa97, 2017-06-15
@Rsa97

Works in Firefox

>> s = ['1234567'];
Array [ "1234567" ]
>> s[0] = s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g, ',');
"1,234,567"

Check if there are extra symbols somewhere.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question