Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Recognizing @group #6

Open
atotic opened this issue Jan 14, 2015 · 0 comments
Open

Recognizing @group #6

atotic opened this issue Jan 14, 2015 · 0 comments

Comments

@atotic
Copy link

atotic commented Jan 14, 2015

All core and paper elements specify @group pragma. I'd love to use it in my fancy-doc-viewer component to generate group hierarchy.

There is a problem. If @group pragma comes before @element, context-free-parser throws it away. This is a general problem, all pragmas before first @element are thrown away. And all Polymer code specifies @group before @element.

Suggested simple fixes:
a) Redo all polymer elements to put @group after @element
or
b) Keep track of dire encountered before first element, and insert them when element is created.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant