-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Separating html & js in bde elements breaks BDE-element-API-documentation #2
Comments
Because a pure js file can lint with eslint. And it is more confortable for develop longer code. |
Ok, I can go with that. But Polymer elements are conceptually designed to be a single entity both view and script (as well as some dependencies) So what about polylint ? |
I think, this is just a problem of locally development. The base uses already HTTP2, and therefore it is not really a problem anymore. |
Both, its applies to this issue and to the pull request |
The main issue was not addressed here. Not concatenating the elements into a single file breaks automatic documentation which is a major issue. I would like to see this addressed, or otherwise solved. |
maybe is related to polymer-analyzer issue and another and a possible solution in this issue ( - JSDoc Magic). |
A possible solution is annotating the script files with an @importedBy ELEMENT.HTML comment. @mplabs and @iskandar992 were working on a grunt-based solution with the use of polymer-analyzer |
Well, it is still not completely solved, but with @importedBy we have at least a start. The issue with iron-component-page will still be open, and I hope the issue displaying the annotations of properties and methods will be somehow resolved by the Polymer team, possibly by including a newer analyzer version in iron-component-pages. So I will close this for now and continue the documentation as far as possible, but as I am still working on this, I will keep this in mind. |
Is there any reason, why the elements are separated in (style) html and script files, although they build single particular element?
I have the problem that the documentation via iron-component-page breaks because of this reason.
The text was updated successfully, but these errors were encountered: