@@ -67,11 +67,11 @@ discard block |
||
| 67 | 67 | $sContext = trim($sContext, " \t"); |
| 68 | 68 | $this->aCalls = []; |
| 69 | 69 | |
| 70 | - if(!$sPath) |
|
| 70 | + if (!$sPath) |
|
| 71 | 71 | { |
| 72 | 72 | $this->sPath = "$jQueryNs(this)"; // If an empty selector is given, use javascript "this" instead |
| 73 | 73 | } |
| 74 | - elseif(($sContext)) |
|
| 74 | + elseif (($sContext)) |
|
| 75 | 75 | { |
| 76 | 76 | $this->sPath = "$jQueryNs('" . $sPath . "', $jQueryNs('" . $sContext . "'))"; |
| 77 | 77 | } |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | public function getScript(): string |
| 146 | 146 | { |
| 147 | 147 | $sScript = $this->sPath; |
| 148 | - if(count($this->aCalls) > 0) |
|
| 148 | + if (count($this->aCalls) > 0) |
|
| 149 | 149 | { |
| 150 | 150 | $sScript .= '.' . implode('.', $this->aCalls); |
| 151 | 151 | } |