From 9639aa4bb365a441dd4b106709afcfc5d9aa17e6 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 27 Oct 2016 13:25:34 +0200 Subject: [PATCH 1/2] event property --- src/app/debugger.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/debugger.js b/src/app/debugger.js index b40ac9bb9c..da3578ca45 100644 --- a/src/app/debugger.js +++ b/src/app/debugger.js @@ -24,12 +24,12 @@ function Debugger (id, editor, compiler, executionContextEvent, switchToFile) { }) this.lastCompilationResult = null - this.debugger.register('newTraceLoaded', this, function () { + this.debugger.event.register('newTraceLoaded', this, function () { self.cache.clear() self.lastCompilationResult = self.compiler.lastCompilationResult }) - this.debugger.register('traceUnloaded', this, function () { + this.debugger.event.register('traceUnloaded', this, function () { self.removeCurrentMarker() self.cache.clear() }) @@ -41,7 +41,7 @@ function Debugger (id, editor, compiler, executionContextEvent, switchToFile) { }) // register selected code item, highlight the corresponding source location - this.debugger.codeManager.register('changed', this, function (code, address, index) { + this.debugger.codeManager.event.register('changed', this, function (code, address, index) { if (self.lastCompilationResult) { this.debugger.sourceLocationTracker.getSourceLocation(address, index, self.lastCompilationResult.data.contracts, function (error, rawLocation) { if (!error) { From 4c968f5595e0ce73f3cdea7c21cd9be4d2c72202 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 27 Oct 2016 14:24:57 +0200 Subject: [PATCH 2/2] disable travis cache --- .travis.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 35a2d272b0..85692b2943 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,6 +17,4 @@ env: - COMMIT_AUTHOR="Travis CI" - PUSH_REPO="git@github.com:ethereum/browser-solidity.git" - FILES_TO_PACKAGE="assets background.js build icon.png index.html manifest.json README.md soljson.js" -cache: - directories: - - node_modules +cache: false