release/ows-wallet-client.js
function isCordova() {
      var isCordova = null;
      var idxIsCordova = window.location.search.indexOf('isCordova=');

      if (idxIsCordova >= 0) {
        var isCordova = window.location.search.substring(idxIsCordova + 10);
        if (isCordova.indexOf('&') >= 0) {
          isCordova = isCordova.substring(0, isCordova.indexOf('&'));
        }
      }
      return (isCordova == 'true');
    }
function isCordova() {
      var isCordova = null;
      var idxIsCordova = window.location.search.indexOf('isCordova=');

      if (idxIsCordova >= 0) {
        var isCordova = window.location.search.substring(idxIsCordova + 10);
        if (isCordova.indexOf('&') >= 0) {
          isCordova = isCordova.substring(0, isCordova.indexOf('&'));
        }
      }
      return (isCordova == 'true');
    }
function isCordova ( ) { var isCordova = null ; var idxIsCordova = window . location . search . indexOf ( 'isCordova=' ) ; if ( idxIsCordova >= 0 ) { var isCordova = window . location . search . substring ( idxIsCordova + 10 ) ; if ( isCordova . indexOf ( '&' ) >= 0 ) { isCordova = isCordova . substring ( 0 , isCordova . indexOf ( '&' ) ) ; } } return ( isCordova == 'true' ) ; }
Get the isCordova boolean from the URL.
Get the isCordova boolean from the URL .