Skip to content
Browse files

renamed script responsiveimgs.js and added min file

  • Loading branch information...
1 parent d90b29d commit 491c4326aa07d52a6d125093eb5bb524e4464bf7 scottjehl committed May 24, 2011
Showing with 9 additions and 1 deletion.
  1. +1 −1 demo.html
  2. 0 rwd-images.js → responsiveimgs.js
  3. +8 −0 responsiveimgs.min.js
View
2 demo.html
@@ -11,7 +11,7 @@
};
*/
</script>
- <script src="rwd-images.js"></script>
+ <script src="responsiveimgs.js"></script>
<!-- demo styles -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
View
0 rwd-images.js → responsiveimgs.js
File renamed without changes.
View
8 responsiveimgs.min.js
@@ -0,0 +1,8 @@
+/*!
+ * Responsive Images
+ * Mobile-First images that scale responsively and responsibly
+ * Copyright 2010, Scott Jehl, Filament Group, Inc
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * Check out the README.md file for instructions and optimizations
+*/
+(function(f){var i=f.rwd_images||{},c=i.widthBreakPoint||480,g="rwd-imgs-lrg",e=f.screen.availWidth>c,d=location.href,j=d.substring(0,d.lastIndexOf("/"))+"/",k=f.document,h=k.getElementsByTagName("head")[0],b=new Date();b.setTime(b.getTime()+(5*1000));k.cookie="rwd=y; expires="+b.toGMTString()+"; path=/";if(!e){return}k.documentElement.className+=" "+g;var a=(function(){var o,n=false,m=k.createElement("a"),l=false,p=h.getElementsByTagName("base")[0]||(function(){n=true;return h.insertBefore(k.createElement("base"),h.firstChild)})();o=!n&&p.href;p.href=location.protocol+"//x/";m.href="y";if(m.href.indexOf("x/y")<0){if(o){p.href=o}else{h.removeChild(p)}p=null}else{p.href=j+"rwd-router/"}return p})()})(this);

0 comments on commit 491c432

Please sign in to comment.
Something went wrong with that request. Please try again.