Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

Commit

Permalink
refactor: change class method naming style (#1) (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyugabokko authored and lc-soft committed Jul 22, 2019
1 parent 1d14a75 commit 85531ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/trad/index.js
Expand Up @@ -694,7 +694,7 @@ class CMethod extends CFunction {
}

get cName() {
const name = `${this.parent.className}_${capitalize(this.methodName)}`
const name = `${this.parent.className}_${this.isStatic ? '_' : ''}${capitalize(this.methodName)}`

if (this.parent.useNamespaceForMethods && this.parent.namespace) {
return `${this.parent.namespace}_${name}`
Expand Down

0 comments on commit 85531ec

Please sign in to comment.