I hereby claim:
- I am rkotze on github.
- I am rkotze (https://keybase.io/rkotze) on keybase.
- I have a public key ASDOOddrlcNsKtPPxzZvN0LgDjRAvo7USXMLfFF1st9xNwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
function detectChromeVersion() { | |
var chrome = navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./); | |
if(chrome) return parseInt(chrome[2], 10); | |
} |
function detectIE(){ | |
var IE = navigator.userAgent.match(/MSIE\s([0-9]+)\./); | |
if(IE) return parseInt(IE[1], 10); | |
var IE11 = navigator.userAgent.match(/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/); | |
if(IE11) return parseInt(IE11[1], 10); | |
} |
import myStore from './my.store'; | |
import myAction from './my.action'; | |
import superagent from 'superagent'; | |
import sinon from 'sinon'; | |
import should from 'should'; | |
import shouldSinon from 'should-sinon'; | |
describe('Api that does stuff', () => { | |
let putRequest, | |
successTrigger, |