Browse Source

Merge pull request #53 from davidrapson/patch-1

Fix error when using as AMD module
pull/54/head
Todd Motto 11 years ago
parent
commit
bc0c06669d
  1. 4
      src/echo.js

4
src/echo.js

@ -1,6 +1,8 @@
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
define(factory);
define(function() {
return factory(root)
});
} else if (typeof exports === 'object') {
module.exports = factory;
} else {

Loading…
Cancel
Save