Skip to content

Commit

Permalink
#115 Remove unused proc
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippMDoerner committed Jun 22, 2024
1 parent f9d7560 commit 26385a6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions owlkettle/widgetdef.nim
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,6 @@ proc value(field: Field): NimNode =
result.copyLineInfo(field.lineInfo)

proc stateName(def: WidgetDef): string = def.name & "State"
proc camelCase(s: string): string =
result = s
result[0] = ($result[0]).toLower()[0]
proc refName(def: WidgetDef): string = def.name.camelCase() & "Ref"

proc widgetBase(def: WidgetDef): NimNode =
if def.base.len == 0:
Expand Down

0 comments on commit 26385a6

Please sign in to comment.