refactor: remove legacy js files
This commit is contained in:
parent
23438e7cb3
commit
cf3149d69b
2 changed files with 0 additions and 51 deletions
|
|
@ -1,22 +0,0 @@
|
||||||
var hippie = {
|
|
||||||
brand: "|-| | |^ |^ | [- ",
|
|
||||||
screen: {
|
|
||||||
w: Math.max(document.documentElement.offsetWidth, document.documentElement.clientWidth, window.innerWidth, 0),
|
|
||||||
vh: Math.max(document.documentElement.clientHeight, window.innerHeight, 0),
|
|
||||||
dh: Math.max(document.documentElement.offsetHeight, document.documentElement.clientHeight, 0),
|
|
||||||
y: Math.min($(document).scrollTop(), document.documentElement.scrollTop)
|
|
||||||
// hippie.screen.y: document.documentElement.scrollTop
|
|
||||||
},
|
|
||||||
body: {
|
|
||||||
w: Math.max(document.body.offsetWidth, document.body.clientWidth, window.innerWidth, 0),
|
|
||||||
h: Math.max(document.body.offsetHeight, document.body.clientHeight, 0),
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
var viewHover = true;
|
|
||||||
var basicEase = 600;
|
|
||||||
|
|
||||||
var onerowAlphabet = "/\\ ]3 ( |) [- /= (_, |-| | _T /< |_ |\\/| |\\| () |^ ()_ /? _\\~ ~|~ |_| \\/ \\/\\/ >< `/ ~/_ ";
|
|
||||||
var onerowDigits = "\'| ^/_ -} +| ;~ (o \"/ {} \"| (\\) ";
|
|
||||||
|
|
||||||
export { hippie };
|
|
||||||
|
|
@ -1,29 +0,0 @@
|
||||||
// Setup
|
|
||||||
// -----------------------------------------------------------------------------
|
|
||||||
import { hippie } from './config.js';
|
|
||||||
|
|
||||||
// This is called everytime
|
|
||||||
function setup() {
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
console.group('Document information');
|
|
||||||
console.info('\n', config.brand, '\n\n');
|
|
||||||
console.info('\n', hippie.brand, '\n\n');
|
|
||||||
console.info('HTML:', hippie.screen, '\nBODY:', hippie.body);
|
|
||||||
console.groupEnd();
|
|
||||||
if (debugOn) {
|
|
||||||
console.group('Debug information');
|
|
||||||
console.dir(hippie);
|
|
||||||
console.groupEnd();
|
|
||||||
}
|
|
||||||
|
|
||||||
// WANNABE MODULE Mouse over effect
|
|
||||||
// With CSS only
|
|
||||||
if ($('#js_mob').length && viewHover) {
|
|
||||||
$('#js_mob').addClass('mouse_over');
|
|
||||||
}
|
|
||||||
// if (viewHover) {
|
|
||||||
// $('body').prepend('<div id="js_mob" class="mouse_over"></div>');
|
|
||||||
// }
|
|
||||||
// With JS
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue