Remove semicolons

This commit is contained in:
Kevin Sawicki
2013-05-28 13:25:09 -07:00
parent ed4d12bfcb
commit a731e4a9b5
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ class PackageGeneratorView extends View
@previouslyFocusedElement = $(':focus')
@message.text("Enter package path")
placeholderName = "package-name"
@miniEditor.setText(fsUtils.join(config.userPackagesDirPath, placeholderName));
@miniEditor.setText(fsUtils.join(config.userPackagesDirPath, placeholderName))
pathLength = @miniEditor.getText().length
@miniEditor.setSelectedBufferRange([[0, pathLength - placeholderName.length], [0, pathLength]])

View File

@@ -59,7 +59,7 @@ _.mixin
# I choose to escape every character with '\'
# even though only some strictly require it when inside of []
regex = RegExp('[' + specials.join('\\') + ']', 'g')
string.replace(regex, "\\$&");
string.replace(regex, "\\$&")
humanizeEventName: (eventName, eventDoc) ->
[namespace, event] = eventName.split(':')