Sha256: 1c17fd56c1bef26a0195e6431588e72319fbfabc45148559afacc27c7ee2739c

Contents?: true

Size: 701 Bytes

Versions: 118

Compression:

Stored size: 701 Bytes

Contents

<h2>Icons</h2>

<ul id="icons">
</ul>

<script>
  var iconsEl = $('#icons');

  for(var i = 0; i < document.styleSheets.length; i++) {
    var styleSheet = document.styleSheets[i];
    var rules = styleSheet.rules;
    if (rules) {
      for(var j = 0; j < rules.length; j++) {
        var rule = rules[j];
        if (rule.selectorText && (rule.selectorText.indexOf('hot-icon') === 1 || rule.selectorText.indexOf('svg__') === 1 )) {
          var template = "<li class=\"style-group__icons\"><div><i class=\"" + rule.selectorText.replace(".", "") + " style-group__icon\"></i></div><span>" + rule.selectorText + "</span></li>"
          iconsEl.append(template);
        }
      }
    }
  }
</script>

Version data entries

118 entries across 118 versions & 1 rubygems

Version Path
smock-0.1.268 examples/icons.html
smock-0.1.267 examples/icons.html
smock-0.1.266 examples/icons.html
smock-0.1.265 examples/icons.html
smock-0.1.264 examples/icons.html
smock-0.1.263 examples/icons.html
smock-0.1.262 examples/icons.html
smock-0.1.261 examples/icons.html
smock-0.1.260 examples/icons.html
smock-0.1.259 examples/icons.html
smock-0.1.258 examples/icons.html
smock-0.1.256 examples/icons.html
smock-0.1.255 examples/icons.html
smock-0.1.254 examples/icons.html
smock-0.1.253 examples/icons.html
smock-0.1.252 examples/icons.html
smock-0.1.251 examples/icons.html
smock-0.1.250 examples/icons.html
smock-0.1.249 examples/icons.html
smock-0.1.247 examples/icons.html