Browse Source

fixbug: 'this' may not point to window object

(e.g. when is bundled via webpack)
pull/106/head
sunaiwen 9 years ago
parent
commit
4941617b4d
  1. 2
      src/echo.js

2
src/echo.js

@ -8,7 +8,7 @@
} else {
root.echo = factory(root);
}
})(this, function (root) {
})(window, function (root) {
'use strict';

Loading…
Cancel
Save