Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xavier Thompson
slapos.core
Commits
8bd4212c
Commit
8bd4212c
authored
Oct 26, 2022
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_jio: No need .then after dereference
It is a useless block
parent
3e5d9c4f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
16 deletions
+5
-16
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_load_schema_js.js
...b_page_module/rjs_gadget_erp5_page_slap_load_schema_js.js
+3
-14
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_load_schema_js.xml
..._page_module/rjs_gadget_erp5_page_slap_load_schema_js.xml
+2
-2
No files found.
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_load_schema_js.js
View file @
8bd4212c
...
@@ -51,11 +51,7 @@
...
@@ -51,11 +51,7 @@
.
push
(
function
(
meta_schema
)
{
.
push
(
function
(
meta_schema
)
{
return
new
RSVP
.
Queue
()
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
.
push
(
function
()
{
return
$RefParser
return
$RefParser
.
dereference
(
url
);
.
dereference
(
url
)
.
then
(
function
(
schema
)
{
return
schema
;
});
})
})
.
push
(
function
(
schema
)
{
.
push
(
function
(
schema
)
{
var
validator
=
new
Validator
(
JSON
.
parse
(
meta_schema
),
'
7
'
);
var
validator
=
new
Validator
(
JSON
.
parse
(
meta_schema
),
'
7
'
);
...
@@ -72,10 +68,7 @@
...
@@ -72,10 +68,7 @@
return
new
RSVP
.
Queue
()
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
.
push
(
function
()
{
return
$RefParser
return
$RefParser
.
dereference
(
"
slapos_load_software_schema.json
"
)
.
dereference
(
"
slapos_load_software_schema.json
"
);
.
then
(
function
(
software_schema
)
{
return
software_schema
;
});
})
})
.
push
(
function
(
software_schema
)
{
.
push
(
function
(
software_schema
)
{
var
software_json
=
JSON
.
parse
(
software_cfg_json
),
var
software_json
=
JSON
.
parse
(
software_cfg_json
),
...
@@ -99,11 +92,7 @@
...
@@ -99,11 +92,7 @@
return
new
RSVP
.
Queue
()
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
.
push
(
function
()
{
return
$RefParser
return
$RefParser
.
dereference
(
parameter_schema_url
);
.
dereference
(
parameter_schema_url
)
.
then
(
function
(
schema
)
{
return
schema
;
});
})
})
.
push
(
function
(
schema
)
{
.
push
(
function
(
schema
)
{
return
new
Validator
(
schema
,
'
7
'
,
false
).
validate
(
generated_json
);
return
new
Validator
(
schema
,
'
7
'
,
false
).
validate
(
generated_json
);
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_load_schema_js.xml
View file @
8bd4212c
...
@@ -236,7 +236,7 @@
...
@@ -236,7 +236,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
1003.
49132.42731.3042
9
</string>
</value>
<value>
<string>
1003.
58311.45202.4165
9
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -254,7 +254,7 @@
...
@@ -254,7 +254,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1666
203750.58
</float>
<float>
1666
754395.83
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
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