Skip to content

Instantly share code, notes, and snippets.

View cookatrice's full-sized avatar
🙃

cookatrice cookatrice

🙃
View GitHub Profile

Keybase proof

I hereby claim:

  • I am cookatrice on github.
  • I am cookatrice (https://keybase.io/cookatrice) on keybase.
  • I have a public key ASBjTTQkOwm-Aq1vBeIe_W6bIb-bOcdMQmZ0Gmo-ihv9xgo

To claim this, I am signing this object:

@cookatrice
cookatrice / doSum.js
Last active September 3, 2015 02:48
doSum
/** test function doSum */
function doSum(a,b){
var result = (a+b) * 3.14;
return result;
}
@cookatrice
cookatrice / gist:5b7ecd88af74462c5995
Last active September 3, 2015 06:31
sweetAlert custom version.
// SweetAlert
// 2014 (c) - Tristan Edwards
// github.com/t4t5/sweetalert
// this is not latest version!!!!
(function(window, document) {
var modalClass = '.sweet-alert',
overlayClass = '.sweet-overlay',
alertTypes = ['error', 'warning', 'info', 'success'],
defaultParams = {