Permalink
Browse files

Removed superfluous static variable, cleaned up comments.

  • Loading branch information...
1 parent 8416510 commit 3c3d3db2a2fef2200156dd28dcde2a8be4273788 @tedivm committed Jan 27, 2014
Showing with 2 additions and 9 deletions.
  1. +2 −9 src/JShrink/Minifier.php
View
@@ -83,13 +83,6 @@ class Minifier
*/
protected static $defaultOptions = array('flaggedComments' => true);
- /**
- * Contains a copy of the JShrink object used to run minification. This is
- * only used internally, and is only stored for performance reasons. There
- * is no internal data shared between minification requests.
- */
- protected static $jshrink;
-
/**
* Minifier::minify takes a string containing javascript and removes
* unneeded characters in order to shrink the code without altering it's
@@ -138,8 +131,8 @@ protected function breakdownScript($js, $currentOptions)
$this->input = str_replace("\r", "\n", $js);
// We add a newline to the end of the script to make it easier to deal
- // with comments at the bottom of the script- this prevents the stray
- // comment error that can occur.
+ // with comments at the bottom of the script- this prevents the unclosed
+ // comment error that can otherwise occur.
$this->input .= PHP_EOL;

0 comments on commit 3c3d3db

Please sign in to comment.