UNPKG

leafdoc

Version:

A lightweight NaturalDocs-like LeafletJS-style documentation generator

95 lines (81 loc) 1.76 kB
<!DOCTYPE html> <html> <head> <title></title> <meta charset="utf-8"> <style> table { border-collapse: collapse; } table td, table th { border: 1px solid #888; } pre code { display: inline-block; background: #eee; } td:last-child code { background: #eee; } body { font-family: Sans; max-width: 50em; margin: auto; } </style> </head> <body> <h2>Leafdoc generated API reference</h2> <h2 id='singletonobject'>SingletonObject</h2> <p>Generic implementation of a singleton</p> <h3 id='singletonobject-method'>Methods</h3> <section> <h4 id='singletonobject-private'>Private</h4> <table><thead> <tr> <th>Method</th> <th>Returns</th> <th>Description</th> </tr> </thead><tbody> <tr id='singletonobject-singletonobject'> <td><code><b>SingletonObject</b>()</nobr></code></td> <td><code>null</code></td> <td>Instantiates the object, only called once.</td> </tr> </tbody></table> </section> <section> <h4 id='singletonobject-public'>Public</h4> <table><thead> <tr> <th>Method</th> <th>Returns</th> <th>Description</th> </tr> </thead><tbody> <tr id='singletonobject-getinstance'> <td><code><b>getInstance</b>()</nobr></code></td> <td><code><a href='#singletonobject'>SingletonObject</a></code></td> <td>Returns the singleton instance.</td> </tr> </tbody></table> </section> <h3 id='singletonobject-property'>Properties</h3> <section> <h4 id='singletonobject-private'>Private</h4> <table><thead> <tr> <th>Property</th> <th>Type</th> <th>Description</th> </tr> </thead><tbody> <tr id='singletonobject-singletonobject'> <td><code><b>SingletonObject</b> <td><code>object</code></td> <td>The insternal instance of the object.</td> </tr> </tbody></table> </section> </body></html>