Browse files

minor naming convention fix

  • Loading branch information...
1 parent 4e487e8 commit 7448f9772ccc0592fef0808112749fc5e2a462a7 @morphar morphar committed Apr 1, 2013
Showing with 5 additions and 5 deletions.
  1. +5 −5 test.js
View
10 test.js
@@ -1,15 +1,15 @@
var util = require('util');
-var GEvents1 = require('./gevents.js');
-var GEvents2 = require('./gevents.js');
+var gEvents1 = require('./index.js');
+var gEvents2 = require('./index.js');
-GEvents1.on('bla', function() { console.log('bla', arguments); });
+gEvents1.on('bla', function() { console.log('bla', arguments); });
setInterval(function() {
if(!(process.pid % 2)) {
- GEvents2.emit('bla', { some: 'data' }, 'bla', 'yadda');
+ gEvents2.emit('bla', { some: 'data' }, 'bla', 'yadda');
} else {
- GEvents2.globalEmit('bla', { some: 'data2' });
+ gEvents2.globalEmit('bla', { some: 'data2' });
}
}, 2000);

0 comments on commit 7448f97

Please sign in to comment.