Browse Source

Merge pull request #1297 from debris/quick_fix

fixed ethereum.js for mix
cl-refactor
Gav Wood 10 years ago
parent
commit
7948a39e94
  1. 2
      libjsqrc/ethereumjs/bower.json
  2. 2
      libjsqrc/ethereumjs/dist/ethereum.js
  3. 2
      libjsqrc/ethereumjs/dist/ethereum.js.map
  4. 2
      libjsqrc/ethereumjs/dist/ethereum.min.js
  5. 2
      libjsqrc/ethereumjs/lib/web3/requestmanager.js
  6. 2
      libjsqrc/ethereumjs/package.js
  7. 2
      libjsqrc/ethereumjs/package.json
  8. 2
      mix/qml/html/WebContainer.html

2
libjsqrc/ethereumjs/bower.json

@ -1,7 +1,7 @@
{ {
"name": "ethereum.js", "name": "ethereum.js",
"namespace": "ethereum", "namespace": "ethereum",
"version": "0.1.1", "version": "0.1.2",
"description": "Ethereum Compatible JavaScript API", "description": "Ethereum Compatible JavaScript API",
"main": [ "main": [
"./dist/ethereum.js", "./dist/ethereum.js",

2
libjsqrc/ethereumjs/dist/ethereum.js

@ -2656,7 +2656,7 @@ var requestManager = function() {
var poll = function () { var poll = function () {
polls.forEach(function (data) { polls.forEach(function (data) {
// send async // send async
send(data.data, function(result){ send(data.data, function(error, result){
if (!(result instanceof Array) || result.length === 0) { if (!(result instanceof Array) || result.length === 0) {
return; return;
} }

2
libjsqrc/ethereumjs/dist/ethereum.js.map

File diff suppressed because one or more lines are too long

2
libjsqrc/ethereumjs/dist/ethereum.min.js

File diff suppressed because one or more lines are too long

2
libjsqrc/ethereumjs/lib/web3/requestmanager.js

@ -136,7 +136,7 @@ var requestManager = function() {
var poll = function () { var poll = function () {
polls.forEach(function (data) { polls.forEach(function (data) {
// send async // send async
send(data.data, function(result){ send(data.data, function(error, result){
if (!(result instanceof Array) || result.length === 0) { if (!(result instanceof Array) || result.length === 0) {
return; return;
} }

2
libjsqrc/ethereumjs/package.js

@ -1,7 +1,7 @@
/* jshint ignore:start */ /* jshint ignore:start */
Package.describe({ Package.describe({
name: 'ethereum:js', name: 'ethereum:js',
version: '0.1.1', version: '0.1.2',
summary: 'Ethereum JavaScript API, middleware to talk to a ethreum node over RPC', summary: 'Ethereum JavaScript API, middleware to talk to a ethreum node over RPC',
git: 'https://github.com/ethereum/ethereum.js', git: 'https://github.com/ethereum/ethereum.js',
// By default, Meteor will default to using README.md for documentation. // By default, Meteor will default to using README.md for documentation.

2
libjsqrc/ethereumjs/package.json

@ -1,7 +1,7 @@
{ {
"name": "ethereum.js", "name": "ethereum.js",
"namespace": "ethereum", "namespace": "ethereum",
"version": "0.1.1", "version": "0.1.2",
"description": "Ethereum JavaScript API, middleware to talk to a ethreum node over RPC", "description": "Ethereum JavaScript API, middleware to talk to a ethreum node over RPC",
"main": "./index.js", "main": "./index.js",
"directories": { "directories": {

2
mix/qml/html/WebContainer.html

@ -33,7 +33,7 @@ updateContracts = function(contracts) {
init = function(url) { init = function(url) {
web3 = require('web3'); web3 = require('web3');
window.web3 = web3; window.web3 = web3;
web3.setProvider(new web3.providers.HttpSyncProvider(url)); web3.setProvider(new web3.providers.HttpProvider(url));
}; };
executeJavaScript = function(script) { executeJavaScript = function(script) {

Loading…
Cancel
Save