Jdlrobson has submitted this change and it was merged.

Change subject: Add M.define() and M.require() + tests
......................................................................


Add M.define() and M.require() + tests

This should make sharing code between different JS files easier and more
consistent.

Names taken from CommonJS AMD specs.
Deprecate M.registerModule() and M.getModule().

Change-Id: I0d9ff1dc6af9028f76424269c9460feddc0051ac
---
M .jshintrc
M javascripts/common/mf-application.js
M tests/js/test_application.js
3 files changed, 66 insertions(+), 1 deletion(-)

Approvals:
  Jdlrobson: Verified; Looks good to me, approved
  jenkins-bot: Checked


--
To view, visit https://gerrit.wikimedia.org/r/45284
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I0d9ff1dc6af9028f76424269c9460feddc0051ac
Gerrit-PatchSet: 5
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: JGonera <[email protected]>
Gerrit-Reviewer: JGonera <[email protected]>
Gerrit-Reviewer: Jdlrobson <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to