From 0785d137a8e8afa935389ef85d4ca6cc9c7a4bca Mon Sep 17 00:00:00 2001
From: root
Date: Wed, 29 Oct 2014 00:57:44 +0100
Subject: CDN support is stable.
---
bootstrap.php | 2 +-
index.php | 1 +
js/eyecancer.js | 7 ++++---
js/eyecancer.min.js | 2 +-
js/functions.js | 6 ++++--
static/footer.php | 2 +-
6 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/bootstrap.php b/bootstrap.php
index bb82db1..12c5caf 100644
--- a/bootstrap.php
+++ b/bootstrap.php
@@ -22,7 +22,7 @@ if ( ! defined('URI') )
define('URI', '/');
if ( ! defined('DOMAIN') )
define('DOMAIN', SCHEME . HOST . URI);
-if ( ! define('CDN') ){
+if ( ! defined('CDN') ){
define('CDN', DOMAIN);
}
diff --git a/index.php b/index.php
index 80d2703..b0d80fd 100644
--- a/index.php
+++ b/index.php
@@ -46,6 +46,7 @@ if( ! isset($_GET["page"]) || $_GET["page"] == "" )
+
" . file_get_contents('static/style.min.css');
?>
diff --git a/js/eyecancer.js b/js/eyecancer.js
index c2c2168..e3c3163 100644
--- a/js/eyecancer.js
+++ b/js/eyecancer.js
@@ -22,6 +22,8 @@ function getRandomPosition(pos){
}
function startRandomizer(){
+ var cdn = "https://secure.iamfabulous.de";
+
$("h1").addClass("random-font");
$("table").addClass("effect-vv");
$("form").addClass("effect-vv");
@@ -30,10 +32,9 @@ function startRandomizer(){
var images = ["flare1.png"];
var imgid = ["fi", "si", "ti", "foi"];
for ( var i = 0; i");
+ $(".wrapper").append("
");
}
- $(".navbar").append("")
- $(".wrapper").css({"background-color" : "black"});
+ $(".navbar").append("")
window.setInterval(function () {
$("#gen").remove();
var newcancer = "#";
diff --git a/js/eyecancer.min.js b/js/eyecancer.min.js
index 1483787..25bb486 100644
--- a/js/eyecancer.min.js
+++ b/js/eyecancer.min.js
@@ -1 +1 @@
-function randomizeColor(e){var t=document.getElementsByClassName("random-bg");for(var n=0;n")}$(".navbar").append("");window.setInterval(function(){$("#gen").remove();var t="#";for(var r=0;r<6;r++){t=t+e[Math.floor(Math.random()*e.length)]}randomizeColor(t);$(".gen").fadeOut(750,function(){for(var t=0;t")}$(".navbar").append("");window.setInterval(function(){$("#gen").remove();var e="#";for(var n=0;n<6;n++){e=e+t[Math.floor(Math.random()*t.length)]}randomizeColor(e);$(".gen").fadeOut(750,function(){for(var t=0;t
-
+
--
cgit v1.2.3