Commit f1654fcd authored by ninabreznik's avatar ninabreznik

Remove .DS_Store files

parent 8917c13d
File deleted
...@@ -7,3 +7,4 @@ npm-debug.log* ...@@ -7,3 +7,4 @@ npm-debug.log*
babelify-src babelify-src
package-lock.json package-lock.json
remix remix
.DS_Store
...@@ -143,12 +143,13 @@ class ContextualListener { ...@@ -143,12 +143,13 @@ class ContextualListener {
var executionCost var executionCost
var codeDepositCost var codeDepositCost
if (node.name === 'FunctionDefinition') { if (node.name === 'FunctionDefinition') {
var visibility = node.attributes.visibility
if (!node.attributes.isConstructor) { if (!node.attributes.isConstructor) {
var fnName = node.attributes.name var fnName = node.attributes.name
var fn = fnName + this._getInputParams(node) var fn = fnName + this._getInputParams(node)
if (node.attributes.visibility === 'public') { if (visibility === 'public' || visibility === 'external') {
executionCost = this.estimationObj.external[fn] executionCost = this.estimationObj.external[fn]
} else if (node.attributes.visibility === 'private') { } else if (visibility === 'private' || visibility === 'internal') {
executionCost = this.estimationObj.internal[fn] executionCost = this.estimationObj.internal[fn]
} }
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment