PolymerElements / iron-component-page

A reusable landing page for elements
36 stars 32 forks source link

SyntaxError when not specifying a charset #105

Open fxedel opened 8 years ago

fxedel commented 8 years ago

Description

If you don't specify a charset (either by adding a meta tag or by setting the Content-Type response header), the element won't work.

Expected outcome

The iron-component-page element loads and you can see api reference and demo.

Actual outcome

The element doesn't load and shows unformatted text instead. There is an error message:

SyntaxError: invalid range in character class
TypeError: this.$.analyzer.analyze is not a function

Browsers Affected