silverstrap 

silverstrap Commit Details

Date:2015-06-29 09:57:02 (5 years 3 months ago)
Author:Nicola Fontana
Branch:dev, master, ss3
Commit:15142306742f79ee4a425727c37c3c9a65218073
Parents: 112f479e0a0a23e703afaad9496488226bc12e34
Message:Use jsdelivr as CDN for fotorama

This provides several advantages over other CDN solution: above all it
is opensource oriented and it can merge requests.
Changes:
Mtemplates/Includes/Fotorama.ss (1 diff)
Mtemplates/Includes/SilverstrapCombined.ss (1 diff)

File differences

templates/Includes/Fotorama.ss
1
2
1
2
<% require CSS("//cdnjs.cloudflare.com/ajax/libs/fotorama/4.6.4/fotorama.min.css") %>
<% require javascript("//cdnjs.cloudflare.com/ajax/libs/fotorama/4.6.4/fotorama.min.js") %>
<% require CSS("//cdn.jsdelivr.net/jquery.fotorama/4/fotorama.min.css") %>
<% require javascript("//cdn.jsdelivr.net/jquery.fotorama/4/fotorama.min.js") %>
templates/Includes/SilverstrapCombined.ss
1
2
1
32
4
3
54
65
<% require javascript("//cdn.jsdelivr.net/g/jquery@1,bootstrap@3,colorbox@1") %>
<% require javascript("//cdnjs.cloudflare.com/ajax/libs/fotorama/4.6.4/fotorama.min.js") %>
<% require javascript("//cdn.jsdelivr.net/g/jquery@1,bootstrap@3,jquery.fotorama@4,colorbox@1") %>
<% require CSS("//cdn.jsdelivr.net/bootstrap/3/css/bootstrap.min.css") %>
<% require CSS("//cdnjs.cloudflare.com/ajax/libs/fotorama/4.6.4/fotorama.min.css") %>
<% require CSS("//cdn.jsdelivr.net/jquery.fotorama/4/fotorama.min.css") %>
<% require themedCSS(silverstrap) %>
<% require javascript(themes/silverstrap/js/silverstrap.js) %>

Archive Download the corresponding diff file