Skip to content

Commit

Permalink
3.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
matthisk committed Feb 29, 2016
1 parent 28680ae commit b297c88
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions dist/js/getstream.js
Original file line number Diff line number Diff line change
Expand Up @@ -1168,6 +1168,11 @@ return /******/ (function(modules) { // webpackBootstrap

// Return whether a URL is a cross-domain request.
function is_crossDomain(url) {
// Fix for React Native. CORS does noet exist in that environment
if (! window.location) {
return false;
}

var rurl = /^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/

// jQuery #8138, IE may throw an exception when accessing
Expand Down
Loading

0 comments on commit b297c88

Please sign in to comment.