mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-04-18 08:08:28 +02:00
Removed ".js" from require paths
This commit is contained in:
parent
12137402de
commit
7f048b80d7
10
lib/frame.js
10
lib/frame.js
@ -5,10 +5,10 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
const settings = require("./settings");
|
const settings = require("./settings");
|
||||||
const {preIntercept: intercept} = require("./intercept.js");
|
const {preIntercept: intercept} = require("./intercept");
|
||||||
const {ask} = require("./askForPermission.js");
|
const {ask} = require("./askForPermission");
|
||||||
const lists = require("./lists.js");
|
const lists = require("./lists");
|
||||||
const {check: originalCheck, checkStack: originalCheckStack} = require("./check.js");
|
const {check: originalCheck, checkStack: originalCheckStack} = require("./check");
|
||||||
const {getWrapped} = require("./modifiedAPIFunctions");
|
const {getWrapped} = require("./modifiedAPIFunctions");
|
||||||
const extension = require("./extension");
|
const extension = require("./extension");
|
||||||
|
|
||||||
@ -61,7 +61,7 @@
|
|||||||
if (data.hasOwnProperty(persistentRndName)){
|
if (data.hasOwnProperty(persistentRndName)){
|
||||||
const persistentRndValue = data[persistentRndName];
|
const persistentRndValue = data[persistentRndName];
|
||||||
notice("got persistent random data", persistentRndValue);
|
notice("got persistent random data", persistentRndValue);
|
||||||
const {persistent: persistentRnd} = require("./randomSupplies.js");
|
const {persistent: persistentRnd} = require("./randomSupplies");
|
||||||
Object.keys(persistentRndValue).forEach(function(domain){
|
Object.keys(persistentRndValue).forEach(function(domain){
|
||||||
verbose("random data for", domain, persistentRndValue[domain]);
|
verbose("random data for", domain, persistentRndValue[domain]);
|
||||||
persistentRnd.setDomainRnd(domain, persistentRndValue[domain]);
|
persistentRnd.setDomainRnd(domain, persistentRndValue[domain]);
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
const logging = require("./logging");
|
const logging = require("./logging");
|
||||||
const settingDefinitions = require("./settingDefinitions.js");
|
const settingDefinitions = require("./settingDefinitions");
|
||||||
const settingContainers = require("./settingContainers");
|
const settingContainers = require("./settingContainers");
|
||||||
const definitionsByName = {};
|
const definitionsByName = {};
|
||||||
const defaultSymbol = "";
|
const defaultSymbol = "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user