Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
0c50be4f
Commit
0c50be4f
authored
May 12, 2015
by
xjm
Browse files
Issue
#2487261
by nod_, alanburke: Eslint config update for function spacing style
parent
b03932be
Changes
3
Hide whitespace changes
Inline
Side-by-side
.eslintrc
View file @
0c50be4f
...
...
@@ -33,8 +33,9 @@
"no-unused-vars": [2, {"vars": "local", "args": "none"}],
"one-var": [2, "never"],
"semi": [2, "always"],
"space-after-keywords": [2, "always"
, {"checkFunctionKeyword": true}
],
"space-after-keywords": [2, "always"],
"space-before-blocks": [2, "always"],
"space-before-function-paren": [2, {"anonymous": "always", "named": "never"}],
"space-in-brackets": [2, "never"],
"space-in-parens": [2, "never"],
"spaced-line-comment": [2, "always"],
...
...
core/misc/dialog/dialog.ajax.js
View file @
0c50be4f
...
...
@@ -37,7 +37,7 @@
var
originalClose
=
settings
.
dialog
.
close
;
// Overwrite the close method to remove the dialog on closing.
settings
.
dialog
.
close
=
function
(
event
)
{
settings
.
dialog
.
close
=
function
(
event
)
{
originalClose
.
apply
(
settings
.
dialog
,
arguments
);
$
(
event
.
target
).
remove
();
};
...
...
core/modules/tour/js/tour.js
View file @
0c50be4f
...
...
@@ -23,7 +23,7 @@
*/
Drupal
.
behaviors
.
tour
=
{
attach
:
function
(
context
)
{
$
(
'
body
'
).
once
(
'
tour
'
).
each
(
function
()
{
$
(
'
body
'
).
once
(
'
tour
'
).
each
(
function
()
{
var
model
=
new
Drupal
.
tour
.
models
.
StateModel
();
new
Drupal
.
tour
.
views
.
ToggleTourView
({
el
:
$
(
context
).
find
(
'
#toolbar-tab-tour
'
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment