If you need routes with trailing slashes to be recognized you do for example Reference: http://stackoverflow.com/questions/9600390/backbone-js-route-optional-parameter
Random reading around JS today and I found this excellent resource that outlines typical patterns used in JS – definitely worth investigating & understanding. http://shichuan.github.io/javascript-patterns/
Project going ok so far.. handy tip today is abut using underscore’s where on a collection checking against multiple attributes. e.g. below: Also doing a good bit around routing and…
Have said it before and will say it again.. the people on StackOverflow are AWESOME! Got a REALLY useful overview of the Event Driven Approach and how it applies to…
Was doing some filtering on a collection and came across a problem where I wanted to have a variable as the key in ‘where’ but it wouldn’t take and I…
Quick but handy to know… when within a collections (and possibly views haven’t tried that yet) when you’re running a custom function as below on a click (checkit).. then you…