1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-12-22 21:00:23 +01:00

Removed ".js" from require paths

This commit is contained in:
kkapsner 2019-04-08 00:06:25 +02:00
parent 12137402de
commit 7f048b80d7
2 changed files with 6 additions and 6 deletions

View File

@ -5,10 +5,10 @@
"use strict";
const settings = require("./settings");
const {preIntercept: intercept} = require("./intercept.js");
const {ask} = require("./askForPermission.js");
const lists = require("./lists.js");
const {check: originalCheck, checkStack: originalCheckStack} = require("./check.js");
const {preIntercept: intercept} = require("./intercept");
const {ask} = require("./askForPermission");
const lists = require("./lists");
const {check: originalCheck, checkStack: originalCheckStack} = require("./check");
const {getWrapped} = require("./modifiedAPIFunctions");
const extension = require("./extension");
@ -61,7 +61,7 @@
if (data.hasOwnProperty(persistentRndName)){
const persistentRndValue = data[persistentRndName];
notice("got persistent random data", persistentRndValue);
const {persistent: persistentRnd} = require("./randomSupplies.js");
const {persistent: persistentRnd} = require("./randomSupplies");
Object.keys(persistentRndValue).forEach(function(domain){
verbose("random data for", domain, persistentRndValue[domain]);
persistentRnd.setDomainRnd(domain, persistentRndValue[domain]);

View File

@ -13,7 +13,7 @@
}
const logging = require("./logging");
const settingDefinitions = require("./settingDefinitions.js");
const settingDefinitions = require("./settingDefinitions");
const settingContainers = require("./settingContainers");
const definitionsByName = {};
const defaultSymbol = "";