Add "use strict" on JS
This commit is contained in:
parent
985a08545d
commit
7b1ffebcfb
2 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,8 @@
|
||||||
** Find a copy of GPL at https://sfconservancy.org/GPLv3
|
** Find a copy of GPL at https://sfconservancy.org/GPLv3
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function qs (selector) {
|
function qs (selector) {
|
||||||
return document.querySelector(selector);
|
return document.querySelector(selector);
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
** Find a copy of GPL at https://sfconservancy.org/GPLv3
|
** Find a copy of GPL at https://sfconservancy.org/GPLv3
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
|
||||||
var NEW_AMOUNT_EVENT = 'conservancy:newamount';
|
var NEW_AMOUNT_EVENT = 'conservancy:newamount';
|
||||||
|
|
||||||
var flipClass = function(elem, byeClass, hiClass) {
|
var flipClass = function(elem, byeClass, hiClass) {
|
||||||
|
|
Loading…
Reference in a new issue