]> khamidou — GitHub mirrors - electron.git/commit
Use 'atomScreen' for the variable name
authorPaul Betts <paul@paulbetts.org>
Tue, 3 Feb 2015 19:32:33 +0000 (11:32 -0800)
committerPaul Betts <paul@paulbetts.org>
Tue, 3 Feb 2015 19:32:33 +0000 (11:32 -0800)
commitb77ed5159485dcb4e9e5323c7220dfc1acbfdc56
treefbbd111f4cff39c0cd6a72abdc0891dd5d385f58
parentd17e6a385783b8f3211bf0ff4fcdeb36ac684d63
Use 'atomScreen' for the variable name

Even though it's not screen's fault, it's super easy in the DevTools to write `screen = require('screen')`, then wonder why it doesn't work (because `window.screen` is reserved by the DOM). This makes people who just type in the example more likely to get it right.
docs/api/screen.md