Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
S
sidekick
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Privat - Marco Schmiedel
sidekick
Commits
23872cb1
Commit
23872cb1
authored
Aug 02, 2022
by
Kevin Yumang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SERV-2286 - looper modifications
parent
4bece118
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
Config.php
src/Views/Limitless/Looper/Config.php
+3
-4
Index.blade.php
src/Views/Limitless/Looper/Documentation/Index.blade.php
+2
-2
Start.blade.php
src/Views/Limitless/Looper/Start.blade.php
+1
-1
No files found.
src/Views/Limitless/Looper/Config.php
View file @
23872cb1
...
...
@@ -41,11 +41,10 @@
| Method "looperStart"
|--------------------------------------------------------------------------------------------
*/
public
function
looperStart
(
$
limit
)
public
function
looperStart
(
$
parameters
)
{
return
View
(
'Limitless::Looper.Start'
)
->
withLimit
(
$limit
??
1
);
->
withLimit
(
$parameters
==
[]
?
1
:
$parameters
);
}
/*
...
...
@@ -53,7 +52,7 @@
| Method "looperStop"
|--------------------------------------------------------------------------------------------
*/
public
function
looperStop
(
$parameters
)
public
function
looperStop
()
{
return
View
(
'Limitless::Looper.Stop'
);
...
...
src/Views/Limitless/Looper/Documentation/Index.blade.php
View file @
23872cb1
...
...
@@ -4,8 +4,8 @@
@
section
(
'Limitless::Content'
)
@
Limitless
::
CardStart
([
'title'
=>
"Description"
,
'icon'
=>
'icon-info22'
])
@
Limitless
::
LooperStart
(
5
)
{{
rand
(
1
,
10
)
}}
@
Limitless
::
LooperStart
(
10
)
hello
@
Limitless
::
LooperStop
@
Limitless
::
CardStop
...
...
src/Views/Limitless/Looper/Start.blade.php
View file @
23872cb1
@
for
(
$i
=
0
,
$i
<
$limit
;
$i
++
)
\ No newline at end of file
@
for
(
$i
=
0
;
$i
<
$limit
;
$i
++
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment