mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-26 10:26:15 -04:00
lint: Put opening brace on same line as function
Normally I would let `eslint --fix` do this for me, but there's a bug that causes: const x = function () { // ... }; to become: const x = () => { // ... }; which ESLint thinks is a syntax error. (It probably is; I don't know enough about the automatic semicolon insertion rules to be confident.)
This commit is contained in:
parent
cc988bd67b
commit
7df3ded66f
66 changed files with 1036 additions and 2072 deletions
|
@ -1,5 +1,4 @@
|
|||
function customStart()
|
||||
{
|
||||
function customStart() {
|
||||
//define your javascript here
|
||||
//jquery is available - except index.js
|
||||
//you can load extra scripts with $.getScript http://api.jquery.com/jQuery.getScript/
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
function customStart()
|
||||
{
|
||||
function customStart() {
|
||||
$('#pad_title').show();
|
||||
$('.buttonicon').mousedown(function() { $(this).parent().addClass('pressed'); })
|
||||
$('.buttonicon').mouseup(function() { $(this).parent().removeClass('pressed'); })
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
function customStart()
|
||||
{
|
||||
function customStart() {
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue