Commit 27dbb2ab1aa8e997af52204a7cc88d8077f8ed44
1 parent
c5325846
Exists in
master
and in
39 other branches
Dropping jquery from jenkins template
Showing
2 changed files
with
4 additions
and
3 deletions
Show diff stats
src/proxy/diazo/jenkins.xml
... | ... | @@ -3,6 +3,7 @@ |
3 | 3 | xmlns:css="http://namespaces.plone.org/diazo/css" |
4 | 4 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
5 | 5 | |
6 | + <drop css:theme="script[data-framework='jquery']" /> | |
6 | 7 | <replace css:theme="#jenkins-css" content="//head/link" /> |
7 | 8 | <replace css:theme="#jenkins-js" content="//head/script" /> |
8 | 9 | <before css:theme-children="#main-content" css:content="#main-table" /> | ... | ... |
src/templates/base.html
... | ... | @@ -22,9 +22,9 @@ |
22 | 22 | <link rel="stylesheet" href="{{ STATIC_URL }}css/screen.css" |
23 | 23 | type="text/css" media="screen" /> |
24 | 24 | |
25 | - <script type="text/javascript" src="{{ STATIC_URL }}third-party/jquery-2.0.3.min.js"></script> | |
26 | - <script type="text/javascript" src="{{ STATIC_URL }}third-party/jquery.debouncedresize.js"></script> | |
27 | - <script type="text/javascript" src="{{ STATIC_URL }}third-party/jquery.cookie.js"></script> | |
25 | + <script type="text/javascript" src="{{ STATIC_URL }}third-party/jquery-2.0.3.min.js" data-framework="jquery"></script> | |
26 | + <script type="text/javascript" src="{{ STATIC_URL }}third-party/jquery.debouncedresize.js" data-framework="jquery"></script> | |
27 | + <script type="text/javascript" src="{{ STATIC_URL }}third-party/jquery.cookie.js" data-framework="jquery"></script> | |
28 | 28 | <script src="{{ STATIC_URL }}third-party/bootstrap/js/bootstrap.min.js"></script> |
29 | 29 | |
30 | 30 | {% block head_js %}{% endblock %} | ... | ... |