Skip to content

Commit 84f5b54

Browse files
committed
SLI platinium ?
1 parent b5066b7 commit 84f5b54

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Ajax/common/html/PropertyWrapper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public static function wrap($input, $js=NULL, $separator=' ', $valueQuote='"') {
1414
if (\is_array($input)) {
1515
if (sizeof($input) > 0) {
1616
if (self::containsElement($input) === false) {
17-
$output=self::wrapStrings($input, $js, $separator=' ', $valueQuote='"');
17+
$output=self::wrapStrings($input, $separator=' ', $valueQuote='"');
1818
} else {
1919
$output=self::wrapObjects($input, $js, $separator, $valueQuote);
2020
}
@@ -31,7 +31,7 @@ private static function containsElement($input) {
3131
return false;
3232
}
3333

34-
public static function wrapStrings($input, $js, $separator=' ', $valueQuote='"') {
34+
public static function wrapStrings($input, $separator=' ', $valueQuote='"') {
3535
if (JArray::isAssociative($input) === true) {
3636
$result=implode($separator, array_map(function ($v, $k) use($valueQuote) {
3737
return $k . '=' . $valueQuote . $v . $valueQuote;

Ajax/semantic/widgets/base/FieldAsTrait.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
namespace Ajax\semantic\widgets\base;
33
use Ajax\service\JString;
44
use Ajax\semantic\html\elements\HtmlImage;
5-
use Ajax\semantic\html\modules\checkbox\HtmlRadio;
65
use Ajax\semantic\html\base\constants\Size;
76
use Ajax\semantic\html\elements\HtmlLabel;
87
use Ajax\semantic\html\modules\HtmlProgress;

Ajax/ui/components/Autocomplete.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
use Ajax\JsUtils;
66
use Ajax\ui\Properties\Position;
77
use Ajax\common\components\SimpleComponent;
8+
use Ajax\service\JString;
89

910
/**
1011
* JQuery UI Autocomplete component
@@ -26,7 +27,7 @@ public function __construct(JsUtils $js) {
2627
* @return $this
2728
*/
2829
public function setAjaxSource($url) {
29-
if (Text::startsWith($url, "/")) {
30+
if (JString::startsWith($url, "/")) {
3031
$u=$this->js->getDi()->get("url");
3132
$url=$u->getBaseUri().$url;
3233
}

0 commit comments

Comments
 (0)