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
/*=RESET*/ | |
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td, figure, figcaption, menu { margin:0; padding:0;}table { border-collapse:collapse; border-spacing:0;}fieldset,img { border:0;}address,caption,cite,code,dfn,em,strong,th,var { font-style:normal; font-weight:normal;}ol,ul { list-style:none;}caption,th { text-align:left;}h1,h2,h3,h4,h5,h6 { font-size:100%; font-weight:normal;}q:before,q:after { content:'';}abbr,acronym { border:0;}section, article, header, footer, nav, aside, hgroup, video, figure, figcaption, menu { display:block; } | |
/*=GENERIC*/ | |
body { | |
font-family:Arial, Helvetica, Verdana, sans-serif; | |
font-size:62.5%; | |
} | |
/*=IMAGESLIDER*/ | |
.slider { |
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
<!DOCTYPE html> | |
<!--[if lt IE 7]><html lang="da" class="no-js ie6"><![endif]--> | |
<!--[if IE 7]><html lang="da" class="no-js ie7"><![endif]--> | |
<!--[if IE 8]><html lang="da" class="no-js ie8"><![endif]--> | |
<!--[if gt IE 8]><!--><html lang="da" class="no-js"><!--<![endif]--> |
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
<link type="image/x-icon" rel="shortcut icon" href="../favicon.ico" /> | |
<link rel="stylesheet" href="../css/style.css" media="all" /> | |
<link rel="stylesheet" href="../css/print.css" media="print" /> | |
<!--[if IE]> | |
<link rel="stylesheet" type="text/css" href="../css/ie.css" media="screen, projection" /> | |
<![endif]--> |
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
<!-- | |
************************************ | |
Design and programming by Vertic.com | |
e-mail: [email protected] | |
phone: +45 70209085 | |
************************************ | |
--> |
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
/** | |
* Long description. | |
* | |
* Short description. | |
* | |
* @section 2.1.3 Form Buttons | |
* @pseudo :hover Highlights when hovering. | |
* @pseudo :disabled Dims the button when disabled. | |
* @modifier .primary Indicates the button is the primary action. | |
* @modifier .smaller A smaller version of the button. |
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
/* | |
* Vertic JS Logger | |
* http://labs.vertic.com | |
* | |
* Copyright 2012, Vertic A/S | |
* Dual licensed under the MIT or GPL Version 2 licenses. | |
* | |
* For full version see https://github.com/laustdeleuran/htmlplate/blob/master/js/vertic-0.1-core-dev.js | |
*/ |
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
var _Log = function(obj){ | |
// Set defaults | |
this.history = []; | |
this.debug = false; | |
this.domConsole = false; | |
this.meta = true; | |
this.name = 'Vertic Log'; | |
// Update settings | |
if (typeof obj === 'object') { |
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
_Log.prototype.write = function(arg,forceDebug){ | |
var orgArg = arg; | |
// Add metadata | |
arg = this.addMeta(arg); | |
// Push object to internal log | |
this.history.push(arg); | |
// Try native console, but fail silently |
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
var l = new _Log(); | |
l.write("Log entry #1! Yay!"); |
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
var _Error = function(){}; | |
_Error.prototype = new _Log(); | |
_Error.prototype.parent = _Log.prototype; | |
_Error.prototype.write = function(arg,status,msg,die){ | |
var orgArg = arg; | |
// Set optional parameters | |
if (typeof status === 'undefined') status = 'unknown'; | |
if (typeof msg === 'undefined') msg = ''; | |
if (typeof die !== 'boolean') die = false; |
OlderNewer