Skip to content

Commit

Permalink
Full fledge AMD example (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBuchholz committed Oct 4, 2017
1 parent 861f730 commit f4de4ea
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/require/amd.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/*global define*/
/*eslint strict: [2, "function"]*/
define("amd", ["data.json"], function (data) {
"use strict";

return {
type: "amd",
data: data
};
});

0 comments on commit f4de4ea

Please sign in to comment.