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
*/
var webpack = require('webpack');
/**
@ -8,8 +16,7 @@ var webpack = require('webpack');
* @returns {Function}
*/
function webPackPromiseify(options) {
return new Promise(function (resolve, reject) {
return new Promise(function(resolve, reject) {
webpack(options, function(err, stats) {
var jsonStats = stats.toJson() || {};
@ -29,4 +36,4 @@ function webPackPromiseify(options) {
});
}
module.exports = webPackPromiseify;
module.exports = webPackPromiseify;