-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* TODO TODO * docs, notes, UX docs, notes, UX * fixed / optimized page loading, tweaks fixed / optimized page loading, tweaks * tweaks tweaks
- Loading branch information
1 parent
3961807
commit b902ea2
Showing
20 changed files
with
331 additions
and
292 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?php | ||
/* | ||
* Copyright 2014-2024 GPLv3, Open Crypto Tracker by Mike Kilday: Mike@DragonFrugal.com (leave this copyright / attribution intact in ALL forks / copies!) | ||
*/ | ||
|
||
|
||
// First of all send javascript header | ||
header("Content-type: application/javascript"); | ||
|
||
// Array of JS files | ||
$js = array( | ||
'jquery-3.6.3.min.js', | ||
'jquery.tablesorter.min.js', | ||
'jquery.tablesorter.widgets.min.js', | ||
'jquery.tablesorter.pager.js', | ||
'jquery.tablesorter.pager-custom-controls.js', | ||
'jquery.balloon.min.js', | ||
'jquery.repeatable.js', | ||
'jstree.min.js', | ||
'jquery.mCustomScrollbar.concat.min.js', | ||
); | ||
|
||
// Prevent a notice | ||
$js_content = ''; | ||
|
||
// Loop the js Array | ||
foreach ($js as $js_file) { | ||
// Load the content of the js file | ||
$js_content .= "\n\n\n\n" . '/******* COMBINED JAVASCRIPT FILE: '.$js_file.' *******/ ' . "\n\n\n\n" . file_get_contents($js_file); | ||
} | ||
|
||
// print the js content | ||
echo $js_content; | ||
|
||
gc_collect_cycles(); // Clean memory cache | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?php | ||
/* | ||
* Copyright 2014-2024 GPLv3, Open Crypto Tracker by Mike Kilday: Mike@DragonFrugal.com (leave this copyright / attribution intact in ALL forks / copies!) | ||
*/ | ||
|
||
|
||
// First of all send javascript header | ||
header("Content-type: application/javascript"); | ||
|
||
// Array of JS files | ||
$js = array( | ||
'modaal.js', | ||
'base64-decode.js', | ||
'autosize.min.js', | ||
'popper.min.js', | ||
'zingchart.min.js', | ||
'insQ.min.js', | ||
'crypto-js.js', | ||
'var_defaults.js', | ||
'functions.js', | ||
'highlight.min.js', | ||
); | ||
|
||
// Prevent a notice | ||
$js_content = ''; | ||
|
||
// Loop the js Array | ||
foreach ($js as $js_file) { | ||
// Load the content of the js file | ||
$js_content .= "\n\n\n\n" . '/******* COMBINED JAVASCRIPT FILE: '.$js_file.' *******/ ' . "\n\n\n\n" . file_get_contents($js_file); | ||
} | ||
|
||
// print the js content | ||
echo $js_content; | ||
|
||
gc_collect_cycles(); // Clean memory cache | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.