]> khamidou — GitHub mirrors - electron.git/commitdiff
:lipstick: Restore old settings in app specs.
authorCheng Zhao <zcbenz@gmail.com>
Fri, 6 Dec 2013 06:54:29 +0000 (14:54 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 6 Dec 2013 06:54:29 +0000 (14:54 +0800)
browser/atom/rpc-server.coffee
spec/api/app.coffee

index 479a85c3fca0cd3b8a94532981101490719958de..6e072b6618645ea3646cbaedcd44510de2be5a79 100644 (file)
@@ -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) ->
index d2d912db701e45eff49d4b2eb7ff232dd5eb061b..70577e4b71183f5be7144663f2b3b6e6c39e8e2c 100644 (file)
@@ -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'