| OLD | NEW |
| 1 // Copyright 2014 The LUCI Authors. All rights reserved. | 1 // Copyright 2014 The LUCI Authors. All rights reserved. |
| 2 // Use of this source code is governed by the Apache v2.0 license that can be | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
| 3 // found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
| 4 | 4 |
| 5 var ip_whitelists = (function() { | 5 var ip_whitelists = (function() { |
| 6 'use strict'; | 6 'use strict'; |
| 7 | 7 |
| 8 var exports = {}; | 8 var exports = {}; |
| 9 | 9 |
| 10 | 10 |
| 11 // Multiline string with subnets -> list of subnet strings. | 11 // Multiline string with subnets -> list of subnet strings. |
| 12 var splitSubnetsList = function(subnets) { | 12 var splitSubnetsList = function(subnets) { |
| 13 var mapper = function(str) { return str.trim(); }; | 13 var mapper = function(str) { return str.trim(); }; |
| (...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 whitelistPane.hide(); | 336 whitelistPane.hide(); |
| 337 reloadWhitelists(selector, null); | 337 reloadWhitelists(selector, null); |
| 338 | 338 |
| 339 // Enable XSRF token auto-updater. | 339 // Enable XSRF token auto-updater. |
| 340 api.setXSRFTokenAutoupdate(true); | 340 api.setXSRFTokenAutoupdate(true); |
| 341 }; | 341 }; |
| 342 | 342 |
| 343 | 343 |
| 344 return exports; | 344 return exports; |
| 345 }()); | 345 }()); |
| OLD | NEW |