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
d5f34486
Commit
d5f34486
authored
Mar 15, 2019
by
LianaHus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup
parent
26218361
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
file-explorer.js
src/app/files/file-explorer.js
+2
-4
No files found.
src/app/files/file-explorer.js
View file @
d5f34486
...
@@ -63,8 +63,6 @@ function fileExplorer (localRegistry, files, menuItems) {
...
@@ -63,8 +63,6 @@ function fileExplorer (localRegistry, files, menuItems) {
fileManager
:
self
.
_components
.
registry
.
get
(
'filemanager'
).
api
fileManager
:
self
.
_components
.
registry
.
get
(
'filemanager'
).
api
}
}
self
.
_components
.
registry
.
put
(
`fileexplorer
${
files
.
type
}
`
,
this
)
// warn if file changed outside of Remix
// warn if file changed outside of Remix
function
remixdDialog
()
{
function
remixdDialog
()
{
return
yo
`<div>This file has been changed outside of Remix IDE.</div>`
return
yo
`<div>This file has been changed outside of Remix IDE.</div>`
...
@@ -316,11 +314,11 @@ fileExplorer.prototype.init = function () {
...
@@ -316,11 +314,11 @@ fileExplorer.prototype.init = function () {
return
this
.
container
return
this
.
container
}
}
fileExplorer
.
prototype
.
publishToGist
=
function
(
fileProviderName
)
{
fileExplorer
.
prototype
.
publishToGist
=
function
()
{
modalDialogCustom
.
confirm
(
modalDialogCustom
.
confirm
(
null
,
null
,
'Are you sure you want to publish all your files anonymously as a public gist on github.com?'
,
'Are you sure you want to publish all your files anonymously as a public gist on github.com?'
,
()
=>
{
this
.
toGist
(
fileProviderName
)
}
()
=>
{
this
.
toGist
()
}
)
)
}
}
...
...
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