Closed clmath closed 9 years ago
OK, but really this is an issue w/decor. decor/schedule should be updated to work in node. Actually, I thought it already did. @asudoh can you fix?
PS: I'm surprised to see this report because I thought the decor tests ran in Node.
Guessing @clmath is using node.js 0.8, where setImmediate()
is not available. Create a PR adding process.nextTick()
support to decor/schedule to cope with that. Also - setImmediate()
runs after painting, etc. stuffs happens, whereas end-of-microtask queue like process.nextTick()
and Mutation Observer callbacks runs before painting, etc. stuffs - Which means process.nextTick()
is much closer to Object.observe()
spec than setImmediate()
is.
Thanks @asudoh for your quick response. Following @wkeese suggestion I will open a new issue in decor to track the progress on this. You will find my answer to your comment there.
delite/handlebars
depends ondelite/Template
which depends ondelite/register
which depends ondecor/schedule
which is usingwindow
without checking if it exist first which prevent the build to loaddelite/handlebars
.This has happened before, see https://github.com/ibm-js/delite/issues/148 for more information.