WebConsole-reporter icon indicating copy to clipboard operation
WebConsole-reporter copied to clipboard

Add support for almond.js style AMD loading

Open mileskin opened this issue 11 years ago • 0 comments

Almond (https://github.com/jrburke/almond) loads only modules with an explicit name. Related: https://github.com/jrburke/almond/pull/49

Dunno if this breaks require.js or something else, haven't tried :-)

From readme:

It usually means that there is a define()'d module, but it is missing a name, something that looks like this:

define(function () {});

when it should look like:

define('someName', function () {});

mileskin avatar Sep 27 '13 11:09 mileskin