Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yPhil
Pétrolette
Commits
9fe31b5a
Commit
9fe31b5a
authored
Jan 16, 2018
by
yPhil
Browse files
Sync: privateClient.getFile maxAge value: less (false errors in Chromium) WIP
parent
88c7b10c
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/lib/js/sync.js
View file @
9fe31b5a
...
...
@@ -10,7 +10,7 @@ MOB.sync = (function() {
return
{
exports
:
{
read
:
function
()
{
return
privateClient
.
getFile
(
'
petrolette.conf
'
,
999999
)
return
privateClient
.
getFile
(
'
petrolette.conf
'
)
.
then
(
function
(
file
)
{
return
file
.
data
;
});
...
...
@@ -67,7 +67,7 @@ MOB.sync = (function() {
}
else
{
console
.
error
(
'
Petrolette | Validation NOT OK
:
Tryin browser cache
'
);
console
.
error
(
'
Petrolette | Validation NOT OK
(%s)
Tryin browser cache
'
,
data
);
if
(
MOB
.
prefs
.
isValidSourcesFile
(
JSON
.
parse
(
MOB
.
prefs
.
readConfig
(
'
tabs
'
))))
{
console
.
log
(
'
plop
'
);
...
...
Write
Preview
Supports
Markdown
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