PolymerElements / iron-icons

A set of icons for use with iron-icon
https://www.webcomponents.org/element/PolymerElements/iron-icons
105 stars 61 forks source link

Demo do not show anything #80

Closed h-nasu closed 6 years ago

h-nasu commented 6 years ago

Description

Demo page do not show anything.

Expected outcome

Should see all the icons.

Actual outcome

Nothing shown.

Live Demo

https://www.webcomponents.org/element/PolymerElements/iron-icons/demo/demo/index.html

Steps to reproduce

Visit the demo page.

Browsers Affected

Fix

Delete or comment the dom-repeat tag.

<dom-bind>
    <template is="dom-bind" id="scope">
      <!--<dom-repeat>-->

        <template is="dom-repeat" id="iconsetRepeat">
          <h2>{{item.name}}</h2>
          <!--<dom-repeat class="set">-->
            <template is="dom-repeat" items="{{getIconNames(item)}}">
              <span class="container">
                <iron-icon icon="{{item}}"></iron-icon>
                <div>{{item}}</div>
              </span>
            </template>
          <!--</dom-repeat>-->
        </template>

      <!--</dom-repeat>-->
    </template>
  </dom-bind>