Permalink
Browse files

remove the last `new`

  • Loading branch information...
1 parent cd0470f commit 5f98bb5d152a296c41db27fb42b9ba62d86e5536 @substack committed Jun 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 index.js
View
@@ -1,5 +1,5 @@
var EventEmitter = require('events').EventEmitter;
-var Scrubber = require('./lib/scrub');
+var scrubber = require('./lib/scrub');
var objectKeys = require('./lib/keys');
var forEach = require('./lib/foreach');
var isEnumerable = require('./lib/is_enum');
@@ -24,7 +24,7 @@ function Proto (cons, localRef) {
remote : []
};
- self.scrubber = new Scrubber(self.callbacks.local);
+ self.scrubber = scrubber(self.callbacks.local);
if (typeof cons === 'function') {
self.instance = new cons(self.remote, self);

0 comments on commit 5f98bb5

Please sign in to comment.