Skip to content

Commit

Permalink
Remove .DS_Store files
Browse files Browse the repository at this point in the history
  • Loading branch information
ninabreznik committed Dec 19, 2017
1 parent 8917c13 commit f1654fc
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 2 deletions.
Binary file removed .DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ npm-debug.log*
babelify-src
package-lock.json
remix
.DS_Store
Binary file removed assets/.DS_Store
Binary file not shown.
Binary file removed assets/img/.DS_Store
Binary file not shown.
5 changes: 3 additions & 2 deletions src/app/editor/contextualListener.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,13 @@ class ContextualListener {
var executionCost
var codeDepositCost
if (node.name === 'FunctionDefinition') {
var visibility = node.attributes.visibility
if (!node.attributes.isConstructor) {
var fnName = node.attributes.name
var fn = fnName + this._getInputParams(node)
if (node.attributes.visibility === 'public') {
if (visibility === 'public' || visibility === 'external') {
executionCost = this.estimationObj.external[fn]
} else if (node.attributes.visibility === 'private') {
} else if (visibility === 'private' || visibility === 'internal') {
executionCost = this.estimationObj.internal[fn]
}
} else {
Expand Down

0 comments on commit f1654fc

Please sign in to comment.