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
8be52cfe
Commit
8be52cfe
authored
Dec 10, 2020
by
aniket-engg
Committed by
Aniket
Dec 11, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
var to const
parent
2144f3a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
examples.js
apps/remix-ide/src/app/editor/examples.js
+4
-4
No files found.
apps/remix-ide/src/app/editor/examples.js
View file @
8be52cfe
...
@@ -221,7 +221,7 @@ contract Ballot {
...
@@ -221,7 +221,7 @@ contract Ballot {
}
}
`
`
ballotTest
=
`// SPDX-License-Identifier: GPL-3.0
const
ballotTest
=
`// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.8.0;
pragma solidity >=0.7.0 <0.8.0;
import "remix_tests.sol"; // this import is automatically injected by Remix.
import "remix_tests.sol"; // this import is automatically injected by Remix.
...
@@ -248,7 +248,7 @@ contract BallotTest {
...
@@ -248,7 +248,7 @@ contract BallotTest {
}
}
}
}
`
`
var
deployWithWeb3
=
`(async () => {
const
deployWithWeb3
=
`(async () => {
try {
try {
console.log('Running deployWithWeb3 script...')
console.log('Running deployWithWeb3 script...')
...
@@ -280,7 +280,7 @@ var deployWithWeb3 = `(async () => {
...
@@ -280,7 +280,7 @@ var deployWithWeb3 = `(async () => {
}
}
})()`
})()`
var
deployWithEthers
=
`(async function() {
const
deployWithEthers
=
`(async function() {
try {
try {
console.log('Running deployWithEthers script...')
console.log('Running deployWithEthers script...')
...
@@ -309,7 +309,7 @@ var deployWithEthers = `(async function() {
...
@@ -309,7 +309,7 @@ var deployWithEthers = `(async function() {
}
}
})()`
})()`
var
readme
=
`REMIX EXAMPLE PROJECT
const
readme
=
`REMIX EXAMPLE PROJECT
Remix example project is the project which is there at the time of very first loading of Remix. It contains mainly 3 directories:
Remix example project is the project which is there at the time of very first loading of Remix. It contains mainly 3 directories:
'contracts', 'scripts' & 'tests'.
'contracts', 'scripts' & 'tests'.
...
...
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