Skip to content

Commit 6fa7ec0

Browse files
committed
Add license text and update headers, similar to lit/lit#1630 .
1 parent c57addc commit 6fa7ec0

File tree

10 files changed

+45
-81
lines changed

10 files changed

+45
-81
lines changed

LICENSE

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
BSD 3-Clause License
2+
3+
Copyright (c) 2021 Google LLC. All rights reserved.
4+
5+
Redistribution and use in source and binary forms, with or without
6+
modification, are permitted provided that the following conditions are met:
7+
8+
1. Redistributions of source code must retain the above copyright notice, this
9+
list of conditions and the following disclaimer.
10+
11+
2. Redistributions in binary form must reproduce the above copyright notice,
12+
this list of conditions and the following disclaimer in the documentation
13+
and/or other materials provided with the distribution.
14+
15+
3. Neither the name of the copyright holder nor the names of its
16+
contributors may be used to endorse or promote products derived from
17+
this software without specific prior written permission.
18+
19+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"url": "git+https://github.com/webcomponents/template-shadowroot.git"
2525
},
2626
"keywords": [],
27-
"author": "The Polymer Authors",
27+
"author": "Google LLC",
2828
"license": "BSD-3-Clause",
2929
"bugs": {
3030
"url": "https://github.com/webcomponents/template-shadowroot/issues"

src/_implementation/default_implementation.ts

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
/**
22
* @license
3-
* Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
4-
* This code may only be used under the BSD style license found at
5-
* http://polymer.github.io/LICENSE.txt
6-
* The complete set of authors may be found at
7-
* http://polymer.github.io/AUTHORS.txt
8-
* The complete set of contributors may be found at
9-
* http://polymer.github.io/CONTRIBUTORS.txt
10-
* Code distributed by Google as part of the polymer project is also
11-
* subject to an additional IP rights grant found at
12-
* http://polymer.github.io/PATENTS.txt
3+
* Copyright 2020 Google LLC
4+
* SPDX-License-Identifier: BSD-3-Clause
135
*/
146

157
// TODO(rictic): do more robust benchmarks and pick a winner.

src/_implementation/feature_detect.ts

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
/**
22
* @license
3-
* Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
4-
* This code may only be used under the BSD style license found at
5-
* http://polymer.github.io/LICENSE.txt
6-
* The complete set of authors may be found at
7-
* http://polymer.github.io/AUTHORS.txt
8-
* The complete set of contributors may be found at
9-
* http://polymer.github.io/CONTRIBUTORS.txt
10-
* Code distributed by Google as part of the polymer project is also
11-
* subject to an additional IP rights grant found at
12-
* http://polymer.github.io/PATENTS.txt
3+
* Copyright 2020 Google LLC
4+
* SPDX-License-Identifier: BSD-3-Clause
135
*/
146

157
// This isn't ideal. Setting .innerHTML is not compatible with some

src/_implementation/manual_walk.ts

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
/**
22
* @license
3-
* Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
4-
* This code may only be used under the BSD style license found at
5-
* http://polymer.github.io/LICENSE.txt
6-
* The complete set of authors may be found at
7-
* http://polymer.github.io/AUTHORS.txt
8-
* The complete set of contributors may be found at
9-
* http://polymer.github.io/CONTRIBUTORS.txt
10-
* Code distributed by Google as part of the polymer project is also
11-
* subject to an additional IP rights grant found at
12-
* http://polymer.github.io/PATENTS.txt
3+
* Copyright 2019 Google LLC
4+
* SPDX-License-Identifier: BSD-3-Clause
135
*/
146

157
import {hasNativeDeclarativeShadowRoots} from './feature_detect.js';

src/_implementation/mutation_observer.ts

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
/**
22
* @license
3-
* Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
4-
* This code may only be used under the BSD style license found at
5-
* http://polymer.github.io/LICENSE.txt
6-
* The complete set of authors may be found at
7-
* http://polymer.github.io/AUTHORS.txt
8-
* The complete set of contributors may be found at
9-
* http://polymer.github.io/CONTRIBUTORS.txt
10-
* Code distributed by Google as part of the polymer project is also
11-
* subject to an additional IP rights grant found at
12-
* http://polymer.github.io/PATENTS.txt
3+
* Copyright 2020 Google LLC
4+
* SPDX-License-Identifier: BSD-3-Clause
135
*/
146

157
import {hydrateShadowRoots} from './default_implementation.js';

src/_implementation/queryselectorall.ts

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
/**
22
* @license
3-
* Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
4-
* This code may only be used under the BSD style license found at
5-
* http://polymer.github.io/LICENSE.txt
6-
* The complete set of authors may be found at
7-
* http://polymer.github.io/AUTHORS.txt
8-
* The complete set of contributors may be found at
9-
* http://polymer.github.io/CONTRIBUTORS.txt
10-
* Code distributed by Google as part of the polymer project is also
11-
* subject to an additional IP rights grant found at
12-
* http://polymer.github.io/PATENTS.txt
3+
* Copyright 2020 Google LLC
4+
* SPDX-License-Identifier: BSD-3-Clause
135
*/
146

157
import {hasNativeDeclarativeShadowRoots} from './feature_detect.js';

src/_implementation/util.ts

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
/**
22
* @license
3-
* Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
4-
* This code may only be used under the BSD style license found at
5-
* http://polymer.github.io/LICENSE.txt
6-
* The complete set of authors may be found at
7-
* http://polymer.github.io/AUTHORS.txt
8-
* The complete set of contributors may be found at
9-
* http://polymer.github.io/CONTRIBUTORS.txt
10-
* Code distributed by Google as part of the polymer project is also
11-
* subject to an additional IP rights grant found at
12-
* http://polymer.github.io/PATENTS.txt
3+
* Copyright 2019 Google LLC
4+
* SPDX-License-Identifier: BSD-3-Clause
135
*/
146

157
export const hasNoParentElement =

src/template-shadowroot.ts

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
/**
22
* @license
3-
* Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
4-
* This code may only be used under the BSD style license found at
5-
* http://polymer.github.io/LICENSE.txt
6-
* The complete set of authors may be found at
7-
* http://polymer.github.io/AUTHORS.txt
8-
* The complete set of contributors may be found at
9-
* http://polymer.github.io/CONTRIBUTORS.txt
10-
* Code distributed by Google as part of the polymer project is also
11-
* subject to an additional IP rights grant found at
12-
* http://polymer.github.io/PATENTS.txt
3+
* Copyright 2019 Google LLC
4+
* SPDX-License-Identifier: BSD-3-Clause
135
*/
146

157
import {hasNativeDeclarativeShadowRoots} from './_implementation/feature_detect.js';

src/test/template-shadowroot_test.ts

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
/**
22
* @license
3-
* Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
4-
* This code may only be used under the BSD style license found at
5-
* http://polymer.github.io/LICENSE.txt
6-
* The complete set of authors may be found at
7-
* http://polymer.github.io/AUTHORS.txt
8-
* The complete set of contributors may be found at
9-
* http://polymer.github.io/CONTRIBUTORS.txt
10-
* Code distributed by Google as part of the polymer project is also
11-
* subject to an additional IP rights grant found at
12-
* http://polymer.github.io/PATENTS.txt
3+
* Copyright 2019 Google LLC
4+
* SPDX-License-Identifier: BSD-3-Clause
135
*/
146

157
import {hydrateShadowRoots as manualWalkHydration} from '../_implementation/manual_walk.js';

0 commit comments

Comments
 (0)