Live data from Hacker News

Pickadate.js

github.com

51–60 of 130 posts

Re: Pickadate.js

#51
post #31
post #30

A javascript date picker? Is HN being very expertly trolled?

No. DatePickers, along with Forms, are the bane of my existence. More choices that are brought to light, the better.

There you go - this will make your life easier then:

http://dojotoolkit.org/reference-guide/1.8/dijit/form.html#d...

Re: Pickadate.js

#54
post #51
post #31

Earlier quoted context omitted.

No. DatePickers, along with Forms, are the bane of my existence. More choices that are brought to light, the better.

There you go - this will make your life easier then: http://dojotoolkit.org/reference-guide/1.8/dijit/form.html#d...

Too bulky in my opinion. I don't need 90 percent of the things in that sdk.

Re: Pickadate.js

#55
post #2

From the demos it appears that this doesn't have keyboard support. That seems like a major drawback from an accessibility standpoint. It does look nice and easy otherwise, though.

Fork, fix and contribute.

Re: Pickadate.js

#56

https://github.com/amsul/pickadate.js/blob/gh-pages/pickadat... the code is a giant var statement. I don't know why, but somehow that bothers me.

Yea, I'm not a fan of this pattern, it's a pain to step through with a debugger.

Re: Pickadate.js

#57
"Bind it like this: $( '.datepicker' ).datepicker()" - so the very first instruction is an incorrect reference to JavaScript 'binding' as something that extends or provides features to an element, vs what it truly does: change the scope reference of the 'this' keyword in a function. Oh jQuery, thank you for obscuring the actual JavaScript language for developers everywhere sigh

Re: Pickadate.js

#58
post #54
post #51

Earlier quoted context omitted.

There you go - this will make your life easier then: http://dojotoolkit.org/reference-guide/1.8/dijit/form.html#d...

Too bulky in my opinion. I don't need 90 percent of the things in that sdk.

so dont require them, you only use/build what you want. Its AMD and everything is nicely separated

Re: Pickadate.js

#59
post #54
post #51

Earlier quoted context omitted.

There you go - this will make your life easier then: http://dojotoolkit.org/reference-guide/1.8/dijit/form.html#d...

Too bulky in my opinion. I don't need 90 percent of the things in that sdk.

I should add, I also feel like these big frameworks have all the components and dont do a good job of each component. I rather use something that is by itself but the author is passionate about the widget and it is the best it can be.

Re: Pickadate.js

#60
>6k and a jQuery dependency? Dates aren't as hard as they used to be. I'm working on a pure-JS datepicker for modern browsers that will clock in at under 5k minified, with no dependencies. Take a look at my work so far here: https://github.com/potch/fortnight.js

(Edited to correct that the likely final minified size will be closer to 5k. Hoping to add accessibility features and localizability.)

Post reply on HN