diff --git a/docs/api/web-frame.md b/docs/api/web-frame.md index 14e8a9135..a1234c176 100644 --- a/docs/api/web-frame.md +++ b/docs/api/web-frame.md @@ -117,28 +117,28 @@ Returns `Object`: * `decodedSize` Integer * `purgedSize` Integer * `purgeableSize` Integer -* `cssStyleSheets` +* `cssStyleSheets` Object * `count` Integer * `size` Integer * `liveSize` Integer * `decodedSize` Integer * `purgedSize` Integer * `purgeableSize` Integer -* `xslStyleSheets` +* `xslStyleSheets` Object * `count` Integer * `size` Integer * `liveSize` Integer * `decodedSize` Integer * `purgedSize` Integer * `purgeableSize` Integer -* `fonts` +* `fonts` Object * `count` Integer * `size` Integer * `liveSize` Integer * `decodedSize` Integer * `purgedSize` Integer * `purgeableSize` Integer -* `other` +* `other` Object * `count` Integer * `size` Integer * `liveSize` Integer diff --git a/docs/styleguide.md b/docs/styleguide.md index d2908ecc1..9fc795206 100644 --- a/docs/styleguide.md +++ b/docs/styleguide.md @@ -102,9 +102,10 @@ Using `autoUpdater` as an example: * [Static Methods](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/static) must be listed under a `### Static Methods` chapter. * [Instance Methods](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes#Prototype_methods) must be listed under an `### Instance Methods` chapter. * All methods that have a return value must start their description with "Returns `[TYPE]` - Return description" + * If the method returns an `Object` with a given structure that structure can be specified with a color followed by a newline then an unordered list of properties in the same style as function parameters * Instance Events must be listed under an `### Instance Events` chapter. * Instance Properties must be listed under an `### Instance Properties` chapter. - * Instance properties must start with "A [Property Ttype] ..." + * Instance properties must start with "A [Property Type] ..." Using the `Session` and `Cookies` classes as an example: