RequireJS AMD Toy

Warning: This plugin has't been updated in over 8 years. It may no longer be maintained.

What you can do to help:

A simple demonstration of how to use RequireJS AMD with Elgg v2.0

Last updated
Recommended Releases
Elgg Release Download Date Links
2.01.01 (3.76 kB)2016-Jan-17
Show all releases

This is a toy plugin to explore and demonstrate using RequireJS AMD with Elgg.  I wanted a small, clear example that I could use as a reference for moving to AMD in Elgg.  It demonstrates:

  • Creating and using pure Javascript AMD modules
  • Creating and using mixed PHP-to-Javascript AMD modules
  • Passing initialization values from the page to the AMD module for either type of module
  • Attaching event handlers like onclick to DOM elements in the page

Stats

  • Category: Tools
  • License: GNU General Public License (GPL) version 2
  • Updated: 2016-1-22
  • Downloads: 384
  • Recommendations: 0