lint: use strict

This commit is contained in:
John McLear 2021-02-17 14:55:54 +00:00
parent c64b1b8ead
commit 7c51446040
5 changed files with 11 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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];

View file

@ -1,3 +1,5 @@
'use strict';
/** /**
* Copyright 2009 Google Inc. * Copyright 2009 Google Inc.
* *

View file

@ -1 +1,3 @@
'use strict';
module.exports = require('underscore'); module.exports = require('underscore');