Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added function purge in taskqueue

  • Loading branch information...
commit f4531187c33b2c492105e37f736d9e463b9d142c 1 parent 0203ec7
@kyungw00k authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/google/appengine/api/taskqueue.js
View
6 lib/google/appengine/api/taskqueue.js
@@ -111,7 +111,7 @@ Queue.prototype.add = function(task) {
* Clears all the tasks in this Queue.
*/
Queue.prototype.purge = function() {
- this._jqueue.purge();
+ this._jqueue.purge();
};
/**
@@ -138,6 +138,6 @@ exports.add = function(args) {
* queueName : Passed to the Queue constructor.
*/
exports.purge = function(queueName) {
- var queue = new Queue(queueName);
- queue.purge();
+ var queue = new Queue(queueName);
+ queue.purge();
};
Please sign in to comment.
Something went wrong with that request. Please try again.