Skip to content

Commit ac2fa81

Browse files
committed
Fixup a few places where comments were misplaced.
1 parent f664f25 commit ac2fa81

3 files changed

Lines changed: 28 additions & 38 deletions

File tree

lib/mixins/property-effects.js

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,16 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
77
Code distributed by Google as part of the polymer project is also
88
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
99
*/
10-
/* for notify, reflect */
11-
/* for annotated effects */
12-
/*
13-
FIXME(polymer-modulizer): the above comments were extracted
14-
from HTML and may be out of place here. Review them and
15-
then delete this comment!
16-
*/
10+
1711
import '../utils/boot.js';
1812

1913
import { dedupingMixin } from '../utils/mixin.js';
2014
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';
15+
/* for notify, reflect */
2116
import * as caseMap from '../utils/case-map.js';
2217
import { camelToDashCase as camelToDashCase$0, dashToCamelCase } from '../utils/case-map.js';
2318
import { PropertyAccessors } from './property-accessors.js';
19+
/* for annotated effects */
2420
import { TemplateStamp } from './template-stamp.js';
2521
import { sanitizeDOMValue } from '../utils/settings.js';
2622

polymer-legacy.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
1-
import { LegacyElementMixin } from './lib/legacy/legacy-element-mixin.js';
2-
import './lib/legacy/polymer-fn.js';
3-
import './lib/legacy/templatizer-behavior.js';
4-
import './lib/elements/dom-bind.js';
5-
import './lib/elements/dom-repeat.js';
6-
import './lib/elements/dom-if.js';
7-
import './lib/elements/array-selector.js';
8-
import './lib/elements/custom-style.js';
9-
import './lib/legacy/mutable-data-behavior.js';
10-
import { html as html$0 } from './lib/utils/html-tag.js';
11-
12-
// bc
131
/**
142
@license
153
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
197
Code distributed by Google as part of the polymer project is also
208
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
219
*/
10+
11+
import { LegacyElementMixin } from './lib/legacy/legacy-element-mixin.js';
12+
import './lib/legacy/polymer-fn.js';
2213
/* template elements */
14+
import './lib/legacy/templatizer-behavior.js';
15+
import './lib/elements/dom-bind.js';
16+
import './lib/elements/dom-repeat.js';
17+
import './lib/elements/dom-if.js';
18+
import './lib/elements/array-selector.js';
2319
/* custom-style */
20+
import './lib/elements/custom-style.js';
2421
/* bc behaviors */
22+
import './lib/legacy/mutable-data-behavior.js';
2523
/* import html-tag to export html */
24+
import { html as html$0 } from './lib/utils/html-tag.js';
25+
26+
// bc
2627
export const Base = LegacyElementMixin(HTMLElement).prototype;
2728

28-
// NOTE: this is here for modulizer to export `html` for the module version of this file
2929
export { html$0 as html };
Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
1+
/**
2+
@license
3+
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
4+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7+
Code distributed by Google as part of the polymer project is also
8+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9+
*/
10+
111
const $_documentContainer = document.createElement('div');
212
$_documentContainer.setAttribute('style', 'display: none;');
313

414
$_documentContainer.innerHTML = `<dom-module id="global-shared1">
5-
15+
616
<template>
717
<style shady-unscoped="">
818
:root {
@@ -22,23 +32,7 @@ $_documentContainer.innerHTML = `<dom-module id="global-shared1">
2232
</style>
2333
</template>
2434
</dom-module><dom-module id="global-shared2">
25-
35+
2636
</dom-module>`;
2737

2838
document.head.appendChild($_documentContainer);
29-
30-
/**
31-
@license
32-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
33-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
34-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
35-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
36-
Code distributed by Google as part of the polymer project is also
37-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
38-
*/
39-
/*
40-
FIXME(polymer-modulizer): the above comments were extracted
41-
from HTML and may be out of place here. Review them and
42-
then delete this comment!
43-
*/
44-
;

0 commit comments

Comments
 (0)