Get your team started on a custom learning journey today!
Our Boulder, CO-based learning experts are ready to help!
Get your team started on a custom learning journey today!
Our Boulder, CO-based learning experts are ready to help!
Follow us on LinkedIn for our latest data and tips!
Today, we are very happy to announce the release of AmplifyJS 1.1. This update comes with a couple of enhancements and bug fixes.
You can download the latest code bits here.
Here is a short summary of what’s new in AmplifyJS 1.1.
Requests made through amplify.request will always be resolved asynchronously, even if the resource invokes the callbacks immediately. This ensures that you will never have timing problems if the request definition is changed in the future.
Data maps allow you to modify the data for an ajax request before the data is sent. You can use a hash to map keys or you can use a function for complete flexibility.
Using data maps
When searching Twitter, the key for the search phrase is q. If we want a more descriptive name, such as term, we can use a data map:
amplify.request.define( "twitter-search", "ajax", {
url: "https://search.twitter.com/search.json",
dataType: "jsonp",
dataMap: {
term: "q"
}
});
amplify.request( "twitter-search", { term: "amplifyjs" }, ... );
Similarly, we can create a request that searches for mentions, by accepting a username:
amplify.request.define( "twitter-mentions", "ajax", {
url: "https://search.twitter.com/search.json",
dataType: "jsonp",
dataMap: function( data ) {
return {
q: "@" + data.user
};
}
});
amplify.request( "twitter-mentions", { user: "amplifyjs" }, ... );
Fixed race condition when unsubscribing inside a handler #21 View ticket.
Fixed bug with subscribing a handler to multiple topics (#18) View ticket.
Fixed userData detection in IE when userData is disabled #31/#17 View ticket.
Fixed expiration for in-memory storage (#23) View ticket.
Customized Technical Learning Solutions to Help Attract and Retain Talented Developers
Let DI help you design solutions to onboard, upskill or reskill your software development organization. Fully customized. 100% guaranteed.
DevelopIntelligence leads technical and software development learning programs for Fortune 500 companies. We provide learning solutions for hundreds of thousands of engineers for over 250 global brands.
“I appreciated the instructor’s technique of writing live code examples rather than using fixed slide decks to present the material.”
VMwareDevelopIntelligence has been in the technical/software development learning and training industry for nearly 20 years. We’ve provided learning solutions to more than 48,000 engineers, across 220 organizations worldwide.
Thank you for everyone who joined us this past year to hear about our proven methods of attracting and retaining tech talent.
© 2013 - 2022 DevelopIntelligence LLC - Privacy Policy
Let's review your current tech training programs and we'll help you baseline your success against some of our big industry partners. In this 30-minute meeting, we'll share our data/insights on what's working and what's not.
Training Journal sat down with our CEO for his thoughts on what’s working, and what’s not working.