public/js/lib/alertify.js
function () {
				// ensure legacy browsers support html5 tags
				document.createElement("nav");
				document.createElement("article");
				document.createElement("section");
				// cover
				elCover = document.createElement("div");
				elCover.setAttribute("id", "alertify-cover");
				elCover.className = "alertify-cover alertify-cover-hidden";
				document.body.appendChild(elCover);
				// main element
				elDialog = document.createElement("section");
				elDialog.setAttribute("id", "alertify");
				elDialog.className = "alertify alertify-hidden";
				document.body.appendChild(elDialog);
				// log element
				elLog = document.createElement("section");
				elLog.setAttribute("id", "alertify-logs");
				elLog.className = "alertify-logs alertify-logs-hidden";
				document.body.appendChild(elLog);
				// set tabindex attribute on body element
				// this allows script to give it focus
				// after the dialog is closed
				document.body.setAttribute("tabindex", "0");
				// set transition type
				this.transition = getTransitionEvent();
				// clean up init method
				delete this.init;
			}
function () {
				// ensure legacy browsers support html5 tags
				document.createElement("nav");
				document.createElement("article");
				document.createElement("section");
				// cover
				elCover = document.createElement("div");
				elCover.setAttribute("id", "alertify-cover");
				elCover.className = "alertify-cover alertify-cover-hidden";
				document.body.appendChild(elCover);
				// main element
				elDialog = document.createElement("section");
				elDialog.setAttribute("id", "alertify");
				elDialog.className = "alertify alertify-hidden";
				document.body.appendChild(elDialog);
				// log element
				elLog = document.createElement("section");
				elLog.setAttribute("id", "alertify-logs");
				elLog.className = "alertify-logs alertify-logs-hidden";
				document.body.appendChild(elLog);
				// set tabindex attribute on body element
				// this allows script to give it focus
				// after the dialog is closed
				document.body.setAttribute("tabindex", "0");
				// set transition type
				this.transition = getTransitionEvent();
				// clean up init method
				delete this.init;
			}
function ( ) { // ensure legacy browsers support html5 tags document . createElement ( "nav" ) ; document . createElement ( "article" ) ; document . createElement ( "section" ) ; // cover elCover = document . createElement ( "div" ) ; elCover . setAttribute ( "id" , "alertify-cover" ) ; elCover . className = "alertify-cover alertify-cover-hidden" ; document . body . appendChild ( elCover ) ; // main element elDialog = document . createElement ( "section" ) ; elDialog . setAttribute ( "id" , "alertify" ) ; elDialog . className = "alertify alertify-hidden" ; document . body . appendChild ( elDialog ) ; // log element elLog = document . createElement ( "section" ) ; elLog . setAttribute ( "id" , "alertify-logs" ) ; elLog . className = "alertify-logs alertify-logs-hidden" ; document . body . appendChild ( elLog ) ; // set tabindex attribute on body element // this allows script to give it focus // after the dialog is closed document . body . setAttribute ( "tabindex" , "0" ) ; // set transition type this . transition = getTransitionEvent ( ) ; // clean up init method delete this . init ; }
Initialize Alertify
Create the 2 main elements

@return {undefined}
Initialize Alertify Create the 2 main elements