mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
lint: use strict
This commit is contained in:
parent
c64b1b8ead
commit
7c51446040
5 changed files with 11 additions and 3 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
'use strict';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This module contains several helper Functions to build Changesets
|
* This module contains several helper Functions to build Changesets
|
||||||
* based on a SkipList
|
* based on a SkipList
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
'use strict';
|
||||||
|
|
||||||
// @license magnet:?xt=urn:btih:8e4f440f4c65981c5bf93c76d35135ba5064d8b7&dn=apache-2.0.txt Apache-2.0
|
// @license magnet:?xt=urn:btih:8e4f440f4c65981c5bf93c76d35135ba5064d8b7&dn=apache-2.0.txt Apache-2.0
|
||||||
/**
|
/**
|
||||||
* Copyright 2011 Peter Martischka, Primary Technology.
|
* Copyright 2011 Peter Martischka, Primary Technology.
|
||||||
|
@ -16,8 +18,6 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* global $, customStart */
|
|
||||||
|
|
||||||
function randomPadName() {
|
function randomPadName() {
|
||||||
// the number of distinct chars (64) is chosen to ensure that the selection will be uniform when
|
// the number of distinct chars (64) is chosen to ensure that the selection will be uniform when
|
||||||
// using the PRNG below
|
// using the PRNG below
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
(function (document) {
|
'use strict';
|
||||||
|
|
||||||
|
((document) => {
|
||||||
// Set language for l10n
|
// Set language for l10n
|
||||||
let language = document.cookie.match(/language=((\w{2,3})(-\w+)?)/);
|
let language = document.cookie.match(/language=((\w{2,3})(-\w+)?)/);
|
||||||
if (language) language = language[1];
|
if (language) language = language[1];
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
'use strict';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Copyright 2009 Google Inc.
|
* Copyright 2009 Google Inc.
|
||||||
*
|
*
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
|
'use strict';
|
||||||
|
|
||||||
module.exports = require('underscore');
|
module.exports = require('underscore');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue