Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
officejs_fs2erp5_gadget
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
officejs_fs2erp5_gadget
Commits
3e38f2ea
Commit
3e38f2ea
authored
Aug 22, 2017
by
Boris Kocherov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove github added folder
parent
76631e6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
jio_fs2erp5storage.js
jio_fs2erp5storage.js
+10
-3
No files found.
jio_fs2erp5storage.js
View file @
3e38f2ea
...
...
@@ -68,7 +68,12 @@
.
push
(
function
(
result
)
{
var
id
,
path
,
last_index
,
filename
,
filename_xml
,
ext
,
new_id
,
i
;
for
(
id
in
result
)
{
if
(
result
.
hasOwnProperty
(
id
)
&&
!
id
.
startsWith
(
"
http
"
))
{
if
(
result
.
hasOwnProperty
(
id
)
&&
!
id
.
startsWith
(
"
http
"
)
&&
!
id
.
startsWith
(
"
/erp5_/
"
)
&&
//rmove meta of package
!
id
.
startsWith
(
"
/assets/
"
)
// remove github added assets
)
{
last_index
=
id
.
lastIndexOf
(
"
/
"
)
+
1
;
if
(
last_index
===
id
.
length
)
{
path
=
id
||
"
/
"
;
...
...
@@ -97,8 +102,10 @@
}
}
}
filename
=
new_id
.
split
(
"
/
"
).
join
(
"
_
"
).
split
(
"
.
"
).
join
(
"
_
"
)
+
'
.
'
+
ext
;
filename_xml
=
new_id
.
split
(
"
/
"
).
join
(
"
_
"
).
split
(
"
.
"
).
join
(
"
_
"
)
+
'
.xml
'
;
filename
=
new_id
.
split
(
"
/
"
)
.
join
(
"
_
"
).
split
(
"
.
"
).
join
(
"
_
"
)
+
'
.
'
+
ext
;
filename_xml
=
new_id
.
split
(
"
/
"
)
.
join
(
"
_
"
).
split
(
"
.
"
).
join
(
"
_
"
)
+
'
.xml
'
;
if
(
!
context
.
_id_dict
.
hasOwnProperty
(
path
))
{
context
.
_id_dict
[
path
]
=
{};
}
...
...
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