Skip to content

Commit

Permalink
Make client compatible with AMD loaders. Issue socketio#338.
Browse files Browse the repository at this point in the history
  • Loading branch information
sfilatov authored and ronquilent committed Nov 23, 2012
1 parent 7cece88 commit 90b3f81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/builder.js
Expand Up @@ -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})();";


Expand Down

0 comments on commit 90b3f81

Please sign in to comment.