I hereby claim:
- I am arapehl on github.
- I am ara (https://keybase.io/ara) on keybase.
- I have a public key whose fingerprint is 32DC 5375 BA03 1945 F640 DD9F DF75 2E70 7CA3 6502
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
var contentEl = $('foo').hasClass('content') ? target : $(target).closest('.content'); |
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" Maintainer: | |
" Amir Salihefendic | |
" http://amix.dk - amix@amix.dk | |
" | |
" Version: | |
" 5.0 - 29/05/12 15:43:36 | |
" | |
" Blog_post: | |
" http://amix.dk/blog/post/19691#The-ultimate-Vim-configuration-on-Github |
function pigLatin(phrase) { | |
var arr, pigged; | |
arr = phrase.split(" "); | |
pigged = arr.map(function (word) { | |
var first, rest; | |
first = word.substring(0, 1); | |
rest = word.substring(1); | |
return rest + first + "ay"; |
YUI({ | |
groups: { | |
'my-group': { | |
comboBase: 'http://example.com/combo?', | |
combine : true, | |
root : 'build/', | |
modules: { | |
/* custom module definitions */ | |
} |
if (parseInt('080') === 0) { | |
/*global _parseInt*/ | |
_parseInt = parseInt; | |
parseInt = function (str, radix) { | |
return _parseInt(str, radix || 10); | |
} | |
} |
var APP = (function(window) { | |
function parseInt(str, radix) { | |
radix = radix || 10; | |
return window.parseInt(str, radix); | |
} | |
return { | |
// Sub-objects and methods that | |
// use the modified parseInt... | |
// |
// jQuery | |
$('#foo').bind('customEvent', function () { | |
alert('foo'); | |
}); | |
$('#foo').trigger('foo'); | |
// YUI 3 |
YUI.add('base', function (Y) { | |
Y.namespace('proof'); | |
}, '0.0.1'); |