Re:Frameworkless JavaScript
by WiseWeasel on Thursday January 09, 2014 @09:59PM
(#7034834)
Why not have a hashchange listener going to a hash-parsing router function, and make #some-id an anchor to a hash link with slash-separated parameters, or just use Backbone's router to handle your request? Then you don't need to keep track of a bunch of element id references.
[ Parent
| on HN ]
There are no comments on this comment yet.