dphelper 0.2.42 → 0.2.46
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/index.js +2 -12
- package/index.js.LICENSE.txt +24 -0
- package/package.json +2 -5
- package/.editorconfig +0 -14
- package/.eslintrc.json +0 -36
- package/.gitattributes +0 -2
- package/.jshintrc +0 -13
- package/.prettierignore +0 -2
- package/.prettierrc +0 -7
- package/.vscode/settings.json +0 -19
- package/3party/shortcut.js +0 -224
- package/data/list.json +0 -19
- package/index.d.ts +0 -9
- package/init.js +0 -51
- package/scripts/anchorToOnClick.js +0 -47
- package/scripts/array.js +0 -142
- package/scripts/browser.js +0 -65
- package/scripts/console.js +0 -86
- package/scripts/coodinates.js +0 -41
- package/scripts/cookie.js +0 -97
- package/scripts/currency.js +0 -41
- package/scripts/date.js +0 -101
- package/scripts/disable.js +0 -90
- package/scripts/event.js +0 -39
- package/scripts/font.js +0 -52
- package/scripts/form.js +0 -113
- package/scripts/function.js +0 -47
- package/scripts/indexedDB.js +0 -222
- package/scripts/json.js +0 -42
- package/scripts/load.js +0 -85
- package/scripts/noCache.js +0 -26
- package/scripts/number.js +0 -66
- package/scripts/obj.js +0 -81
- package/scripts/onBeforeUnLoad.js +0 -120
- package/scripts/parseBool.js +0 -27
- package/scripts/path.js +0 -94
- package/scripts/promise.js +0 -35
- package/scripts/purge.js +0 -53
- package/scripts/screen.js +0 -64
- package/scripts/scrollbar.js +0 -226
- package/scripts/shortcut.js +0 -70
- package/scripts/storage.js +0 -62
- package/scripts/svg.js +0 -372
- package/scripts/text.js +0 -78
- package/scripts/time.js +0 -41
- package/scripts/timer.js +0 -35
- package/scripts/trigger.js +0 -46
- package/scripts/type.js +0 -56
- package/scripts/uuid.js +0 -33
- package/scripts/window.js +0 -50
- package/ws.code-workspace +0 -73
package/scripts/window.js
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* dpHelper <https://github.com/passariello/dpHelper>
|
|
3
|
-
* Copyright (c) 2021, Dario Passariello.
|
|
4
|
-
* Licensed under the Apache-2.0 License.
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
/***********************************************************************/
|
|
8
|
-
|
|
9
|
-
var description = {
|
|
10
|
-
"name" : "Window Options",
|
|
11
|
-
"description" : "test",
|
|
12
|
-
"version" : "0.0.1",
|
|
13
|
-
"command" : "window",
|
|
14
|
-
"subCommand" : [],
|
|
15
|
-
"example" : "",
|
|
16
|
-
"author" : "Dario Passariello",
|
|
17
|
-
"active" : true
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
window.dphelper._list.scripts.push( description );
|
|
21
|
-
|
|
22
|
-
/***********************************************************************/
|
|
23
|
-
|
|
24
|
-
window.dphelper.window = () => {
|
|
25
|
-
|
|
26
|
-
window.offScreenBuffering = "auto";
|
|
27
|
-
|
|
28
|
-
// HIDE STATUS INFORMATION ON BROWSER BAR
|
|
29
|
-
//***************************************
|
|
30
|
-
|
|
31
|
-
window.status = "";
|
|
32
|
-
window.defaultStatus = "";
|
|
33
|
-
|
|
34
|
-
// WINDOW ANIMATION
|
|
35
|
-
//**********************************
|
|
36
|
-
|
|
37
|
-
( () => {
|
|
38
|
-
return (
|
|
39
|
-
window.requestAnimationFrame ||
|
|
40
|
-
window.webkitRequestAnimationFrame ||
|
|
41
|
-
window.mozRequestAnimationFrame ||
|
|
42
|
-
window.oRequestAnimationFrame ||
|
|
43
|
-
window.msRequestAnimationFrame ||
|
|
44
|
-
function( callback ){
|
|
45
|
-
window.setTimeout( callback, 1000 / 120 );
|
|
46
|
-
}
|
|
47
|
-
);
|
|
48
|
-
})();
|
|
49
|
-
|
|
50
|
-
};
|
package/ws.code-workspace
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"folders": [
|
|
3
|
-
{ "path": "../dpHelper" }
|
|
4
|
-
],
|
|
5
|
-
"settings": {
|
|
6
|
-
|
|
7
|
-
"editor.hover.enabled": true,
|
|
8
|
-
"editor.hover.delay": 1000,
|
|
9
|
-
"editor.quickSuggestions": true,
|
|
10
|
-
"editor.quickSuggestionsDelay": 1000,
|
|
11
|
-
|
|
12
|
-
"editor.tabCompletion": "off",
|
|
13
|
-
"editor.renderWhitespace": "all",
|
|
14
|
-
"editor.acceptSuggestionOnEnter": "on",
|
|
15
|
-
"editor.defaultFormatter": null,
|
|
16
|
-
"editor.formatOnSave": false,
|
|
17
|
-
"editor.autoClosingBrackets": "always",
|
|
18
|
-
"editor.autoClosingOvertype": "always",
|
|
19
|
-
"editor.tabSize": 2,
|
|
20
|
-
"editor.codeActionsOnSave": { "source.organizeImports": false },
|
|
21
|
-
|
|
22
|
-
"files.trimTrailingWhitespace": true,
|
|
23
|
-
"typescript.format.semicolons": "remove",
|
|
24
|
-
"javascript.format.semicolons" : "remove",
|
|
25
|
-
|
|
26
|
-
"[typescript]": {},
|
|
27
|
-
"[markdown]": {},
|
|
28
|
-
"[php]": {},
|
|
29
|
-
"[css]": {},
|
|
30
|
-
"[less]": {},
|
|
31
|
-
"[js]": {},
|
|
32
|
-
|
|
33
|
-
"files.exclude": {
|
|
34
|
-
"**/.DS_Store": true,
|
|
35
|
-
"**/node_modules": true,
|
|
36
|
-
"**/.git": true,
|
|
37
|
-
"**/.svg": true,
|
|
38
|
-
"**/.xml": true,
|
|
39
|
-
"**/node_*": true,
|
|
40
|
-
"**/bower_components": true,
|
|
41
|
-
"**/.cache": true,
|
|
42
|
-
"**/tmp": true,
|
|
43
|
-
"*.lnk": true,
|
|
44
|
-
"node_modules": true,
|
|
45
|
-
".editorconfig": true,
|
|
46
|
-
".prettierrc": true,
|
|
47
|
-
".prettierignore": true,
|
|
48
|
-
"package-lock.json": true,
|
|
49
|
-
".babelrc": true,
|
|
50
|
-
"babel.config.js": true,
|
|
51
|
-
"jest.config.js": true
|
|
52
|
-
},
|
|
53
|
-
|
|
54
|
-
"search.exclude": {
|
|
55
|
-
".editorconfig": true,
|
|
56
|
-
"**/.cache": true,
|
|
57
|
-
"**/.DS_Store": true,
|
|
58
|
-
"**/.git": true,
|
|
59
|
-
"**/.svg": true,
|
|
60
|
-
"**/.xml": true,
|
|
61
|
-
"**/bower_components": true,
|
|
62
|
-
"**/node_*": true,
|
|
63
|
-
"**/node_modules": true,
|
|
64
|
-
"**/tmp": true,
|
|
65
|
-
"babel.config.js": true,
|
|
66
|
-
"jest.config.js": true,
|
|
67
|
-
"node_modules": true,
|
|
68
|
-
"package-lock.json": true
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
}
|