Skip to content

Commit 52bf188

Browse files
alfaprojectvsavkin
authored andcommitted
style: add missing copyright headers
1 parent 6f412bb commit 52bf188

File tree

98 files changed

+823
-7
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+823
-7
lines changed

modules/angular1_router/src/ng_outlet.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
///<reference path="../typings/angularjs/angular.d.ts"/>
210

311

modules/benchmarks/e2e_test/old/compiler_perf.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import {verifyNoBrowserErrors} from '@angular/testing/src/e2e_util';
210
import {runBenchmark} from '@angular/testing/src/perf_util';
311

modules/benchmarks/e2e_test/old/costs_perf.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import {verifyNoBrowserErrors} from '@angular/testing/src/e2e_util';
210
import {runClickBenchmark} from '@angular/testing/src/perf_util';
311

modules/benchmarks/e2e_test/old/di_perf.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import {verifyNoBrowserErrors} from '@angular/testing/src/e2e_util';
210
import {runClickBenchmark} from '@angular/testing/src/perf_util';
311

modules/benchmarks/e2e_test/old/largetable_perf.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import {verifyNoBrowserErrors} from '@angular/testing/src/e2e_util';
210
import {runClickBenchmark} from '@angular/testing/src/perf_util';
311

modules/benchmarks/e2e_test/old/naive_infinite_scroll_perf.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import {verifyNoBrowserErrors} from '@angular/testing/src/e2e_util';
210
import {runBenchmark} from '@angular/testing/src/perf_util';
311

modules/benchmarks/e2e_test/old/naive_infinite_scroll_spec.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import {verifyNoBrowserErrors} from '@angular/testing/src/e2e_util';
210
import {runClickBenchmark} from '@angular/testing/src/perf_util';
311

modules/benchmarks/e2e_test/old/page_load_perf.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import {verifyNoBrowserErrors} from 'angular2/src/testing/perf_util';
210

311
describe('ng2 largetable benchmark', function() {

modules/benchmarks/e2e_test/old/selector_perf.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import {verifyNoBrowserErrors} from '@angular/testing/src/e2e_util';
210
import {runClickBenchmark} from '@angular/testing/src/perf_util';
311

modules/benchmarks/e2e_test/old/static_tree_perf.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import {verifyNoBrowserErrors} from '@angular/testing/src/e2e_util';
210
import {runClickBenchmark} from '@angular/testing/src/perf_util';
311

modules/benchmarks/src/largeform/ng2/app.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import {Component, NgModule} from '@angular/core';
210
import {FormsModule} from '@angular/forms';
311
import {BrowserModule} from '@angular/platform-browser';

modules/benchmarks/src/largeform/ng2/index.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import {enableProdMode} from '@angular/core';
210
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
311

modules/benchmarks/src/largeform/ng2/index_aot.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import {enableProdMode} from '@angular/core';
210
import {platformBrowser} from '@angular/platform-browser';
311

modules/benchmarks/src/largeform/ng2/init.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import {ApplicationRef, NgModuleRef} from '@angular/core';
210

311
import {bindAction, getIntParameter, profile} from '../../util';

modules/benchmarks/src/largetable/baseline/index.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import {bindAction, profile} from '../../util';
210
import {buildTable, emptyTable} from '../util';
311
import {TableComponent} from './table';

modules/benchmarks/src/largetable/baseline/table.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import {TableCell} from '../util';
210

311
export class TableComponent {

modules/benchmarks/src/largetable/incremental_dom/index.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import {bindAction, profile} from '../../util';
210
import {buildTable, emptyTable} from '../util';
311
import {TableComponent} from './table';

modules/benchmarks/src/largetable/incremental_dom/table.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import {TableCell} from '../util';
210
const {patch, elementOpen, elementClose, elementOpenStart, elementOpenEnd, attr, text} =
311
require('incremental-dom');

modules/benchmarks/src/largetable/ng2/index.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import {enableProdMode} from '@angular/core';
210
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
311

modules/benchmarks/src/largetable/ng2/index_aot.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import {enableProdMode} from '@angular/core';
210
import {platformBrowser} from '@angular/platform-browser';
311

modules/benchmarks/src/largetable/ng2/init.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import {ApplicationRef, NgModuleRef} from '@angular/core';
210

311
import {bindAction, profile} from '../../util';

modules/benchmarks/src/largetable/ng2/table.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import {Component, Input, NgModule} from '@angular/core';
210
import {BrowserModule} from '@angular/platform-browser';
311

modules/benchmarks/src/largetable/ng2_switch/index.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import {enableProdMode} from '@angular/core';
210
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
311

modules/benchmarks/src/largetable/ng2_switch/index_aot.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import {enableProdMode} from '@angular/core';
210
import {platformBrowser} from '@angular/platform-browser';
311

modules/benchmarks/src/largetable/ng2_switch/init.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import {ApplicationRef, NgModuleRef} from '@angular/core';
210

311
import {bindAction, profile} from '../../util';

modules/benchmarks/src/largetable/ng2_switch/table.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import {Component, Input, NgModule} from '@angular/core';
210
import {BrowserModule} from '@angular/platform-browser';
311

@@ -8,7 +16,7 @@ import {TableCell, emptyTable} from '../util';
816
template: `<table><tbody>
917
<tr *ngFor="let row of data; trackBy: trackByIndex">
1018
<template ngFor [ngForOf]="row" [ngForTrackBy]="trackByIndex" let-cell><ng-container [ngSwitch]="cell.row % 2">
11-
<td *ngSwitchCase="0" style="background-color: grey">{{cell.value}}</td><td *ngSwitchDefault>{{cell.value}}</td>
19+
<td *ngSwitchCase="0" style="background-color: grey">{{cell.value}}</td><td *ngSwitchDefault>{{cell.value}}</td>
1220
</ng-container></template>
1321
</tr>
1422
</tbody></table>`

modules/benchmarks/src/largetable/util.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import {getIntParameter} from '../util';
210

311
export class TableCell {

modules/benchmarks/src/old/compiler/compiler_benchmark.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import {PromiseWrapper} from '@angular/facade/src/async';
210
import {Type, print} from '@angular/facade/src/lang';
311
import {bootstrap} from '@angular/platform-browser';

modules/benchmarks/src/old/compiler/selector_benchmark.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import {SelectorMatcher} from '@angular/compiler/src/selector';
210
import {CssSelector} from '@angular/compiler/src/selector';
311
import {Math} from '@angular/facade/lang';

modules/benchmarks/src/old/costs/index.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import {NgFor, NgIf} from '@angular/common';
210
import {Component, Directive, DynamicComponentLoader, ViewContainerRef} from '@angular/core';
311
import {ApplicationRef} from '@angular/core/src/application_ref';
@@ -111,4 +119,4 @@ class AppComponent {
111119

112120
@NgModule({imports: [BrowserModule], bootstrap: [AppComponent]})
113121
class AppModule {
114-
}
122+
}

modules/benchmarks/src/old/di/di_benchmark.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import {Injectable, ReflectiveInjector, ReflectiveKey} from '@angular/core';
210
import {reflector} from '@angular/core/src/reflection/reflection';
311
import {ReflectionCapabilities} from '@angular/core/src/reflection/reflection_capabilities';

modules/benchmarks/src/old/naive_infinite_scroll/app.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import {NgFor, NgIf} from '@angular/common';
210
import {Component, Directive} from '@angular/core';
311
import {TimerWrapper} from '@angular/facade/src/async';

0 commit comments

Comments
 (0)