This repository has been archived by the owner on Mar 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
core-component-page doesn't work with external scripts #7
Comments
+1 |
1 similar comment
+1 |
+1 Come on Polymer. Forcing the use of inline scripts is bad: Editor tooling doesn't work because of multiple media types in one file (e.g. jslint, jshint, etc.) |
Hello Polymer team, Is there a plan to address this? We have already created our components with external scripts and it could save a lot of effort in moving them back inline now. |
@rnarasap I had to do exactly that, merge all my stand alone scripts back into inline. It is ironic that Polymer supports separation of concerns yet forces us to combine markup and code :( I'm sure they'll get around to it and just have bigger fish to fry at the moment. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Right now
core-component-page
only works with inline scripts.It would be nice if it also supported external scripts because then it's easier to lint these scripts and run other transformations and analysis over external script files.
e.g.
Documentation will be generated from the script comments if it is inline:
but not if it is external
The text was updated successfully, but these errors were encountered: