Skip to content

Commit

Permalink
1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkadiy-Sedelnikov committed May 17, 2017
1 parent 8445ced commit 3164733
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions jscssmanipulate.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ function onBeforeCompileHead()

if(count($cutScript)){
$debug && $debugInfo .= '<ul><h3>' . JText::_('PLG_JSCSSMANIPULATE_SCRIPT') . ':</h3>';
$debug && $debugInfo .= '<li><h4>' . JText::_('PLG_JSCSSMANIPULATE_SCRIPT_EXPR') . ':</h4>
<pre>'.print_r($cutScript, true).'</pre></li>';
$debug && $debugInfo .= '<li><h4>' . JText::_('PLG_JSCSSMANIPULATE_SCRIPT_BEFORE') . ':</h4>
<pre>'.print_r($doc->_script['text/javascript'], true).'</pre></li>';
$doc->_script['text/javascript'] = preg_replace($cutScript, '', $doc->_script['text/javascript']);
Expand Down
2 changes: 1 addition & 1 deletion jscssmanipulate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<authorUrl>argens.ru</authorUrl>
<creationDate>19-04-2017</creationDate>
<copyright>2017 Arkadiy Sedelnikov</copyright>
<version>1.1.0</version>
<version>1.2.0</version>
<description>PLG_JSCSSMANIPULATE_DESCRIPTION</description>
<files>
<filename plugin="jscssmanipulate">jscssmanipulate.php</filename>
Expand Down
3 changes: 2 additions & 1 deletion language/en-GB/en-GB.plg_system_jscssmanipulate.ini
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ PLG_JSCSSMANIPULATE_SASSLESS_CSS_FILE="Css file"
PLG_JSCSSMANIPULATE_SCRIPT="Cut Javascript"
PLG_JSCSSMANIPULATE_SCRIPT_DESC="Regular expression to cut inline javascript. One for string."
PLG_JSCSSMANIPULATE_SCRIPT_BEFORE="Javascript before cut"
PLG_JSCSSMANIPULATE_SCRIPT_AFTER="Javascript after cut"
PLG_JSCSSMANIPULATE_SCRIPT_AFTER="Javascript after cut"
PLG_JSCSSMANIPULATE_SCRIPT_EXPR="Regular expressions"
3 changes: 2 additions & 1 deletion language/ru-RU/ru-RU.plg_system_jscssmanipulate.ini
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ PLG_JSCSSMANIPULATE_SASSLESS_CSS_FILE="Файл css"
PLG_JSCSSMANIPULATE_SCRIPT="Вырезать из Javascript"
PLG_JSCSSMANIPULATE_SCRIPT_DESC="Регуляное выражение для вырезки строк из инлайн-javascript. Одно на строку."
PLG_JSCSSMANIPULATE_SCRIPT_BEFORE="Javascript перед вырезкой"
PLG_JSCSSMANIPULATE_SCRIPT_AFTER="Javascript после вырезки"
PLG_JSCSSMANIPULATE_SCRIPT_AFTER="Javascript после вырезки"
PLG_JSCSSMANIPULATE_SCRIPT_EXPR="Регулярные выражения"

0 comments on commit 3164733

Please sign in to comment.