style(gulp): make code more readable

This commit is contained in:
Igor Minar 2015-09-26 10:37:21 -07:00
parent 9fc9704cdd
commit 9fa57d06da
1 changed files with 1 additions and 1 deletions

View File

@ -567,7 +567,7 @@ gulp.task('test.all.dart', shell.task(['./scripts/ci/test_dart.sh']));
function getBrowsersFromCLI() { function getBrowsersFromCLI() {
var isSauce = false; var isSauce = false;
var args = minimist(process.argv.slice(2)); var args = minimist(process.argv.slice(2));
var rawInput = args.browsers?args.browsers:'DartiumWithWebPlatform'; var rawInput = args.browsers ? args.browsers : 'DartiumWithWebPlatform';
var inputList = rawInput.replace(' ', '').split(','); var inputList = rawInput.replace(' ', '').split(',');
var outputList = []; var outputList = [];
for (var i = 0; i < inputList.length; i++) { for (var i = 0; i < inputList.length; i++) {