 
 class UpperCase extends TransformString
   @extend()
-  @displayName: 'Upper'
+  displayName: 'Upper'
   hover: icon: ':upper-case:', emoji: ':point_up:'
   getNewText: (text) ->
     text.toUpperCase()
 
 class LowerCase extends TransformString
   @extend()
-  @displayName: 'Lower'
+  displayName: 'Lower'
   hover: icon: ':lower-case:', emoji: ':point_down:'
   getNewText: (text) ->
     text.toLowerCase()
 
 class CamelCase extends TransformString
   @extend()
-  @displayName: 'Camelize'
+  displayName: 'Camelize'
   hover: icon: ':camel-case:', emoji: ':camel:'
   getNewText: (text) ->
-    _.camelize text
+    _.camelize(text)
 
 class SnakeCase extends TransformString
   @extend()
-  @displayName: 'Underscore _'
+  displayName: 'Underscore _'
   hover: icon: ':snake-case:', emoji: ':snake:'
   getNewText: (text) ->
-    _.underscore text
+    _.underscore(text)
 
 class DashCase extends TransformString
   @extend()
-  @displayName: 'Dasherize -'
+  displayName: 'Dasherize -'
   hover: icon: ':dash-case:', emoji: ':dash:'
   getNewText: (text) ->
-    _.dasherize text
+    _.dasherize(text)
 
 class TitleCase extends TransformString
   @extend()
-  @displayName: 'Titlize'
+  displayName: 'Titlize'
   getNewText: (text) ->
     _.humanizeEventName(_.dasherize(text))
 
 class EncodeUriComponent extends TransformString
   @extend()
-  @displayName: 'Encode URI Component %'
+  displayName: 'Encode URI Component %'
   hover: icon: 'encodeURI', emoji: 'encodeURI'
   getNewText: (text) ->
     encodeURIComponent(text)
 
 class DecodeUriComponent extends TransformString
   @extend()
-  @displayName: 'Decode URI Component %%'
+  displayName: 'Decode URI Component %%'
   hover: icon: 'decodeURI', emoji: 'decodeURI'
   getNewText: (text) ->
     decodeURIComponent(text)


class DecrementNumber extends IncrementNumber
  @extend()
  @displayName: 'Decrement --'
  step: -1

# Put

# -------------------------
class ToggleCase extends TransformString
  @extend()
  displayName: 'Toggle ~'
  hover: icon: ':toggle-case:', emoji: ':clap:'
  toggleCase: (char) ->
    charLower = cahr.toLowerCase()
    if charLower is char
      char.toUpperCase()
    else
      charLower
