Skip to content

Commit

Permalink
Anonymous AMD (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBuchholz committed Oct 14, 2017
1 parent f493b05 commit a0428b1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/require/anonymous_amd.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
/*global define*/
/*eslint strict: [2, "function"]*/
define(function () {
define(["data.json"], function (data) {
"use strict";

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

0 comments on commit a0428b1

Please sign in to comment.