Merge pull request #58 from yann300/fea1

0.0.2 version
pull/7/head
yann300 8 years ago committed by GitHub
commit 4d3c7deed6
  1. 9
      index.html
  2. 2
      index.js
  3. 7
      package.json
  4. 15
      src/index.js

@ -2,7 +2,14 @@
<html>
<head>
</head>
<body>
<body onload="loadDebugger()" >
<script type="text/javascript">
function loadDebugger() {
var container = document.getElementById('app')
container.vmdebugger = new window.remix.Debugger()
container.appendChild(container.vmdebugger.render())
}
</script>
<div id="app"></div>
<script src="build/app.js"></script>
</body>

@ -1,2 +0,0 @@
var Debugger = require('./src/Ethdebugger')
module.exports = Debugger

@ -1,6 +1,6 @@
{
"name": "ethereum-remix",
"version": "0.0.1",
"version": "0.0.2-alpha.0.0.1",
"description": "Ethereum IDE and tools for the web",
"contributors": [
{
@ -12,7 +12,7 @@
"email": "liana@ethdev.com"
}
],
"main": "index.js",
"main": "./build/app.js",
"dependencies": {
"browserify": "^13.0.1",
"web3": "^0.15.3",
@ -35,7 +35,8 @@
"nightwatch_remote_firefox": "nightwatch --config nightwatch.js --env default",
"nightwatch_remote_chrome": "nightwatch --config nightwatch.js --env chrome",
"nightwatch_remote_safari": "nightwatch --config nightwatch.js --env safari",
"nightwatch_remote_ie": "nightwatch --config nightwatch.js --env ie"
"nightwatch_remote_ie": "nightwatch --config nightwatch.js --env ie",
"prepublish": "npm run build"
},
"repository": {
"type": "git",

@ -1,8 +1,13 @@
'use strict'
var Debugger = require('./Ethdebugger')
function init () {
var container = document.getElementById('app')
container.vmdebugger = new Debugger()
container.appendChild(container.vmdebugger.render())
if (typeof (module) !== 'undefined' && typeof (module.exports) !== 'undefined') {
module.exports = {
Debugger: Debugger
}
init()
}
if (window) {
window.remix = {
Debugger: Debugger
}
}

Loading…
Cancel
Save