Skip to content

Commit

Permalink
minor code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Akamaozu committed Jun 11, 2016
1 parent 796ff9f commit 0d21031
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions cjs-noticeboard.js
Expand Up @@ -132,21 +132,21 @@ module.exports = function(){
},

/* watch once */
once: function(notice, watcher, callback, options){
once: function(notice, watcher, callback, options){

var _self = this;
var _self = this;

// filter
if(!options) options = {};
// filter
if(!options) options = {};

// set once
options.once = true;
// set once
options.once = true;

_self.watch( notice, watcher, callback, options );
},
_self.watch( notice, watcher, callback, options );
},

// log
log: function(){
log: function(){

var _self = this;

Expand Down

0 comments on commit 0d21031

Please sign in to comment.