On Sat, Sep 27, 2014 at 11:43 PM, Joe Mistachkin <sql...@mistachkin.com> wrote:
> Works great. I made a couple style tweaks, including adding some CSS and > moving the new elements out one level. I'm not sure if my CSS is the best > choice, please feel free to enhance the styling. > Looks good to me, but bit of trivia here: @ for(var i = 0; i < inputs.length; i++){ @ var e = inputs[i]; In JS there are only 2 scopes: global and local function scope, so that (var e) behaves as if it's declared outside of the for loop, whether or not it really is. Kinda silly, i know. Sidenote: i'm curious why most people prefer postscript addition, when prefix is "never slower and sometimes faster." (Not that it matters one iota for a case like this, it just seems to be very deeply embedded in most people i know.) -- ----- stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal "Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users