Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
122a8dc3
Commit
122a8dc3
authored
Dec 03, 2020
by
aniket-engg
Committed by
Aniket
Dec 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remix-lib storage prefix instance improved
parent
168f48c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
storage.ts
libs/remix-lib/src/storage.ts
+2
-2
No files found.
libs/remix-lib/src/storage.ts
View file @
122a8dc3
...
...
@@ -73,8 +73,8 @@ export class Storage {
keys
()
{
return
this
.
safeKeys
()
// filter any names not including the prefix
.
filter
(
function
(
item
)
{
return
item
.
indexOf
(
this
.
prefix
,
0
)
===
0
}
)
.
filter
(
item
=>
item
.
indexOf
(
this
.
prefix
,
0
)
===
0
)
// remove prefix from filename and add the 'browser' path
.
map
(
function
(
item
)
{
return
item
.
substr
(
this
.
prefix
.
length
)
}
)
.
map
(
item
=>
item
.
substr
(
this
.
prefix
.
length
)
)
}
}
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