mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Remove semicolons
This commit is contained in:
@@ -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]])
|
||||
|
||||
|
||||
@@ -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(':')
|
||||
|
||||
Reference in New Issue
Block a user