| Index: appengine/swarming/elements/res/imp/botlist/bot-list-shared.html
|
| diff --git a/appengine/swarming/elements/res/imp/botlist/bot-list-shared.html b/appengine/swarming/elements/res/imp/botlist/bot-list-shared.html
|
| index 246381f38afef865485d92eb7b1c8a5c31fb79e0..ca8d6cf47aa088459da5dfa4fba9001618e2b609 100644
|
| --- a/appengine/swarming/elements/res/imp/botlist/bot-list-shared.html
|
| +++ b/appengine/swarming/elements/res/imp/botlist/bot-list-shared.html
|
| @@ -132,7 +132,16 @@
|
| },
|
|
|
| _not: function(a) {
|
| - return a;
|
| + return !a;
|
| + },
|
| +
|
| + _or: function() {
|
| + var result = false;
|
| + // can't use .foreach, as arguments isn't really a function.
|
| + for (var i = 0; i < arguments.length; i++) {
|
| + result = result || arguments[i];
|
| + }
|
| + return result;
|
| },
|
|
|
| _taskId: function(bot) {
|
|
|