From f664f2512a968a79becefa26a6b58370eb04ed74 Mon Sep 17 00:00:00 2001 From: Peter Burns Date: Sun, 15 Apr 2018 18:31:28 -0700 Subject: [PATCH] Fixup license comments. --- lib/utils/boot.js | 10 ++++++++ lib/utils/unresolved.js | 10 ++++++++ test/unit/custom-style-import.js | 26 ++++++++------------ test/unit/styling-import-shared-styles.js | 30 +++++++++-------------- 4 files changed, 42 insertions(+), 34 deletions(-) diff --git a/lib/utils/boot.js b/lib/utils/boot.js index 59eea45605..701ee1e259 100644 --- a/lib/utils/boot.js +++ b/lib/utils/boot.js @@ -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 */ diff --git a/lib/utils/unresolved.js b/lib/utils/unresolved.js index fd692d4022..20ed6f8715 100644 --- a/lib/utils/unresolved.js +++ b/lib/utils/unresolved.js @@ -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'); } diff --git a/test/unit/custom-style-import.js b/test/unit/custom-style-import.js index 1574c9da7f..f8e65a2367 100644 --- a/test/unit/custom-style-import.js +++ b/test/unit/custom-style-import.js @@ -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;'); @@ -33,19 +43,3 @@ $_documentContainer.innerHTML = ` `; 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! -*/ -; diff --git a/test/unit/styling-import-shared-styles.js b/test/unit/styling-import-shared-styles.js index 21555ddc4c..7647f6d1ba 100644 --- a/test/unit/styling-import-shared-styles.js +++ b/test/unit/styling-import-shared-styles.js @@ -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;'); @@ -7,8 +17,8 @@ $_documentContainer.innerHTML = ` border: 4px solid tomato; } - - + +