How can I make the switch to start using the new AMD?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- iionly@iionly
iionly - 0 likes
- Alejandro@dveloper
Alejandro - 0 likes
You must log in to post replies.Have you read http://learn.elgg.org/en/stable/guides/javascript.html? Have you looked into the code of Elgg core (compared the code of a recent version of Elgg using the elgg/thewire AMD module with an older version of Elgg not yet using it) to find out what changes have been made in the code of Elgg to switch from thewire.js to the elgg/thewire AMD module?
iionly,
Thank you. I was able to do. I had to modify elgg_load_js for elgg_require_js in an override I was doing in my plugin.
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo} span.s1 {font-variant-ligatures: no-common-ligatures}
mod/my_plugin/views/default/object/thewire.php