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
//detect Internet Explorer and version number through injected conditional comments (no UA detect, no need for cond. compilation / jscript check) | |
//version arg is for IE version (optional) | |
//comparison arg supports 'lte', 'gte', etc (optional) | |
var isIE = (function(undefined){ | |
var doc = document, | |
doc_elem = doc.documentElement, | |
cache = {}, |
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
/** | |
* app/bootstrap.php | |
*/ | |
Autoloader::add_classes(array( | |
// Add classes you want to override here | |
// Example: 'View' => APPPATH.'classes/view.php', | |
'Uri' => APPPATH.'classes/uri.php', | |
'LayoutHelper' => APPPATH.'classes/layouthelper.php', | |
)); |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
body { | |
background: #ccc; | |
} | |
div { | |
height: 107px; | |
} | |
.digit { |
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
body { | |
font-family: "Helvetica Neue", Arial; | |
font-size: 16px; | |
padding: 0; | |
margin: 0; | |
} | |
header { | |
background-color: #262626; | |
position: relative; |
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
((window) -> | |
"use strict" | |
$ = window.Zepto | |
screen = window.screen | |
document = window.document | |
hasOwn = (obj, key) -> | |
obj.hasOwnProperty key |
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 Device = { | |
ENV_DESKTOP: 'desktop', | |
ENV_PHONE: 'phone', | |
ENV_TABLET: 'tablet', | |
ENV_PORTRAIT: 'portrait', | |
ENV_LANDSCAPE: 'landscape', | |
agent: { | |
mobile: (/iphone|ipod|android|blackberry|opera|mini|windows\sce|palm|smartphone|iemobile/i.test(window.navigator.userAgent.toLowerCase())), | |
tablet: (/ipad|android|android\s3\.0|xoom|sch-i800|playbook|tablet|kindle/i.test(window.navigator.userAgent.toLowerCase())) | |
}, |
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
/**********************************************/ | |
/* | |
/* enlightened Theme for Chrome DevTools by Vincent Mac | |
/* Forked from mnml Theme for Chrome DevTools by Michael P. Pfeiffer | |
/* | |
/**********************************************/ | |
#-webkit-web-inspector #main { | |
background-color: #1d1f21 !important; | |
} | |
#-webkit-web-inspector tr { |
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
jQuery Touch Gestures ported from QUOjs | |
@see http://quojs.tapquo.com/ | |
Version 1.1 | |
-- @add singleTap event | |
-- @fix doubleTap event | |
-- @fix hold event |
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
@media only screen and (min-device-width: 800px) and (orientation: portrait) { | |
#device:after { | |
content: "Nexus 7 - portrait - firefox"; | |
} | |
} | |
@media screen and (min-device-width : 602px) and (orientation: portrait) { | |
#device:after { | |
content: "Nexus 7 - portrait - chrome"; | |
} | |
} |
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
// Zepto.js | |
// (c) 2010-2012 Thomas Fuchs | |
// Zepto.js may be freely distributed under the MIT license. | |
(function ($, undefined) { | |
var prefix = '', eventPrefix, endEventName, endAnimationName, | |
vendors = { Webkit: 'webkit', Moz: '', O: 'o', ms: 'MS' }, | |
document = window.document, testEl = document.createElement('div'), docElem = document.documentElement, | |
supportedTransforms = /^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i, | |
transform, | |
transitionProperty, transitionDuration, transitionTiming, |
OlderNewer