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
2b031ef2
Commit
2b031ef2
authored
Sep 29, 2015
by
d11e9
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
re-add soljson.js and add version func
parent
c28ac8b3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
index.js
index.js
+3
-1
package.json
package.json
+1
-1
No files found.
index.js
View file @
2b031ef2
...
@@ -6,5 +6,6 @@ compileJSON = soljson.cwrap("compileJSON", "string", ["string", "number"]);
...
@@ -6,5 +6,6 @@ compileJSON = soljson.cwrap("compileJSON", "string", ["string", "number"]);
module
.
exports
=
{
module
.
exports
=
{
compile
:
function
(
input
,
optimise
){
compile
:
function
(
input
,
optimise
){
return
JSON
.
parse
(
compileJSON
(
input
,
optimise
)
);
return
JSON
.
parse
(
compileJSON
(
input
,
optimise
)
);
}
},
version
:
soljson
.
cwrap
(
"version"
,
"string"
,
[])
}
}
\ No newline at end of file
package.json
View file @
2b031ef2
{
{
"name"
:
"
solc
"
,
"name"
:
"
solc
"
,
"version"
:
"0.1.3-
1
"
,
"version"
:
"0.1.3-
2
"
,
"description"
:
"Solidity compiler"
,
"description"
:
"Solidity compiler"
,
"main"
:
"index.js"
,
"main"
:
"index.js"
,
"scripts"
:
{
"scripts"
:
{
...
...
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