mirror of
https://github.com/mrclay/minify.git
synced 2025-08-13 09:34:54 +02:00
Collapse "min" into project root and get unit tests working.
Fixes #472
This commit is contained in:
15
builder/bm2.js
Normal file
15
builder/bm2.js
Normal file
@@ -0,0 +1,15 @@
|
||||
javascript:(function(){
|
||||
var d = document
|
||||
,c = d.cookie
|
||||
,m = c.match(/\bminifyDebug=([^; ]+)/)
|
||||
,v = m ? decodeURIComponent(m[1]) : ''
|
||||
,p = prompt('Debug Minify URIs on ' + location.hostname + ' which contain:'
|
||||
+ '\n(empty for none, space = OR, * = any string, ? = any char)', v)
|
||||
;
|
||||
if (p === null) return;
|
||||
p = p.replace(/^\s+|\s+$/, '');
|
||||
v = (p === '')
|
||||
? 'minifyDebug=; expires=Fri, 27 Jul 2001 02:47:11 UTC; path=/'
|
||||
: 'minifyDebug=' + encodeURIComponent(p) + '; path=/';
|
||||
d.cookie = v;
|
||||
})();
|
Reference in New Issue
Block a user