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
989d6f18
Commit
989d6f18
authored
Aug 22, 2018
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix tests
parent
4d0269af
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
package.json
package.json
+1
-0
index.html
src/app/debugger/remix-debugger/index.html
+0
-2
EthdebuggerUI.js
src/app/debugger/remix-debugger/src/ui/EthdebuggerUI.js
+2
-2
insertTestWeb3.js
...ebugger/test-browser-debugger/resources/insertTestWeb3.js
+1
-0
No files found.
package.json
View file @
989d6f18
...
@@ -157,6 +157,7 @@
...
@@ -157,6 +157,7 @@
"make-mock-compiler"
:
"node ci/makeMockCompiler.js"
,
"make-mock-compiler"
:
"node ci/makeMockCompiler.js"
,
"minify"
:
"uglifyjs --in-source-map inline --source-map-inline -c warnings=false"
,
"minify"
:
"uglifyjs --in-source-map inline --source-map-inline -c warnings=false"
,
"nightwatch_local"
:
"nightwatch --config nightwatch.js --env local"
,
"nightwatch_local"
:
"nightwatch --config nightwatch.js --env local"
,
"nightwatch_local_debugger"
:
"nightwatch --config nightwatch_debugger.js --env local"
,
"nightwatch_remote_chrome"
:
"nightwatch --config nightwatch.js --env chrome"
,
"nightwatch_remote_chrome"
:
"nightwatch --config nightwatch.js --env chrome"
,
"nightwatch_remote_firefox"
:
"nightwatch --config nightwatch.js --env default"
,
"nightwatch_remote_firefox"
:
"nightwatch --config nightwatch.js --env default"
,
"nightwatch_remote_ie"
:
"nightwatch --config nightwatch.js --env ie"
,
"nightwatch_remote_ie"
:
"nightwatch --config nightwatch.js --env ie"
,
...
...
src/app/debugger/remix-debugger/index.html
View file @
989d6f18
...
@@ -9,8 +9,6 @@
...
@@ -9,8 +9,6 @@
var
container
=
document
.
getElementById
(
'app'
)
var
container
=
document
.
getElementById
(
'app'
)
var
debuggerBackend
=
new
window
.
remix
.
ui
.
DebuggerBackend
({})
var
debuggerBackend
=
new
window
.
remix
.
ui
.
DebuggerBackend
({})
container
.
debugger
=
new
window
.
remix
.
ui
.
Debugger
({
debugger
:
debuggerBackend
})
container
.
debugger
=
new
window
.
remix
.
ui
.
Debugger
({
debugger
:
debuggerBackend
})
debuggerBackend
.
addProvider
(
'INTERNAL'
)
debuggerBackend
.
switchProvider
(
'INTERNAL'
)
container
.
appendChild
(
container
.
debugger
.
render
())
container
.
appendChild
(
container
.
debugger
.
render
())
}
}
</script>
</script>
...
...
src/app/debugger/remix-debugger/src/ui/EthdebuggerUI.js
View file @
989d6f18
...
@@ -63,9 +63,9 @@ EthdebuggerUI.prototype.get_web3 = function () {
...
@@ -63,9 +63,9 @@ EthdebuggerUI.prototype.get_web3 = function () {
return
this
.
web3
return
this
.
web3
}
}
EthdebuggerUI
.
prototype
.
updateWeb3Reference
=
function
()
{
EthdebuggerUI
.
prototype
.
updateWeb3Reference
=
function
(
web3
)
{
if
(
!
this
.
txBrowser
)
return
if
(
!
this
.
txBrowser
)
return
this
.
txBrowser
.
web3
=
executionContext
.
web3
()
this
.
txBrowser
.
web3
=
web3
||
executionContext
.
web3
()
}
}
EthdebuggerUI
.
prototype
.
setCompilationResult
=
function
(
compilationResult
)
{
EthdebuggerUI
.
prototype
.
setCompilationResult
=
function
(
compilationResult
)
{
...
...
src/app/debugger/remix-debugger/test-browser-debugger/resources/insertTestWeb3.js
View file @
989d6f18
...
@@ -58,6 +58,7 @@ function loadTestWeb3 (data) {
...
@@ -58,6 +58,7 @@ function loadTestWeb3 (data) {
uiTestweb3
.
currentProvider
=
{
host
:
'web3 modified for testing purposes :)'
}
uiTestweb3
.
currentProvider
=
{
host
:
'web3 modified for testing purposes :)'
}
vmdebugger
.
addProvider
(
'TEST'
,
uiTestweb3
)
vmdebugger
.
addProvider
(
'TEST'
,
uiTestweb3
)
vmdebugger
.
switchProvider
(
'TEST'
)
vmdebugger
.
switchProvider
(
'TEST'
)
container
.
debugger
.
updateWeb3Reference
(
uiTestweb3
)
}
}
function
waitForRemix
(
data
)
{
function
waitForRemix
(
data
)
{
...
...
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