I hereby claim:
- I am daniellmb on github.
- I am daniellamb (https://keybase.io/daniellamb) on keybase.
- I have a public key whose fingerprint is BA5A C5A0 1FFA 602E FF54 DC4C 98AF D67C 1302 1D2A
To claim this, I am signing this object:
var inherit = (function () { | |
var proxy = function () {}; | |
return function (child, parent) { | |
proxy.prototype = parent.prototype; | |
child.prototype = new proxy(); | |
child._super = parent.prototype; | |
child.prototype.constructor = child; | |
} | |
}()); |
define(['Modernizr'], function( Modernizr ) { | |
// native yield support. | |
Modernizr.addTest('yield', (function(){try{yield;}catch(e){}}())!==undefined); | |
}); |
# "File-fatal" errors - these errors stop further parsing of a single file | |
FILE_NOT_FOUND = -1 | |
FILE_DOES_NOT_PARSE = -2 | |
# Spacing | |
EXTRA_SPACE = 1 | |
MISSING_SPACE = 2 | |
EXTRA_LINE = 3 | |
MISSING_LINE = 4 | |
ILLEGAL_TAB = 5 |
'wowConvertCamelcaseToHyphencaseInJustSeventyBytes'.replace(/([a-zA-Z])(?=[A-Z])/g, '$1-').toLowerCase(); |
window.onerror = function(message) { | |
top.location.href = 'http://stackoverflow.com/search?q=' + | |
encodeURIComponent(message + ' [js]'); | |
}; |
/* unobtrusively style deep-linking heading anchors */ | |
.anchor { | |
color: gray; | |
display: inline-block; | |
margin-left: -1rem; | |
opacity: 0; | |
padding-right: 0.1rem; | |
-webkit-transition: opacity cubic-bezier(0,1,.35,.96) 1s; | |
-moz-transition: opacity cubic-bezier(0,1,.35,.96) 1s; | |
-ms-transition: opacity cubic-bezier(0,1,.35,.96) 1s; |
(function($) { | |
var result = $('#result'); | |
var base = $('#base'); | |
var list = $('#list'); | |
$('#calc').click(function() { | |
var baseVal = base.val(); | |
var px = list.val().split(','); | |
var html = []; | |
$.each(px, function(i, v) { | |
var px = parseInt(v); |
I hereby claim:
To claim this, I am signing this object: