Permalink
Browse files

test fix

  • Loading branch information...
contra committed Feb 25, 2013
1 parent caa84cd commit aaa0a4389ec34b3af7635ab09fd4c414a69cbfba
Showing with 5 additions and 6 deletions.
  1. +1 −1 example/public/pulsar.js
  2. +1 −1 pulsar.js
  3. +2 −2 pulsar.min.js
  4. +1 −2 test/server.coffee
View
@@ -3630,7 +3630,7 @@ require.alias("pulsar/dist/main.js", "pulsar/index.js");
if (typeof exports == "object") {
module.exports = require("pulsar");
} else if (typeof define == "function" && define.amd) {
- define(function(){ return require("pulsar"); });
+ define(require("pulsar"));
} else {
window["Pulsar"] = require("pulsar");
}})();
View
@@ -3630,7 +3630,7 @@ require.alias("pulsar/dist/main.js", "pulsar/index.js");
if (typeof exports == "object") {
module.exports = require("pulsar");
} else if (typeof define == "function" && define.amd) {
- define(function(){ return require("pulsar"); });
+ define(require("pulsar"));
} else {
window["Pulsar"] = require("pulsar");
}})();
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -126,9 +126,8 @@ describe 'Pulsar', ->
channel.listeners[0].once 'close', ->
channel.listeners.length.should.equal 0
serv.destroy()
- client.destroy()
done()
- client.disconnect()
+ client.destroy()
describe 'multiple channels', ->
it 'should add', (done) ->

0 comments on commit aaa0a43

Please sign in to comment.