Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
rjs_json_form
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
rjs_json_form
Commits
a15cd4d2
Commit
a15cd4d2
authored
Apr 05, 2019
by
Boris Kocherov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demo: fix xmla_request_retry
parent
7d2a4d98
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
demo/xmla_connection/index.js
demo/xmla_connection/index.js
+2
-2
demo/xmla_connection/wizard.js
demo/xmla_connection/wizard.js
+2
-2
No files found.
demo/xmla_connection/index.js
View file @
a15cd4d2
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
function
xmla_request_retry
(
func
,
settings
)
{
function
xmla_request_retry
(
func
,
settings
)
{
var
queue
,
var
queue
,
urls
=
settings
.
urls
,
urls
=
settings
.
urls
||
[
""
]
,
i
;
i
;
function
make_request
(
url
)
{
function
make_request
(
url
)
{
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
}
}
queue
=
make_request
(
urls
[
0
])();
queue
=
make_request
(
urls
[
0
])();
for
(
i
=
1
;
i
<
settings
.
urls
.
length
;
i
+=
1
)
{
for
(
i
=
1
;
i
<
urls
.
length
;
i
+=
1
)
{
queue
.
push
(
undefined
,
make_request
(
urls
[
i
]));
queue
.
push
(
undefined
,
make_request
(
urls
[
i
]));
}
}
return
queue
;
return
queue
;
...
...
demo/xmla_connection/wizard.js
View file @
a15cd4d2
...
@@ -92,7 +92,7 @@
...
@@ -92,7 +92,7 @@
function
xmla_request_retry
(
func
,
settings
)
{
function
xmla_request_retry
(
func
,
settings
)
{
var
queue
,
var
queue
,
urls
=
settings
.
urls
,
urls
=
settings
.
urls
||
[
""
]
,
i
;
i
;
function
make_request
(
url
)
{
function
make_request
(
url
)
{
...
@@ -115,7 +115,7 @@
...
@@ -115,7 +115,7 @@
}
}
queue
=
make_request
(
urls
[
0
])();
queue
=
make_request
(
urls
[
0
])();
for
(
i
=
1
;
i
<
settings
.
urls
.
length
;
i
+=
1
)
{
for
(
i
=
1
;
i
<
urls
.
length
;
i
+=
1
)
{
queue
.
push
(
undefined
,
make_request
(
urls
[
i
]));
queue
.
push
(
undefined
,
make_request
(
urls
[
i
]));
}
}
return
queue
;
return
queue
;
...
...
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