dphelper 0.2.40 → 0.2.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/FUNDING.yml +4 -3
- package/package.json +1 -1
- package/scripts/load.js +2 -1
package/.github/FUNDING.yml
CHANGED
|
@@ -4,9 +4,10 @@ github: passariello
|
|
|
4
4
|
patreon: passariello
|
|
5
5
|
open_collective: # Replace with a single Open Collective username
|
|
6
6
|
ko_fi: passariello
|
|
7
|
+
indiegogo: passariello
|
|
7
8
|
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
|
|
8
9
|
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
|
|
9
|
-
liberapay:
|
|
10
|
-
issuehunt:
|
|
10
|
+
liberapay: passariello
|
|
11
|
+
issuehunt: passariello
|
|
11
12
|
otechie: # Replace with a single Otechie username
|
|
12
|
-
custom:
|
|
13
|
+
custom: ["https://dario.passariello.ca", "https://www.paypal.me/dariopassariello", "https://www.indiegogo.com/individuals/28513718"]
|
package/package.json
CHANGED
package/scripts/load.js
CHANGED
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
var cntx = require.context( __dirname + '/scripts/', false , /\.js$/ );
|
|
40
40
|
dphelper.load.import( cntx );
|
|
41
41
|
*/
|
|
42
|
+
/*
|
|
42
43
|
import: ( dir , type = false , extension = /\.js$/ ) => {
|
|
43
44
|
let r = require.context( dir , type , extension );
|
|
44
45
|
r.keys().forEach(
|
|
@@ -47,7 +48,7 @@
|
|
|
47
48
|
)
|
|
48
49
|
);
|
|
49
50
|
},
|
|
50
|
-
|
|
51
|
+
*/
|
|
51
52
|
file: (element, path) => {
|
|
52
53
|
fetch(path).then(async function (response) {
|
|
53
54
|
const text = await response.text();
|