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
b5118a3f
Commit
b5118a3f
authored
Jun 28, 2018
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add comments
parent
3d04df42
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
app.js
src/app.js
+4
-1
No files found.
src/app.js
View file @
b5118a3f
...
...
@@ -615,18 +615,21 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
},
5000
)
}
// auto save the file when content changed
editor
.
event
.
register
(
'contentChanged'
,
editorOnChange
)
//
in order to
save the file when switching
// save the file when switching
editor
.
event
.
register
(
'sessionSwitched'
,
editorOnChange
)
executionContext
.
event
.
register
(
'contextChanged'
,
this
,
function
(
context
)
{
self
.
runCompiler
()
})
// rerun the compiler when the environement changed
executionContext
.
event
.
register
(
'web3EndpointChanged'
,
this
,
function
(
context
)
{
self
.
runCompiler
()
})
// check init query parameters from the URL once the compiler is loaded
compiler
.
event
.
register
(
'compilerLoaded'
,
this
,
function
(
version
)
{
previousInput
=
''
self
.
runCompiler
()
...
...
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