diff --git a/src/JS.php b/src/JS.php index 83ba16a..d553c09 100644 --- a/src/JS.php +++ b/src/JS.php @@ -120,9 +120,13 @@ class JS extends Minify protected $operatorsAfter = array(); /** + * Public property so it can be accessed from inside the closure in + * extractRegex. Once PHP5.3 compatibility is dropped, we can make this + * property protected again. + * * @var array */ - protected $nestedExtracted = array(); + public $nestedExtracted = array(); /** * {@inheritdoc}