Skip to content

Commit

Permalink
Test AMD bandages.
Browse files Browse the repository at this point in the history
Closes #212.
  • Loading branch information
flatheadmill committed Aug 13, 2014
1 parent 8c89379 commit 706fbde
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions t/load/amd.t.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env node

require("proof")(1, function (ok) {
global.define = function (factory) {
ok(typeof factory == 'function', 'amd');
}
require('../..');
delete global.define;
});

0 comments on commit 706fbde

Please sign in to comment.