add amd module name test

This commit is contained in:
Sebastian McKenzie 2014-12-27 17:00:27 +11:00
parent bea903c69f
commit 27bb08eadf
6 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1 @@
foobar();

View File

@ -0,0 +1,5 @@
define("es6-modules-amd/module-name/expected", ["exports"], function (exports) {
"use strict";
foobar();
});

View File

@ -0,0 +1,3 @@
{
"amdModuleIds": true
}

View File

@ -0,0 +1 @@
foobar();

View File

@ -0,0 +1,11 @@
(function (factory) {
if (typeof define === "function" && define.amd) {
define("es6-modules-umd/module-name/expected", ["exports"], factory);
} else if (typeof exports !== "undefined") {
factory(exports);
}
})(function (exports) {
"use strict";
foobar();
});

View File

@ -0,0 +1,3 @@
{
"amdModuleIds": true
}