Skip to content

Commit

Permalink
AMD spec calls for require.amd to be an object
Browse files Browse the repository at this point in the history
  • Loading branch information
cjohansen committed Apr 4, 2014
1 parent 1a3e426 commit f42e9c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ formatio not found, skipping. To build with formatio support:
f.puts("this.sinon = (function () {")
f.puts("var samsam, formatio;")
f.puts("function define(mod, deps, fn) { if (mod == \"samsam\") { samsam = deps(); } else { formatio = fn(samsam); } }")
f.puts("define.amd = true;")
f.puts("define.amd = {};")
f.puts(File.read("./node_modules/formatio/node_modules/samsam/lib/samsam.js"))
f.puts(File.read("./node_modules/formatio/lib/formatio.js"))
f.puts(contents)
Expand Down

0 comments on commit f42e9c8

Please sign in to comment.