Skip to content

Commit

Permalink
Remove yep nope and change modx-path-var
Browse files Browse the repository at this point in the history
this fixes #74 and fixes #82
  • Loading branch information
Anselm Hannemann committed Dec 5, 2011
1 parent 6ec7848 commit 2f046d2
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions assets/templates/main/site_footer.html
@@ -1,28 +1,16 @@
</div>
<!-- CLOSE all html-elements (+wrapper) before this line -->

<script>
yepnope.errorTimeout = 4000;
yepnope([{
load: 'http://ajax.googleapis.com/ajax/libs/jquery/1.6.3/jquery.min.js',
callback: function (url, result, key) {
if (!window.jQuery) {
yepnope('[[++base_url]]assets/templates/main/js/libs/jquery-1.6.3.min.js');
}
}
}, {
load: ['[[++base_url]]assets/templates/main/js/plugins.js', '[[++base_url]]assets/templates/main/js/scripts.js' ]
}]);
</script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="[[++site_url]]assets/templates/main/js/libs/jquery-1.7.1.min.js"><\/script>')</script>

<script defer src="[[++site_url]]assets/templates/main/js/plugins.js"></script>
<script defer src="[[++site_url]]assets/templates/main/js/script.js"></script>

<!--[if lt IE 7 ]>
<script>yepnope('[[++base_url]]assets/templates/main/js/libs/dd_belatedpng.js');</script>
<script>yepnope('[[++site_url]]assets/templates/main/js/libs/dd_belatedpng.js');</script>
<script> DD_belatedPNG.fix('img, .png_bg'); </script>
<![endif]-->
<!-- Prompt IE 6 users to install Chrome Frame. Remove this if you want to support IE 6. | chromium.org/developers/how-tos/chrome-frame-getting-started -->

<!--[if lt IE 7 ]>
<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
<script>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script>
<![endif]-->
Expand Down

0 comments on commit 2f046d2

Please sign in to comment.