git ssb

10+

Matt McKegg / patchwork



Commit 586cb11f23ec7cba4403726a638f35287118ae26

Replace deprecated method and update Electron

Christian Bundy committed on 5/2/2018, 3:10:43 PM
Parent: 399b1970504b9830b9a27953057861e8a6ebfd9b

Files changed

lib/window.jschanged
package-lock.jsonchanged
package.jsonchanged
lib/window.jsView
@@ -14,9 +14,9 @@
1414 var electron = require('electron')
1515 var rootView = require(${JSON.stringify(path)})
1616 var h = require('mutant/h')
1717
18- electron.webFrame.setZoomLevelLimits(1, 1)
18+ electron.webFrame.setVisualZoomLevelLimits(1, 1)
1919
2020 var config = ${JSON.stringify(config)}
2121 var data = ${JSON.stringify(opts.data)}
2222 var title = ${JSON.stringify(opts.title || 'Patchwork')}
package-lock.jsonView
The diff is too large to show. Use a local git client to view these changes.
Old file size: 300979 bytes
New file size: 300979 bytes
package.jsonView
@@ -83,8 +83,8 @@
8383 "xtend": "^4.0.1"
8484 },
8585 "devDependencies": {
8686 "colors": "^1.2.3",
87- "electron": "^1.8.6",
87+ "electron": "^2.0.0",
8888 "node-gyp": "^3.6.2"
8989 }
9090 }

Built with git-ssb-web