Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Robin Hansen 126 posts 298 karma points
    May 30, 2017 @ 08:26
    Robin Hansen

    Clientdependency: Add 'async' attribute on 'script'tag

    Im' struggling with Clientdependency on my site - I think it has very great potential.

    It is essential for me to have an 'async' attribute on the script tag for the bundled and minified javascript. (Only when not running in Debug mode).

    I tried using both regex and Replace() methods on this @Html.RenderJsHere() with no luck.

    I cannot use Html tag attributes as described in the Documantation.

    If I don't solve this I'm affraid I'll have to abandon using Clientdependency and find an alternative... :(

  • ivan 25 posts 145 karma points
    1 week ago

    Hi Robin,

    Did you find any solution on this?

    Thank you

  • Chriztian Steinmeier 2757 posts 8511 karma points MVP 6x admin c-trib
    1 week ago
    Chriztian Steinmeier

    Hi Robin,

    You mention that you cannot use HTML tag attributes — do you mean that it doesn't work, or that you don't have access to the code that writes it?


Please Sign in or register to post replies

Write your reply to: