Alex Wilson

Results 10 comments of Alex Wilson

Would you guess based only on the first row?

One major problem I see with detecting the type is the fact that booleans are integers. The only way to tell them apart is if there is an empty entry....

If the author wants to switch to using true/false then it's very possible to guess types. @archan937 : Would you be willing to switch to true/false?

If they do decide to switch to true/false here's a quick function I wrote up to test data types: ``` javascript var r_not_num=/\D/, r_float=/\d*.\d+/ function type(str,t,x,l,ty){ if(~str.indexOf(",")){ l=(str=str.split(",")).length; for(x=0;x

I think stuff like the subject selector and case-sensititivity would be best done in the main file, but I think implementing various pseudo selectors wouldn't be too hard. I'd be...

I think the `:column` pseudoclasses would be good for a plugin because, while useful, they don't seem like something one would use very often (plus- as you mentioned- it'd be...

I think that if `:column` is to be implemented, it should be a low priority and a plugin. I think it's more important that everything else is as optimized and...

``` javascript key("g",key.when({ 'h':function(){ console.log("Home"); }, 's':key.when("i",function(){ console.log("Settings -> Issues") },function(){ console.log("Settings"); }) })) ``` Where key.when returns a function that binds the even to the given key(s) and unbinds...

A quick draft of how my idea would work as a plug-in (it will likely fail when scoping is used) ``` javascript (function(keymaster){ keymaster.when=function(key, fn, callback, timeout){ timeout||(timeout = 1000)...

To me it looks as if the "open" class being added makes it test positive for the second handler and that executes.