Comments (16)
I second this issue and would love to see it done. Thanks!
from amplify.
Yuuuuuuuuuup
from amplify.
Bumping this to update everyone - the current plan is to write in AMD support - at least starting with the combined core/store/request build output. Are any of you using custom amd wrappers around the individual amplify libs? What about using amplify in projects that are mixing amd and standard js libs? (I ask that last one b/c some of the amd wrappers can have some issues in hybrid projects)....
from amplify.
Custom amd wrappers around individual amplify libs: no.
Using amplify in projects that are mixing amd and standard js libs: yes.
Not sure how that relates to amplify's amd support though.
from amplify.
This seems to work for me:
https://gist.github.com/2137980 via ifandelse
from amplify.
@andrhamm - glad that's working. I noticed the version says 1.0.0, but it looks like the 1.1.0 code base, and when I created that gist, that's what I would have pulled...so...my bad on the wrong version in the comments. I have the AMD build pieces working locally, just need to dot my i's and cross my t's on a few things (including tests) before I submit the pull req and get it merged in...
from amplify.
@andrhamm thanks a lot, that works indeed! will be using your version, at least till new version of amplify with AMD support available :)
from amplify.
As of RequireJS 2.0, it is now possible to use non-amd modules in a project via the shim
config in require.config
.
Here is a gist of the working code.
https://gist.github.com/3107540
Hopefully that will help!
from amplify.
The shim that @jcreamer898 is talking about should work for most situations (both full AMD and hybrid projects). We will still produce an amd-compliant build at some point in the near future since a true amd version will pull amplify out of the global scope (since the shim wouldn't).
from amplify.
Oh just saw that I've started another Issue on the same topic... Here is a cool site with help :
https://github.com/umdjs/umd/
from amplify.
👍 for UMD.
from amplify.
Is this still happening?
from amplify.
@benjamincox Yes… I apologize for the slow inclusion of this feature. I need to get the roadmap sketched out for Amplify so we can move it forward in a more focussed way.
from amplify.
Awesome! Thanks, Douglas!
On Aug 20, 2013, at 10:43 AM, Douglas Neiner [email protected] wrote:
@benjamincox Yes… I apologize for the slow inclusion of this feature. I need to get the roadmap sketched out for Amplify so we can move it forward in a more focussed way.
—
Reply to this email directly or view it on GitHub.
from amplify.
@ifandelse are you still around and developing this? it would be nice to know. It's been almost two years now. :-/
from amplify.
If someone else wants this, please reopen with a new issue. Don’t think AMD is really relevant any more.
from amplify.
Related Issues (20)
- Amplify 1.1.2 Uncaught TypeError in new Chrome
- Race condition in core.js publish method HOT 5
- Add browser support documentation [was: "IE8 support"] HOT 1
- amplify.js incompatible with FormData
- losing the data in local storage that I set on a HTTP page when I move to a HTTPS page HOT 1
- Subscribe to event groups (namespaces)
- is amplify still being developed? HOT 5
- null being passed to handleResponse on error instead of _xhr HOT 1
- Any plan to support chrome.storage in the future?
- Not an issue, a suggestion... for pubsub HOT 1
- support for commonjs HOT 1
- amplify.store() examples in the docs is not working HOT 1
- ajax request types are taking longer than default jquery ajax calls
- need clear all subscription method
- Publish core as a separate module
- Offline DB Support HOT 1
- Provide a 'baseURL' option HOT 1
- userData domain level persistance not working HOT 1
- Publish/Subscribe across iframes HOT 4
- BUG: amplify.request on IE 9 not work HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amplify.