partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit 9feef19e75123fe576cfecfafa42158a6776d653
parent 65f5b306165a9caa7c56af0440f9c488c8a65065
Author: felicitus <felicitus@felicitus.org>
Date:   Thu, 24 May 2012 00:24:57 +0200

Fixed class parser to accept whitespace betweet "extend" and ":"

Diffstat:
Mutil/classes/ExtJSFile.php | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/util/classes/ExtJSFile.php b/util/classes/ExtJSFile.php @@ -91,7 +91,7 @@ class ExtJSFile { * @return string The extend class name */ private function parseExtendDirective () { - $pattern = "/extend:\s*[\"|'](.*)[\"|']/"; + $pattern = "/extend\s*:\s*[\"|'](.*)[\"|']/"; preg_match($pattern, $this->source, $results); @@ -160,4 +160,4 @@ class ExtJSFile { return $template; } -}- \ No newline at end of file +}