diff --git a/lib/mixins/property-effects.js b/lib/mixins/property-effects.js index 8607b8cc00..00f1e17c2a 100644 --- a/lib/mixins/property-effects.js +++ b/lib/mixins/property-effects.js @@ -7,20 +7,16 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI 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 */ -/* for notify, reflect */ -/* for annotated effects */ -/* - FIXME(polymer-modulizer): the above comments were extracted - from HTML and may be out of place here. Review them and - then delete this comment! -*/ + import '../utils/boot.js'; import { dedupingMixin } from '../utils/mixin.js'; import { root as root$0, isAncestor, isDescendant, get as get$0, translate, isPath as isPath$0, set as set$0, normalize } from '../utils/path.js'; +/* for notify, reflect */ import * as caseMap from '../utils/case-map.js'; import { camelToDashCase as camelToDashCase$0, dashToCamelCase } from '../utils/case-map.js'; import { PropertyAccessors } from './property-accessors.js'; +/* for annotated effects */ import { TemplateStamp } from './template-stamp.js'; import { sanitizeDOMValue } from '../utils/settings.js'; diff --git a/polymer-legacy.js b/polymer-legacy.js index bd8192f2eb..d3eceb5118 100644 --- a/polymer-legacy.js +++ b/polymer-legacy.js @@ -1,15 +1,3 @@ -import { LegacyElementMixin } from './lib/legacy/legacy-element-mixin.js'; -import './lib/legacy/polymer-fn.js'; -import './lib/legacy/templatizer-behavior.js'; -import './lib/elements/dom-bind.js'; -import './lib/elements/dom-repeat.js'; -import './lib/elements/dom-if.js'; -import './lib/elements/array-selector.js'; -import './lib/elements/custom-style.js'; -import './lib/legacy/mutable-data-behavior.js'; -import { html as html$0 } from './lib/utils/html-tag.js'; - -// bc /** @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved. @@ -19,11 +7,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI 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 { LegacyElementMixin } from './lib/legacy/legacy-element-mixin.js'; +import './lib/legacy/polymer-fn.js'; /* template elements */ +import './lib/legacy/templatizer-behavior.js'; +import './lib/elements/dom-bind.js'; +import './lib/elements/dom-repeat.js'; +import './lib/elements/dom-if.js'; +import './lib/elements/array-selector.js'; /* custom-style */ +import './lib/elements/custom-style.js'; /* bc behaviors */ +import './lib/legacy/mutable-data-behavior.js'; /* import html-tag to export html */ +import { html as html$0 } from './lib/utils/html-tag.js'; + +// bc export const Base = LegacyElementMixin(HTMLElement).prototype; -// NOTE: this is here for modulizer to export `html` for the module version of this file export { html$0 as html }; diff --git a/test/unit/shady-unscoped-style-import.js b/test/unit/shady-unscoped-style-import.js index a9949eddb1..3d9da11430 100644 --- a/test/unit/shady-unscoped-style-import.js +++ b/test/unit/shady-unscoped-style-import.js @@ -1,8 +1,18 @@ +/** +@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;'); $_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! -*/ -;