-
-
Merge pull request #11 from makepanic/patch-1
use location.hostname instead of location.domain
-
use location.hostname instead of location.domain
The cors check tries to use `location.domain` which doesn't exist in the location api: https://developer.mozilla.org/en-US/docs/Web/API/Location#Properties . This will always result in `protocol://undefined:port`. I'm not 100% sure if the hostname is what you wanted to use, but it returns the `domain of the URL`.
makepanic committedMay 12, 2015
-
-
tmcw committed
Jun 12, 2014 -
jfirebaugh committed
Jun 12, 2014 -
jfirebaugh committed
Jun 12, 2014 -
Use XHR on IE 10 rather than XDR
jfirebaugh committedJun 10, 2014 -
jfirebaugh committed
Jun 12, 2014
-
Merge branch 'master' of github.com:mapbox/corslite
tmcw committedSep 13, 2013 -
Return request object rather than function. Update text fixture.
tmcw committedSep 13, 2013
-
jfirebaugh committed
Jul 26, 2013 -
Ensure callbacks are not called synchronously
jfirebaugh committedJul 26, 2013 -
Document/fix tests for suckiness of XDR
jfirebaugh committedJul 26, 2013 -
jfirebaugh committed
Jul 26, 2013
-
ansis committed
Apr 24, 2013
-
ansis committed
Apr 17, 2013 -
tmcw committed
Apr 17, 2013 -
tmcw committed
Apr 17, 2013 -
Use jQuery's test for response status
tmcw committedApr 17, 2013 -
jfirebaugh committed
Apr 17, 2013 -
tmcw committed
Apr 17, 2013
-
jfirebaugh committed
Apr 9, 2013 -
jfirebaugh committed
Apr 9, 2013 -
Always provide null as a value for undef args, fixes #7
tmcw committedApr 9, 2013 -
Fix 404 handling and test (fixes #4)
jfirebaugh committedApr 9, 2013 -
jfirebaugh committed
Apr 9, 2013