incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian LeRoux...@brian.io>
Subject Re: using existing AMD implementations with cordova.js
Date Wed, 22 Feb 2012 18:46:15 GMT
> - our require.js adds a "define.remove()" function which no one else
> implements.  I'm happy with that, but we should probably make the tests
> sensitive to it - only do the "remove" tests if "define.remove()" is present

+1

> - issues w/almond and requirejs not throwing exceptions when modules are
> multiply defined or missing for require().  I've noted this issue with
> almond before, and there's an open bug at almond for it.  Seems like
> requirejs is also not doing this.  For this reason alone, I'd recommend
> folks not use almond or requirejs as difficult-to-diagnose failures will
> occur if, for some reason, a required module is absent.


So we *can* support alternate loaders but we'd recommend just using
https://github.com/callback/callback-js/blob/master/lib/require.js ??

Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message