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
52b93b83
Commit
52b93b83
authored
Jul 17, 2017
by
yann300
Committed by
GitHub
Jul 17, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #624 from ethereum/fixBuild
don't build using minify and exorcist
parents
65b554fc
5a038f56
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
package.json
package.json
+1
-1
staticAnalysisCommon.js
src/app/staticanalysis/modules/staticAnalysisCommon.js
+1
-0
No files found.
package.json
View file @
52b93b83
...
@@ -127,7 +127,7 @@
...
@@ -127,7 +127,7 @@
]
]
},
},
"scripts"
:
{
"scripts"
:
{
"build"
:
"browserify src/index.js -
d | npm run minify --silent | npm run sourcemap
"
,
"build"
:
"browserify src/index.js -
o build/app.js
"
,
"browsertest"
:
"sleep 5 && npm run nightwatch_local"
,
"browsertest"
:
"sleep 5 && npm run nightwatch_local"
,
"csslint"
:
"csslint --ignore=order-alphabetical --errors='errors,duplicate-properties,empty-rules' --exclude-list='assets/css/font-awesome.min.css' assets/css/"
,
"csslint"
:
"csslint --ignore=order-alphabetical --errors='errors,duplicate-properties,empty-rules' --exclude-list='assets/css/font-awesome.min.css' assets/css/"
,
"downloadsolc"
:
"rimraf soljson.js; wget https://ethereum.github.io/solc-bin/soljson.js"
,
"downloadsolc"
:
"rimraf soljson.js; wget https://ethereum.github.io/solc-bin/soljson.js"
,
...
...
src/app/staticanalysis/modules/staticAnalysisCommon.js
View file @
52b93b83
...
@@ -240,6 +240,7 @@ function getDeclaredVariableName (varDeclNode) {
...
@@ -240,6 +240,7 @@ function getDeclaredVariableName (varDeclNode) {
*/
*/
function
getStateVariableDeclarationsFormContractNode
(
contractNode
)
{
function
getStateVariableDeclarationsFormContractNode
(
contractNode
)
{
if
(
!
isContractDefinition
(
contractNode
))
throw
new
Error
(
'staticAnalysisCommon.js: not an contract definition declaration'
)
if
(
!
isContractDefinition
(
contractNode
))
throw
new
Error
(
'staticAnalysisCommon.js: not an contract definition declaration'
)
if
(
!
contractNode
.
children
)
return
[]
return
contractNode
.
children
.
filter
((
el
)
=>
isVariableDeclaration
(
el
))
return
contractNode
.
children
.
filter
((
el
)
=>
isVariableDeclaration
(
el
))
}
}
...
...
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