Skip to content

Commit

Permalink
Fixup license comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
rictic committed Apr 16, 2018
1 parent 5abf472 commit f664f25
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 34 deletions.
10 changes: 10 additions & 0 deletions lib/utils/boot.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/**
@license
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/

window.JSCompiler_renameProperty = function(prop, obj) { return prop; }

/** @namespace Polymer */
Expand Down
10 changes: 10 additions & 0 deletions lib/utils/unresolved.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/**
@license
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/

function resolve() {
document.body.removeAttribute('unresolved');
}
Expand Down
26 changes: 10 additions & 16 deletions test/unit/custom-style-import.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/**
@license
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/

import './sub/style-import.js';
const $_documentContainer = document.createElement('div');
$_documentContainer.setAttribute('style', 'display: none;');
Expand Down Expand Up @@ -33,19 +43,3 @@ $_documentContainer.innerHTML = `<dom-module id="shared-style">
</custom-style>`;

document.head.appendChild($_documentContainer);

/**
@license
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
/*
FIXME(polymer-modulizer): the above comments were extracted
from HTML and may be out of place here. Review them and
then delete this comment!
*/
;
30 changes: 12 additions & 18 deletions test/unit/styling-import-shared-styles.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/**
@license
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/

const $_documentContainer = document.createElement('div');
$_documentContainer.setAttribute('style', 'display: none;');

Expand All @@ -7,8 +17,8 @@ $_documentContainer.innerHTML = `<dom-module id="shared-styles">
border: 4px solid tomato;
}
</style>
<template>
<style>
#three {
Expand All @@ -19,19 +29,3 @@ $_documentContainer.innerHTML = `<dom-module id="shared-styles">
</dom-module>`;

document.head.appendChild($_documentContainer);

/**
@license
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
/*
FIXME(polymer-modulizer): the above comments were extracted
from HTML and may be out of place here. Review them and
then delete this comment!
*/
;

0 comments on commit f664f25

Please sign in to comment.