Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jio
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
Aurel
jio
Commits
5f29f8dd
Commit
5f29f8dd
authored
Sep 19, 2013
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix jslint errors
parent
fb4891d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
src/jio.storage/davstorage.js
src/jio.storage/davstorage.js
+4
-4
test/jio.storage/davstorage.livetests.js
test/jio.storage/davstorage.livetests.js
+1
-1
No files found.
src/jio.storage/davstorage.js
View file @
5f29f8dd
...
...
@@ -129,7 +129,7 @@
* @return {String} The original name
*/
function
restoreName
(
secured_name
)
{
return
decodeURI
(
secured_name
.
replace
(
/%3F/ig
,
'
?
'
).
replace
(
/%2F/ig
,
'
/
'
));
return
decodeURI
(
secured_name
.
replace
(
/%3F/ig
,
'
?
'
).
replace
(
/%2F/ig
,
'
/
'
));
}
/**
...
...
@@ -181,7 +181,7 @@
*/
var
ajax
=
{
"
none
"
:
function
(
method
,
type
,
url
,
data
)
{
var
headers
;
var
headers
=
{}
;
if
(
method
===
"
PROPFIND
"
)
{
headers
.
Depth
=
"
1
"
;
}
...
...
@@ -337,9 +337,9 @@
textContent
.
split
(
'
/
'
).
slice
(
-
1
)[
0
];
row
.
id
=
fileNameToIds
(
row
.
id
);
if
(
row
.
id
.
length
!==
1
)
{
row
=
undefined
;
row
=
undefined
;
}
else
{
row
.
id
=
row
.
id
[
0
];
row
.
id
=
row
.
id
[
0
];
}
if
(
row
!==
undefined
)
{
rows
[
rows
.
length
]
=
row
;
...
...
test/jio.storage/davstorage.livetests.js
View file @
5f29f8dd
...
...
@@ -113,7 +113,7 @@
function
list2DocumentsTest
(
answer
)
{
if
(
answer
&&
answer
.
data
&&
Array
.
isArray
(
answer
.
data
.
rows
))
{
answer
.
data
.
rows
.
sort
(
function
(
a
,
b
)
{
answer
.
data
.
rows
.
sort
(
function
(
a
)
{
return
a
.
id
===
"
b
"
?
1
:
0
;
});
}
...
...
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