I hereby claim:
- I am maxparm on github.
- I am maxparm (https://keybase.io/maxparm) on keybase.
- I have a public key whose fingerprint is 4D79 E4E7 24F7 78EE CB42 D864 25D8 54E7 CB47 C7A8
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
title: Writing CSS at 7Geese author: name: Maxime Parmentier twitter: maxparm url: http://maximeparmentier.com output: basic.html controls: true
--
$(function () { | |
$('.view-pull-request .js-new-comment-form').on('submit', function (e) { | |
var text = $('.js-comment-container:first .js-comment-body').text().toLowerCase(); | |
if (text.indexOf('changelog') < 0) { | |
e.preventDefault(); | |
alert('Please add a changelog!'); | |
} | |
}); | |
if ($('.pull-request-tab-content')) { |
// | |
// Environment.h | |
// | |
// Inspired by http://blog.carbonfive.com/2011/06/20/managing-ios-configurations-per-environment-in-xcode-4/ | |
// | |
#import <Foundation/Foundation.h> | |
@interface EnvironmentHelper : NSObject |
<div><%= message %></div> |
-path/to/ignore/1/*, -path/to/ignore/2/* |
{ | |
"name": "rest-api-unit-testing", | |
"version": "0.0.1", | |
"dependencies": { | |
"mocha": "1.8.1", | |
"request": "2.12.0" | |
} | |
} |
$('#element').on('keypress', function(e) { | |
if(e.which == 13) { | |
// action(); | |
e.preventDefault(); | |
} | |
}); |
function isEmail(email){ | |
return /^([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x22([^\x0d\x22\x5c\x80-\xff]|\x5c[\x00-\x7f])*\x22)(\x2e([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x22([^\x0d\x22\x5c\x80-\xff]|\x5c[\x00-\x7f])*\x22))*\x40([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x5b([^\x0d\x5b-\x5d\x80-\xff]|\x5c[\x00-\x7f])*\x5d)(\x2e([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x5b([^\x0d\x5b-\x5d\x80-\xff]|\x5c[\x00-\x7f])*\x5d))*$/.test(email); | |
} |