Skip to content

Commit

Permalink
Adding clear queue fn
Browse files Browse the repository at this point in the history
  • Loading branch information
pirumpi committed Nov 29, 2014
1 parent fb3bbdc commit fcf5bdb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ function queue() {
// Call the command
command();
};
//Clearing quote
quote.clear = function(){
queue.length = 0;
queue.active = false;
};

return queue;
}
Expand Down

0 comments on commit fcf5bdb

Please sign in to comment.