polyfills/db — pull request #8 by cncolder (2014-09-19 11:50:05+00:00)
Title: put objectobserve above setimmediate

objectobserve need native setImmediate for performance.

in my browser (safari 7.0.6 / osx 10.9.4). setimmediate use post message simulate delay callback.
objectobserve doesn't know this setImmediate method is fake and abuse it in looping.
put objectobserve above setimmediate. make objectobserve use setTimeout(10) in ?old? browser.

which browser support setImmediate? i even cannot find a browser to test it.
maybe objectobserve need a way to test if setImmediate is native.