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 117 posts 248 karma points
    May 30, 2017 @ 08:26
    Robin Hansen
    1

    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... :(

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies