diff options
author | Christian Helbling | 2011-11-17 12:43:34 +0000 |
---|---|---|
committer | Christian Helbling | 2011-11-17 12:43:34 +0000 |
commit | 8922fa4934a13154c6759147b761b8b92a3920f8 (patch) | |
tree | 0804c8673acbc9487bab52a6de001a36ff70781e /itjs.class | |
parent | 2234ec883702353296f88ec8362079baba37da68 (diff) | |
download | itools-8922fa4934a13154c6759147b761b8b92a3920f8.tar.gz itools-8922fa4934a13154c6759147b761b8b92a3920f8.tar.bz2 itools-8922fa4934a13154c6759147b761b8b92a3920f8.zip |
add debug parameter "print" for debugging css of printouts (@media print)
Diffstat (limited to 'itjs.class')
-rw-r--r-- | itjs.class | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -152,6 +152,8 @@ function strip($code) '|\s+/\*.*?\*/|s', # MUST require at least one space before "/*" (jquery.js) but MUST NOT require space before "*/" (searchmap.js) '|^\s+|m' ), array(), $code); + if (EDC('print')) + $code = it::replace(array('@media\s+print' => '@media screen'), $code); return $code; } |