Sunday, October 7, 2012

dojo promisse API

I have mentioned extraction of when in the last post. Good news go on and you should definitely check the new API In short, ugly and inflexible DeferredList is over. Start here: http://dojotoolkit.org/documentation/tutorials/1.8/promises/

Wednesday, May 16, 2012

dojo/when standalone module (get ready for 1.8, start now)

Finally on the 1.4.2012 dojo team extracted Deferred.when() function into separate module dojo/when. So it is the end of including Deferred if only when() is needed, and end of Deferred.when() ugly client code. Thank you. P.S: old dojo/_base/Deferred uses new dojo/when.js

Friday, April 13, 2012

QUIZ: JavaScript the Worst Parts ;-)

Every JS newcommer must love this language ;-))
Just and old collection, more is comming with anti-examples from "leading librares code";-))

Try to answer:

new Number(null)
new Number(undefined)
parseInt(null)
parseInt(undefined)
NaN instanceof Number
10 instanceof Number
Number(10) instanceof Number
typeof NaN
typeof 10
typeof new Number(10)
toString.call(NaN)
toString.call(10)
toString.call(Number(10))
NaN == NaN
NaN === NaN
NaN.toString
['a','b'][NaN]
if(NaN)

Sunday, March 25, 2012

ipad3 improvements

it is well known that apple has good sense for user experience but i will make my own wish list with improvements:

1. move " organize by thread" to mail application. currently in settings/mail it is quite impratical , and i switch a lot between plain view and organized view.

todo: continue with list

Wednesday, January 4, 2012