We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1e1cd4a + 18e82e3 commit 668785aCopy full SHA for 668785a
1 file changed
src/Jade/Parser.php
@@ -9,7 +9,7 @@
9
class Parser {
10
11
public $basepath;
12
- public $extension = '.jade';
+ public static $extension = '.jade';
13
public $textOnly = array('script','style');
14
15
protected $input;
@@ -249,7 +249,7 @@ protected function parseExtends() {
249
250
$file = $this->expect('extends')->value;
251
$dir = realpath(dirname($this->filename));
252
- $path = $dir . DIRECTORY_SEPARATOR . $file . $this->extension;
+ $path = $dir . DIRECTORY_SEPARATOR . $file . self::$extension;
253
254
$string = file_get_contents($path);
255
$parser = new Parser($string, $path);
0 commit comments