From: Cheng Zhao Date: Fri, 6 Dec 2013 06:54:29 +0000 (+0800) Subject: :lipstick: Restore old settings in app specs. X-Git-Tag: v0.7.6~4^2~2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=0a63395b0f2a9c1c448d8069f5830d233f84b992;p=electron.git :lipstick: Restore old settings in app specs. --- diff --git a/browser/atom/rpc-server.coffee b/browser/atom/rpc-server.coffee index 479a85c3..6e072b66 100644 --- a/browser/atom/rpc-server.coffee +++ b/browser/atom/rpc-server.coffee @@ -80,7 +80,6 @@ callFunction = (event, processId, routingId, func, caller, args) -> # Send by BrowserWindow when its render view is deleted. process.on 'ATOM_BROWSER_RELEASE_RENDER_VIEW', (processId, routingId) -> - console.log 'ATOM_BROWSER_RELEASE_RENDER_VIEW', processId, routingId objectsRegistry.clear processId, routingId ipc.on 'ATOM_BROWSER_REQUIRE', (event, processId, routingId, module) -> diff --git a/spec/api/app.coffee b/spec/api/app.coffee index d2d912db..70577e4b 100644 --- a/spec/api/app.coffee +++ b/spec/api/app.coffee @@ -11,6 +11,7 @@ describe 'app module', -> assert.equal app.getVersion(), '0.1.0' app.setVersion 'test-version' assert.equal app.getVersion(), 'test-version' + app.setVersion '0.1.0' describe 'app.getName()', -> it 'returns the name field of package.json', -> @@ -21,3 +22,4 @@ describe 'app module', -> assert.equal app.getName(), 'atom-shell-default-app' app.setName 'test-name' assert.equal app.getName(), 'test-name' + app.setName 'atom-shell-default-app'