thewire.js is deprecated. Use the "elgg/thewire" AMD module', '2.3'

How can I make the switch to start using the new AMD? 

  • 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

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking