projects/plugins/jetpack/modules/custom-css/custom-css/preprocessors/lessc.inc.php 1 location
|
@@ 3425-3435 (lines=11) @@
|
| 3422 |
|
if ($eatWhitespace === null) $eatWhitespace = $this->eatWhiteDefault; |
| 3423 |
|
|
| 3424 |
|
// shortcut on single letter |
| 3425 |
|
if (!isset($what[1]) && isset($this->buffer[$this->count])) { |
| 3426 |
|
if ($this->buffer[$this->count] == $what) { |
| 3427 |
|
if (!$eatWhitespace) { |
| 3428 |
|
$this->count++; |
| 3429 |
|
return true; |
| 3430 |
|
} |
| 3431 |
|
// goes below... |
| 3432 |
|
} else { |
| 3433 |
|
return false; |
| 3434 |
|
} |
| 3435 |
|
} |
| 3436 |
|
|
| 3437 |
|
if (!isset(self::$literalCache[$what])) { |
| 3438 |
|
self::$literalCache[$what] = lessc::preg_quote($what); |
projects/plugins/jetpack/modules/custom-css/custom-css/preprocessors/scss.inc.php 1 location
|
@@ 2973-2983 (lines=11) @@
|
| 2970 |
|
if (is_null($eatWhitespace)) $eatWhitespace = $this->eatWhiteDefault; |
| 2971 |
|
|
| 2972 |
|
// shortcut on single letter |
| 2973 |
|
if (!isset($what[1]) && isset($this->buffer[$this->count])) { |
| 2974 |
|
if ($this->buffer[$this->count] == $what) { |
| 2975 |
|
if (!$eatWhitespace) { |
| 2976 |
|
$this->count++; |
| 2977 |
|
return true; |
| 2978 |
|
} |
| 2979 |
|
// goes below... |
| 2980 |
|
} else { |
| 2981 |
|
return false; |
| 2982 |
|
} |
| 2983 |
|
} |
| 2984 |
|
|
| 2985 |
|
return $this->match($this->preg_quote($what), $m, $eatWhitespace); |
| 2986 |
|
} |