From 9f36d2ffa79215788a854f8c0c7ff510e8a8b0e0 Mon Sep 17 00:00:00 2001 From: Alexey Date: Thu, 26 Jun 2014 11:11:17 +0200 Subject: [PATCH] Update rem.min.js --- js/rem.min.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/rem.min.js b/js/rem.min.js index 0fad1ef..50c223d 100644 --- a/js/rem.min.js +++ b/js/rem.min.js @@ -4,4 +4,4 @@ * Date Built: 2014-06-26 * Copyright (c) 2014 | Chuck Carpenter ,Lucas Serven ; **/ -!function(e){"use strict";var t=function(){var e=document.createElement("div");return e.style.cssText="font-size: 1rem;",/rem/.test(e.style.fontSize)},n=function(){for(var e=document.getElementsByTagName("link"),t=[],n=0;n0?(y=[],v=[],f=[],r()):i()}},a=function(e,t){for(var n,r=u(e).replace(/\/\*[\s\S]*?\*\//g,""),o=/[\w\d\s\-\/\\\[\]:,.'"*()<>+~%#^$_=|@]+\{[\w\d\s\-\/\\%#:!;,.'"*()]+\d*\.?\d+rem[\w\d\s\-\/\\%#:!;,.'"*()]*\}/g,a=r.match(o),i=/\d*\.?\d+rem/g,s=r.match(i),c=/(.*\/)/,l=c.exec(t)[0],d=/@import (?:url\()?['"]?([^'\)"]*)['"]?\)?[^;]*/gm;null!==(n=d.exec(e));)f.push(l+n[1]);null!==a&&0!==a.length&&(g=g.concat(a),p=p.concat(s))},i=function(){for(var e=/[\w\d\s\-\/\\%#:,.'"*()]+\d*\.?\d+rem[\w\d\s\-\/\\%#:!,.'"*()]*[;}]/g,t=0;t0?(v=[],p=[],m=[],r()):s()}},a=function(e,t){for(var n,r=d(e).replace(/\/\*[\s\S]*?\*\//g,""),o=/[\w\d\s\-\/\\\[\]:,.'"*()<>+~%#^$_=|@]+\{[\w\d\s\-\/\\%#:!;,.'"*()]+\d*\.?\d+rem[\w\d\s\-\/\\%#:!;,.'"*()]*\}/g,a=r.match(o),s=/\d*\.?\d+rem/g,i=r.match(s),c=/(.*\/)/,l=c.exec(t)[0],u=/@import (?:url\()?['"]?([^'\)"]*)['"]?\)?[^;]*/gm;null!==(n=u.exec(e));)m.push(l+n[1]);null!==a&&0!==a.length&&(f=f.concat(a),g=g.concat(i))},s=function(){for(var e=/[\w\d\s\-\/\\%#:,.'"*()]+\d*\.?\d+rem[\w\d\s\-\/\\%#:!,.'"*()]*[;}]/g,t=0;t