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
e40fe963
Commit
e40fe963
authored
Oct 06, 2015
by
d11e9
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix puncuation and move notice to context toggle titles
parent
847add31
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
index.html
index.html
+9
-4
No files found.
index.html
View file @
e40fe963
...
@@ -66,15 +66,20 @@ THE SOFTWARE.
...
@@ -66,15 +66,20 @@ THE SOFTWARE.
<div
class=
"info"
>
<div
class=
"info"
>
<p>
Version:
<span
id=
"version"
>
(loading)
</span><br/>
<p>
Version:
<span
id=
"version"
>
(loading)
</span><br/>
Change to:
<select
id=
"versionSelector"
></select><br/>
Change to:
<select
id=
"versionSelector"
></select><br/>
Execution environment does not connect to any node by default, everything is local and in memory only.
<br/>
<code>
tx.origin =
<span
id=
"txorigin"
/></code></p>
<code>
tx.origin =
<span
id=
"txorigin"
/></code></p>
</div>
</div>
<div
id=
"optimizeBox"
>
<div
id=
"optimizeBox"
>
<label
for=
"editorWrap"
><input
id=
"editorWrap"
type=
"checkbox"
>
Text Wrap
</label>
<label
for=
"editorWrap"
><input
id=
"editorWrap"
type=
"checkbox"
>
Text Wrap
</label>
<label
for=
"optimize"
><input
id=
"optimize"
type=
"checkbox"
>
Enable Optimization
</label>
<label
for=
"optimize"
><input
id=
"optimize"
type=
"checkbox"
>
Enable Optimization
</label>
<span
id=
"executionContext"
>
<span
id=
"executionContext"
>
<label
for=
"vm"
><input
id=
"vm"
type=
"radio"
value=
"vm"
checked
name=
"executionContext"
>
JavaScript VM
</label>
<label
for=
"vm"
title=
"Execution environment does not connect to any node, everything is local and in memory only."
>
<label
for=
"web3"
><input
id=
"web3"
type=
"radio"
value=
"web3"
name=
"executionContext"
>
Web3 Provider
</label>
<input
id=
"vm"
type=
"radio"
value=
"vm"
checked
name=
"executionContext"
>
JavaScript VM
</label>
<label
for=
"web3"
title=
"Execution environment connects to node at localhost, transactions will be sent to the network and can cause loss of money or worse!"
>
<input
id=
"web3"
type=
"radio"
value=
"web3"
name=
"executionContext"
>
Web3 Provider
</label>
</span>
</span>
</div>
</div>
</div>
</div>
...
@@ -125,7 +130,7 @@ THE SOFTWARE.
...
@@ -125,7 +130,7 @@ THE SOFTWARE.
$web3Toggle
.
on
(
'change'
,
executionContextChange
);
$web3Toggle
.
on
(
'change'
,
executionContextChange
);
function
executionContextChange
(
ev
)
{
function
executionContextChange
(
ev
)
{
if
(
ev
.
target
.
value
==
'web3'
&&
!
confirm
(
"Are you sure you want to connect to a local ethereum node
.
"
)
)
{
if
(
ev
.
target
.
value
==
'web3'
&&
!
confirm
(
"Are you sure you want to connect to a local ethereum node
?
"
)
)
{
$vmToggle
.
get
(
0
).
checked
=
true
;
$vmToggle
.
get
(
0
).
checked
=
true
;
executionContext
=
'vm'
;
executionContext
=
'vm'
;
}
else
executionContext
=
ev
.
target
.
value
;
}
else
executionContext
=
ev
.
target
.
value
;
...
...
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