jenkins-bot has submitted this change and it was merged.
Change subject: Fix whitespaces
..
Fix whitespaces
Change-Id: Ia26f885ac2423d9f4a67b9e4d58a90aba22d0f07
---
M modules/jquery.codeEditor.js
1 file changed, 8 insertions(+), 8 deletions(-)
Approvals:
Bartosz Dziewoński: Looks good to me, approved
TheDJ: Looks good to me, approved
jenkins-bot: Verified
diff --git a/modules/jquery.codeEditor.js b/modules/jquery.codeEditor.js
index e0c4803..68a57c6 100644
--- a/modules/jquery.codeEditor.js
+++ b/modules/jquery.codeEditor.js
@@ -7,7 +7,7 @@
*/
'req': [ 'codeEditor' ],
/**
-* Compatability map
+* Compatability map
*/
browsers: {
msie: [['=', 8]],
@@ -125,8 +125,8 @@
};
context.api.addToToolbar( context, {
'section': 'main',
- 'groups' : {
- 'codeeditor-main' : {
+ 'groups': {
+ 'codeeditor-main': {
'tools': {
'codeEditor': {
'labelMsg': 'codeeditor-toolbar-toggle',
@@ -139,8 +139,8 @@
}
}
},
- 'codeeditor-tools' : {
- 'tools' : {
+ 'codeeditor-tools': {
+ 'tools': {
}
}
}
@@ -257,7 +257,7 @@
},
/**
-* Turn off the code editor view and return to the
plain textarea.
+* Turn off the code editor view and return to the
plain textarea.
* May be needed by some folks with funky browsers, or
just to compare.
*/
'disableCodeEditor': function () {
@@ -429,7 +429,7 @@
addToStatus( status, ( c.row +
1 ) + ':' + c.column, '' );
if (
!editor.selection.isEmpty() ) {
r =
editor.getSelectionRange();
- addToStatus( status,
'(' + ( r.end.row - r.start.row ) + ':' + ( r.end.column - r.start.column ) +
')' );
+ addToStatus( status,
'(' + ( r.end.row - r.start.row ) + ':' + ( r.end.column - r.start.column ) +
')' );
}
status.pop();
$lineAndMode.text( status.join(
'' ) );
@@ -640,7 +640,7 @@
row++;
}
col = offset - pos;
- return {row: row, column: col};
+ return { row: row, column: col };
};
start = offsetToPos( options.start );
end = offsetToPos( options.end );
--
To view, visit https://gerrit.wikimedia.org/r/187337
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia26f885ac2423d9f4a67b9e4d58a90aba22d0f07
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/CodeEditor
Gerrit-Branch: master
Gerrit-Owner: Gerrit Patch Uploader gerritpatchuploa...@gmail.com
Gerrit-Reviewer: Bartosz Dziewoński matma@gmail.com
Gerrit-Reviewer: Gerrit Patch Uploader gerritpatchuploa...@gmail.com
Gerrit-Reviewer: TheDJ hartman.w...@gmail.com
Gerrit-Reviewer: jenkins-bot
___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits