Kevin Sawicki
0fda86f79a
Mention not requiring module until app is ready
2016-09-16 11:42:02 -07:00
Zeke Sikelianos
06a354a2eb
standardize all javascript blocks in English docs
2016-07-26 09:48:19 -07:00
Kushagra Sharma
61c0981ac7
remove extraneous 'not'
...
[ci skip]
2016-06-13 20:14:42 +05:30
Cheng Zhao
1a22caabe8
docs: Update the code sample of screen module
...
* We should not require it before the ready event;
* There is no need to use electronScreen as name in the main process.
2016-06-07 13:56:57 +09:00
Plusb Preco
5146befa46
📝 Match variable names
...
[ci skip]
2016-05-11 02:38:42 +09:00
Plusb Preco
f1b184ef78
📝 Fix code style issue
...
* Change `var` to `let`.
* Change `function() {}` to `() => {}`.
* Use shorthand function syntax on object notation.
* Remove spaces between object notation brackets.
* Small fixes.
2016-05-11 02:15:09 +09:00
Plusb Preco
4d7296e1db
📝 Match destructuring style
...
[ci skip]
2016-05-11 01:26:38 +09:00
Plusb Preco
5787bb0226
📝 Fix code style issue
...
* Match equality operators for consistent that `==`, `!=` by `===`,
`!==`.
* Match string expression notation `"` by `'`.
[ci skip]
2016-05-10 18:42:21 +09:00
Steve Kinney
5a9f28e034
📝 Update API documentation to ES6 [ci skip]
2016-05-04 11:59:02 -06:00
Cheng Zhao
096b948570
Merge pull request #5249 from electron/api-summaries
...
create a one-liner description for each API
2016-04-24 13:50:17 +09:00
Cheng Zhao
2f06a2af81
Merge pull request #5252 from miniak/doc-fix
...
Documentation fixes
2016-04-24 13:37:45 +09:00
Zeke Sikelianos
ee190ca62a
create a one-liner description for each API
2016-04-22 10:32:28 -07:00
Plusb Preco
cbc2a869e3
📝 Fix typos
...
[ci skip]
2016-04-22 22:56:24 +09:00
Milan Burda
da727a3c1b
Fix display.rotation documentation
2016-04-22 12:32:11 +02:00
Ray Booysen
5a9b86dd05
Update screen.md
2016-04-18 17:04:47 +01:00
Cheng Zhao
04d626f0b0
docs: Document the display object
...
Fix #3571 .
2016-01-07 20:21:11 +08:00
Cheng Zhao
eac2e7cc61
docs: Update codes in docs to use require('electron')
2015-11-12 21:20:09 +08:00
Eran Tiktin
ea3e84e7ff
Update screen.md
...
Removed a trailing comma.
2015-10-05 16:56:36 +03:00
Cheng Zhao
46c69cc3e5
docs: Removed unneeded changes from PR
2015-10-05 11:41:06 +08:00
hansrwindhoff
69140af083
example code didn't run
2015-10-04 20:14:52 -06:00
Plusb Preco
397fbeae28
Update example variable name prefix (atom to electron)
...
* Update variable name prefix as `atom` to `electron`
2015-09-27 22:20:35 +09:00
Jessica Lord
279fd0a461
Standardize **Note:**
2015-09-09 14:09:14 -07:00
Jessica Lord
e6e09a8a7c
Standardize screen
2015-08-28 22:24:54 -07:00
Tom Moor
a725a49759
Small spelling mistake
2015-05-15 13:09:59 -07:00
Paul Betts
b77ed51594
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.
2015-02-03 11:32:33 -08:00
Cheng Zhao
4f6ee31a28
docs: Fix typo
2015-01-16 14:01:52 -08:00
Cheng Zhao
1746518cdf
docs: Update docs and examples for screen module
2015-01-16 13:57:16 -08:00
as3boyan
ffb0c22a80
Update screen.md
2014-07-01 18:30:26 +03:00
Cheng Zhao
5933947000
📝 Simpilify the structure of API references.
2014-05-05 14:24:57 +08:00