Browse Source
Removed browser fixes Updated gulp to bypass native browser objects Added source map for distcl-refactor
Marian Oancea
10 years ago
13 changed files with 98 additions and 827 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,35 +0,0 @@ |
|||
|
|||
/** |
|||
* Module dependencies. |
|||
*/ |
|||
|
|||
var global = (function() { return this; })(); // jshint ignore:line
|
|||
|
|||
/** |
|||
* XMLHttpRequest constructor. |
|||
*/ |
|||
|
|||
var XMLHttpRequest = window.XMLHttpRequest; // jshint ignore:line
|
|||
|
|||
/** |
|||
* Module exports. |
|||
*/ |
|||
|
|||
module.exports.XMLHttpRequest = XMLHttpRequest ? xhr : null; |
|||
|
|||
/** |
|||
* XMLHttpRequest constructor. |
|||
* |
|||
* @param {Object) opts (optional) |
|||
* @api public |
|||
*/ |
|||
|
|||
function xhr(obj) { |
|||
var instance; |
|||
|
|||
instance = new XMLHttpRequest(obj); |
|||
|
|||
return instance; |
|||
} |
|||
|
|||
if (XMLHttpRequest) xhr.prototype = XMLHttpRequest.prototype; |
@ -1,6 +0,0 @@ |
|||
var web3 = require('./main'); |
|||
web3.providers.WebSocketProvider = require('./websocket'); |
|||
web3.providers.HttpRpcProvider = require('./httprpc'); |
|||
web3.providers.QtProvider = require('./qt'); |
|||
|
|||
module.exports = web3; |
Loading…
Reference in new issue