anselmh / HTML5-DPS-Boilerplate

This is a HTML5-Boilerplate to use within Adobe Digital Publishing-Suite or other Frameworks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

remove external jQuery

johanneseckert opened this issue · comments

I would prefer if we don't refer to an external version of jQuery

    <!-- If you are not using jQuery remove the following two lines of code -->
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
    <script>window.jQuery || document.write('<script src="js/jquery-1.7.2.min.js"><\/script>')</script>

and simply point to the included version.
When HTMLcontent is viewed inside a DPS publication, the loading holds during checking for external javascript, when the iPad is connected to the internet. if the connection is slow the timeout or the OK result might be too long, then the immediate experience of the HTML widget is gone inside the magazine.

also, many magazines are read offline anyway.

This is valid but I want to defer this until jQuery 1.8 is out and has the ability to get a customized version of jQuery. This saves filesize for unneeded jQuery functions.

ok great. wouldnt it be awesome to have our own custom builder for this
boilerplate? maybe too much to wish for this little project ;-)

(mobil gesendet)

It would be awesome but will be a huge separate milestone. Please fill a separate bug.