Permalink
Browse files

Make client compatible with AMD loaders. Issue #338.

  • Loading branch information...
1 parent 85df087 commit f5d55ba2c1be935526c31a53bad01413f5ffca90 @sfilatov committed Jul 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/builder.js
View
@@ -92,7 +92,7 @@ var baseTransports = {
var wrapperPre = "\nvar io = ('undefined' === typeof module ? {} : module.exports);\n(function() {\n";
var wrapperPost = "\nif (typeof define === \"function\" && define.amd) {" +
- "\n define(\"socket.io\", [], function () { return io; });" +
+ "\n define([], function () { return io; });" +
"\n}\n})();";

0 comments on commit f5d55ba

Please sign in to comment.