Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
DonNicoJs committed Dec 9, 2016
1 parent 0bb68ab commit 9535eba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stringutilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def toDash(self, name):
return re.sub('([a-z0-9])([A-Z])', r'\1-\2', s1).lower()

def toCamelCase(self, name):
return ''.join(ch.capitalize() if i > 0 else ch for i, ch in enumerate(name.split('_')))
return ''.join(ch.capitalize() if i > 0 else ch for i, ch in enumerate(name.split('-')))


class ConvertPascalUnderscoresCommand(sublime_plugin.TextCommand):
Expand Down

0 comments on commit 9535eba

Please sign in to comment.