diff --git a/example/buttons.html b/example/buttons.html index e69de29bb2..7cfca5356d 100644 --- a/example/buttons.html +++ b/example/buttons.html @@ -0,0 +1,25 @@ + + + + + + +
+ + Previous + +

Willkommen!

+
+
+

+ Here is some content +

+ Click me +
+
+
+ + + + diff --git a/js/framework/framework-init.js b/js/framework/framework-init.js index e69de29bb2..2634151e60 100644 --- a/js/framework/framework-init.js +++ b/js/framework/framework-init.js @@ -0,0 +1,22 @@ +(function(window, document, $) { + + $.init = function() { + if(!$._init) { + $._init = true; + console.log("Framwork init!"); + } + }; + + if ( document.readyState === "complete" ) { + setTimeout( $.init, 1 ); + } else { + if ( document.addEventListener ) { + document.addEventListener( "DOMContentLoaded", $.init, false ); + window.addEventListener( "load", $.init, false ); + } else if ( document.attachEvent ) { + document.attachEvent( "onreadystatechange", $.init ); + window.attachEvent( "onload", $.init ); + } + } + +})(this, document, this.FW || {}); \ No newline at end of file diff --git a/js/framework/framework.min.js b/js/framework/framework.min.js deleted file mode 100644 index 461d6d415e..0000000000 --- a/js/framework/framework.min.js +++ /dev/null @@ -1 +0,0 @@ -/* the eventual location of the minified/concat js, all others would be excluded */ \ No newline at end of file