Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
Klaus Wölfel
erp5
Commits
8a07c6e3
Commit
8a07c6e3
authored
Jun 15, 2018
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_gadget_interface_validator] Simplify
parent
e1708acd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
10 deletions
+8
-10
bt5/erp5_gadget_interface_validator/PathTemplateItem/web_page_module/gadget_interface_js.js
...r/PathTemplateItem/web_page_module/gadget_interface_js.js
+6
-8
bt5/erp5_gadget_interface_validator/PathTemplateItem/web_page_module/gadget_interface_js.xml
.../PathTemplateItem/web_page_module/gadget_interface_js.xml
+2
-2
No files found.
bt5/erp5_gadget_interface_validator/PathTemplateItem/web_page_module/gadget_interface_js.js
View file @
8a07c6e3
/*jslint nomen: true, indent: 2, maxerr: 30, maxlen: 80 */
/*global DOMParser, document, rJS,
renderJS,
RSVP, window,
/*global DOMParser, document, rJS, RSVP, window,
jIO*/
(
function
(
window
,
rJS
,
RSVP
,
DOMParser
,
renderJS
,
jIO
)
{
(
function
(
window
,
rJS
,
RSVP
,
DOMParser
,
jIO
)
{
"
use strict
"
;
function
fetchAppcacheData
(
appcache_url
)
{
...
...
@@ -75,7 +75,7 @@
if
(
element
.
href
!==
null
&&
element
.
rel
===
"
http://www.renderjs.org/rel/interface
"
)
{
interface_list
.
push
(
r
ender
JS
.
getAbsoluteURL
(
element
.
getAttribute
(
"
href
"
),
rJS
.
getAbsoluteURL
(
element
.
getAttribute
(
"
href
"
),
window
.
location
.
href
)
);
}
...
...
@@ -279,9 +279,7 @@
return
interface_gadget
.
declareGadget
(
gadget_url
,
{
scope
:
gadget_url
})
.
push
(
function
()
{
return
interface_gadget
.
getDeclaredGadget
(
gadget_url
);
},
function
(
error
)
{
.
push
(
undefined
,
function
(
error
)
{
var
message
=
"
Error with loading the gadget.
\n
"
;
error
.
message
=
message
+
error
.
message
;
throw
error
;
...
...
@@ -590,4 +588,4 @@
});
});
}(
window
,
rJS
,
RSVP
,
DOMParser
,
renderJS
,
jIO
));
\ No newline at end of file
}(
window
,
rJS
,
RSVP
,
DOMParser
,
jIO
));
\ No newline at end of file
bt5/erp5_gadget_interface_validator/PathTemplateItem/web_page_module/gadget_interface_js.xml
View file @
8a07c6e3
...
...
@@ -230,7 +230,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
968.15
691.27792.327
85
</string>
</value>
<value>
<string>
968.15
707.16175.199
85
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>
152907
7770.12
</float>
<float>
152907
8216.58
</float>
<string>
UTC
</string>
</tuple>
</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