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
ec6d67fa
Commit
ec6d67fa
authored
Jul 04, 2018
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove compiler local var
parent
0e7632fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
app.js
src/app.js
+5
-6
No files found.
src/app.js
View file @
ec6d67fa
...
...
@@ -389,10 +389,9 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
// ----------------- Compiler -----------------
self
.
_components
.
compiler
=
new
Compiler
((
url
,
cb
)
=>
self
.
importFileCb
(
url
,
cb
))
var
compiler
=
self
.
_components
.
compiler
registry
.
put
({
api
:
compiler
,
name
:
'compiler'
})
registry
.
put
({
api
:
self
.
_components
.
compiler
,
name
:
'compiler'
})
var
offsetToLineColumnConverter
=
new
OffsetToLineColumnConverter
(
compiler
.
event
)
var
offsetToLineColumnConverter
=
new
OffsetToLineColumnConverter
(
self
.
_components
.
compiler
.
event
)
registry
.
put
({
api
:
offsetToLineColumnConverter
,
name
:
'offsettolinecolumnconverter'
})
// ----------------- UniversalDApp -----------------
...
...
@@ -409,8 +408,8 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
var
transactionReceiptResolver
=
new
TransactionReceiptResolver
()
var
compiledContracts
=
function
()
{
if
(
compiler
.
lastCompilationResult
&&
compiler
.
lastCompilationResult
.
data
)
{
return
compiler
.
lastCompilationResult
.
data
.
contracts
if
(
self
.
_components
.
compiler
.
lastCompilationResult
&&
self
.
_components
.
compiler
.
lastCompilationResult
.
data
)
{
return
self
.
_components
.
compiler
.
lastCompilationResult
.
data
.
contracts
}
return
null
}
...
...
@@ -551,7 +550,7 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
var
queryParams
=
new
QueryParams
()
// check init query parameters from the URL once the compiler is loaded
compiler
.
event
.
register
(
'compilerLoaded'
,
this
,
function
(
version
)
{
self
.
_components
.
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