You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Other than providing compatibility for a legacy browser, it uses document.write to inject scripts, which is discouraged by Chrome. I currently have this file commented out from my HTML. Is there another purpose for it?
The text was updated successfully, but these errors were encountered:
Any external dependencies will be referenced via that file, but indeed, we have been discussing changing the way these are included in SPAs. If you have any suggestions, feel free to comment here.
As an alternative you can simply copy the contents of SiteName.head.html into your HTML file instead of the <script src="SiteName.head.js">. You'll just have to remember to check, whenever you add a new dependency, whether that file has changed, and if so, apply these changes to your HTML file. As @granicz said, we're looking into alternatives to make this whole process unnecessary -- ideally you would only need SiteName.css and SiteName{.min}.js.
Other than providing compatibility for a legacy browser, it uses
document.write
to inject scripts, which is discouraged by Chrome. I currently have this file commented out from my HTML. Is there another purpose for it?The text was updated successfully, but these errors were encountered: