Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
bicknellr committed Jul 16, 2018
1 parent 5092002 commit b64c508
Show file tree
Hide file tree
Showing 4 changed files with 197 additions and 194 deletions.
17 changes: 9 additions & 8 deletions demo/index.html
Expand Up @@ -29,20 +29,21 @@
See: https://github.com/Polymer/polymer-modulizer/issues/154
-->
<script type="module">
const $_documentContainer = document.createElement('template');
const $_documentContainer = document.createElement('template');

$_documentContainer.innerHTML = `<custom-style>
$_documentContainer.innerHTML = `<custom-style>
<style is="custom-style" include="demo-pages-shared-styles"></style>
</custom-style>`;

document.body.appendChild($_documentContainer.content);
</script>
document.body.appendChild($_documentContainer.content);
</script>
</head>
<body>
<script type="module">
const $_documentContainer = document.createElement('template');
const $_documentContainer = document.createElement('template');

$_documentContainer.innerHTML = `<div class="vertical-section-container centered">
$_documentContainer.innerHTML =
`<div class="vertical-section-container centered">
<h3>
Import a document with an <code>&lt;iron-iconset-svg&gt;</code> to use the
icons it contains with <code>&lt;iron-icon&gt;</code> elements in your page.
Expand Down Expand Up @@ -97,7 +98,7 @@ <h3>
</demo-snippet>
</div>`;

document.body.appendChild($_documentContainer.content);
</script>
document.body.appendChild($_documentContainer.content);
</script>
</body>
</html>
14 changes: 8 additions & 6 deletions demo/svg-sample-icons.js
Expand Up @@ -2,7 +2,8 @@ import '../iron-iconset-svg.js';
const $_documentContainer = document.createElement('template');
$_documentContainer.setAttribute('style', 'display: none;');

$_documentContainer.innerHTML = `<iron-iconset-svg name="svg-sample-icons" size="100">
$_documentContainer.innerHTML =
`<iron-iconset-svg name="svg-sample-icons" size="100">
<svg>
<defs>
<g id="codepen">
Expand Down Expand Up @@ -64,11 +65,12 @@ document.head.appendChild($_documentContainer.content);
/**
@license
Copyright (c) 2015 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
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
Expand Down
20 changes: 10 additions & 10 deletions iron-iconset-svg.js
@@ -1,17 +1,18 @@
/**
@license
Copyright (c) 2015 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
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 '@polymer/polymer/polymer-legacy.js';

import { IronMeta } from '@polymer/iron-meta/iron-meta.js';
import { Polymer } from '@polymer/polymer/lib/legacy/polymer-fn.js';
import { dom } from '@polymer/polymer/lib/legacy/polymer.dom.js';
import {IronMeta} from '@polymer/iron-meta/iron-meta.js';
import {Polymer} from '@polymer/polymer/lib/legacy/polymer-fn.js';
import {dom} from '@polymer/polymer/lib/legacy/polymer.dom.js';
/**
* The `iron-iconset-svg` element allows users to define their own icon sets
* that contain svg icons. The svg icon elements should be children of the
Expand Down Expand Up @@ -82,8 +83,7 @@ Polymer({
},

created: function() {
this._meta =
new IronMeta({type: 'iconset', key: null, value: null});
this._meta = new IronMeta({type: 'iconset', key: null, value: null});
},

attached: function() {
Expand Down

0 comments on commit b64c508

Please sign in to comment.