| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 Copyright 2016 The LUCI Authors. All rights reserved. | 2 Copyright 2016 The LUCI Authors. All rights reserved. |
| 3 Use of this source code is governed under the Apache License, Version 2.0 | 3 Use of this source code is governed under the Apache License, Version 2.0 |
| 4 that can be found in the LICENSE file. | 4 that can be found in the LICENSE file. |
| 5 | 5 |
| 6 window.SwarmingBehaviors.BotListBehavior contains any shared functions and | 6 window.SwarmingBehaviors.BotListBehavior contains any shared functions and |
| 7 constants used by the bot-list and its sub-elements. | 7 constants used by the bot-list and its sub-elements. |
| 8 | 8 |
| 9 To use it, include | 9 To use it, include |
| 10 behaviors: [SwarmingBehaviors.BotListBehavior] | 10 behaviors: [SwarmingBehaviors.BotListBehavior] |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 _taskId: function(bot) { | 78 _taskId: function(bot) { |
| 79 if (bot && bot.task_id) { | 79 if (bot && bot.task_id) { |
| 80 return bot.task_id; | 80 return bot.task_id; |
| 81 } | 81 } |
| 82 return "idle"; | 82 return "idle"; |
| 83 }, | 83 }, |
| 84 | 84 |
| 85 }]; | 85 }]; |
| 86 })() | 86 })() |
| 87 </script> | 87 </script> |
| OLD | NEW |