refactor: add license header to JS files & format files (#12035)

This commit is contained in:
Victor Berchet
2016-10-04 13:15:49 -07:00
committed by Chuck Jazdzewski
parent b64b5ece65
commit 8310c91823
73 changed files with 1174 additions and 948 deletions

View File

@ -1,3 +1,11 @@
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* Patch Protractor so that it uses ChromeDriver 2.14 instead of 2.15.
*
@ -13,11 +21,11 @@ var path = require('path');
var protractorConfigFile = path.resolve(require.resolve('protractor'), '../../config.json');
var newConfig = {
"webdriverVersions": {
"selenium": "2.45.0",
"chromedriver": "2.14",
"iedriver": "2.45.0"
'webdriverVersions': {
'selenium': '2.45.0',
'chromedriver': '2.14',
'iedriver': '2.45.0',
}
}
};
fs.writeFile(protractorConfigFile, JSON.stringify(newConfig));
fs.writeFile(protractorConfigFile, JSON.stringify(newConfig));