+
Global
+
@@ -28,7 +41,9 @@
@@ -96,6 +111,7 @@
+
http
@@ -105,8 +121,6 @@
-
-
@@ -162,6 +176,9 @@
+
+
+
@@ -170,6 +187,7 @@
+
@@ -187,135 +205,6 @@
-
-
-
-
-
Parameters:
-
-
-
-
-
-
- Name |
-
-
- Type |
-
-
-
-
-
- Description |
-
-
-
-
-
-
-
-
- raw |
-
-
-
-
-
-Object
-
-
-
- |
-
-
-
-
-
- The data to send.
- Properties
-
-
-
-
-
-
- Name |
-
-
- Type |
-
-
-
-
-
- Description |
-
-
-
-
-
-
-
-
- cuid |
-
-
-
-
-
-String
-
-
-
- |
-
-
-
-
-
- Session identifier. |
-
-
-
-
-
-
- text |
-
-
-
-
-
-String
-
-
-
- |
-
-
-
-
-
- Message text. |
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
@@ -364,58 +253,6 @@
-
-
-
-
-Returns:
-
-
-
- - Encrypted string.
-
-
-
-
-
- -
- Type
-
- -
-
-String
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- _decrypt(raw) → {String}
-
-
-
-
-
-
- Decrypts the incoming data.
-
-
-
-
-
-
-
-
-
-
Parameters:
@@ -447,7 +284,7 @@
-String
+Object
@@ -457,13 +294,149 @@
- | Encrypted data. |
+
+ The data to send.
+
+
+
+
+
+
+
+ Name |
+
+
+ Type |
+
+
+
+
+
+ Description |
+
+
+
+
+
+
+
+
+ cuid |
+
+
+
+
+
+String
+
+
+
+ |
+
+
+
+
+
+
+ Session identifier.
+
+ |
+
+
+
+
+
+
+ text |
+
+
+
+
+
+String
+
+
+
+ |
+
+
+
+
+
+
+ Message text.
+
+ |
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Returns:
+
+
+
+
+ -
+ Type:
+
+ -
+
+
String
+
+
+
+
+
+
+
+ - Encrypted string.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
_decrypt(raw) → {String}
+
+
+
+
+
+
+ Decrypts the incoming data.
+
@@ -517,58 +490,6 @@
-
-
-
-
-
Returns:
-
-
-
- - Decrypted string.
-
-
-
-
-
- -
- Type
-
- -
-
-String
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
_decryptJSON(raw) → {Object}
-
-
-
-
-
-
- Decrypts an encrypted JSON object.
-
-
-
-
-
-
-
-
-
-
Parameters:
@@ -600,7 +521,7 @@
-String
+String
@@ -610,7 +531,10 @@
- | Encrypted data. |
+
+ Encrypted data.
+
+ |
@@ -622,6 +546,62 @@
+
+
+
+
+
+
+
+
+
+
Returns:
+
+
+
+
+ -
+ Type:
+
+ -
+
+
String
+
+
+
+
+
+
+
+ - Decrypted string.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
_decryptJSON(raw) → {Object}
+
+
+
+
+
+
+ Decrypts an encrypted JSON object.
+
+
+
+
+
+
@@ -670,58 +650,6 @@
-
-
-
-
-Returns:
-
-
-
- - Decrypted JSON.
-
-
-
-
-
- -
- Type
-
- -
-
-Object
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- _encrypt(raw) → {String}
-
-
-
-
-
-
- Encrypts the incoming data.
-
-
-
-
-
-
-
-
-
-
Parameters:
@@ -753,7 +681,7 @@
-String
+String
@@ -763,7 +691,10 @@
- | Decrypted data. |
+
+ Encrypted data.
+
+ |
@@ -775,6 +706,62 @@
+
+
+
+
+
+
+
+
+
+
Returns:
+
+
+
+
+ -
+ Type:
+
+ -
+
+
Object
+
+
+
+
+
+
+
+ - Decrypted JSON.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
_encrypt(raw) → {String}
+
+
+
+
+
+
+ Encrypts the incoming data.
+
+
+
+
+
+
@@ -823,58 +810,6 @@
-
-
-
-
-Returns:
-
-
-
- - Encrypted string.
-
-
-
-
-
- -
- Type
-
- -
-
-String
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- _merger(raw) → {String}
-
-
-
-
-
-
- Merge and convert a string.
-
-
-
-
-
-
-
-
-
-
Parameters:
@@ -906,7 +841,7 @@
-String
+String
@@ -916,7 +851,10 @@
- | The string to convert. |
+
+ Decrypted data.
+
+ |
@@ -928,6 +866,62 @@
+
+
+
+
+
+
+
+
+
+
Returns:
+
+
+
+
+ -
+ Type:
+
+ -
+
+
String
+
+
+
+
+
+
+
+ - Encrypted string.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
_merger(raw) → {String}
+
+
+
+
+
+
+ Merge and convert a string.
+
+
+
+
+
+
@@ -976,58 +970,6 @@
-
-
-
-
-Returns:
-
-
-
- - The converted string.
-
-
-
-
-
- -
- Type
-
- -
-
-String
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- _verification(data) → {Boolean}
-
-
-
-
-
-
- Validation UUID format string.
-
-
-
-
-
-
-
-
-
-
Parameters:
@@ -1053,13 +995,13 @@
- data |
+ raw |
-String
+String
@@ -1069,7 +1011,10 @@
- | The string to check. |
+
+ The string to convert.
+
+ |
@@ -1081,6 +1026,62 @@
+
+
+
+
+
+
+
+
+
+
Returns:
+
+
+
+
+ -
+ Type:
+
+ -
+
+
String
+
+
+
+
+
+
+
+ - The converted string.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
_verification(data) → {Boolean}
+
+
+
+
+
+
+ Validation UUID format string.
+
+
+
+
+
+
@@ -1129,54 +1130,6 @@
-
-
-
-
-Returns:
-
-
-
-
-
- -
- Type
-
- -
-
-Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- connect(uuid, callback)
-
-
-
-
-
-
- Connects to the server and returns the connection data.
-
-
-
-
-
-
-
-
-
-
Parameters:
@@ -1202,13 +1155,13 @@
- uuid |
+ data |
-String
+String
@@ -1218,30 +1171,10 @@
- | The bot UUID. |
-
-
-
-
-
-
- callback |
-
-
-
-
+ |
+ The string to check.
-requestCallback
-
-
-
|
-
-
-
-
-
- The callback that handles the response. |
@@ -1253,6 +1186,58 @@
+
+
+
+
+
+
+
+
+
+
Returns:
+
+
+
+
+ -
+ Type:
+
+ -
+
+
Boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
connect(uuid, callback)
+
+
+
+
+
+
+ Connects to the server and returns the connection data.
+
+
+
+
+
+
@@ -1301,36 +1286,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
- send(raw, callback)
-
-
-
-
-
-
- Send a message to the server and return a response.
-
-
-
-
-
-
-
-
-
-
Parameters:
@@ -1356,13 +1311,13 @@
- raw |
+ uuid |
-Object
+String
@@ -1372,78 +1327,9 @@
- | The data to send.
- Properties
+ |
+ The bot UUID.
-
-
-
-
-
- Name |
-
-
- Type |
-
-
-
-
-
- Description |
-
-
-
-
-
-
-
-
- cuid |
-
-
-
-
-
-String
-
-
-
- |
-
-
-
-
-
- Session identifier. |
-
-
-
-
-
-
- text |
-
-
-
-
-
-String
-
-
-
- |
-
-
-
-
-
- Message text. |
-
-
-
-
-
-
|
@@ -1457,7 +1343,7 @@
-requestCallback
+requestCallback
@@ -1467,7 +1353,10 @@
- | The callback that handles the response. |
+
+ The callback that handles the response.
+
+ |
@@ -1479,6 +1368,37 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
send(raw, callback)
+
+
+
+
+
+
+ Send a message to the server and return a response.
+
+
+
+
+
+
@@ -1527,6 +1447,159 @@
+ Parameters:
+
+
+
+
+
+
+ Name |
+
+
+ Type |
+
+
+
+
+
+ Description |
+
+
+
+
+
+
+
+
+ raw |
+
+
+
+
+
+Object
+
+
+
+ |
+
+
+
+
+
+
+ The data to send.
+
+
+
+
+
+
+
+ Name |
+
+
+ Type |
+
+
+
+
+
+ Description |
+
+
+
+
+
+
+
+
+ cuid |
+
+
+
+
+
+String
+
+
+
+ |
+
+
+
+
+
+
+ Session identifier.
+
+ |
+
+
+
+
+
+
+ text |
+
+
+
+
+
+String
+
+
+
+ |
+
+
+
+
+
+
+ Message text.
+
+ |
+
+
+
+
+
+
+
+ |
+
+
+
+
+
+
+ callback |
+
+
+
+
+
+requestCallback
+
+
+
+ |
+
+
+
+
+
+
+ The callback that handles the response.
+
+ |
+
+
+
+
+
@@ -1534,6 +1607,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -1549,17 +1632,13 @@
-
-
+
+
\ No newline at end of file
diff --git a/docs/index.html b/docs/index.html
index d67af6f..96792a6 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -2,22 +2,33 @@
-
-
+
+
\ No newline at end of file
diff --git a/docs/index.js.html b/docs/index.js.html
index 7d93c5e..3749990 100644
--- a/docs/index.js.html
+++ b/docs/index.js.html
@@ -2,22 +2,35 @@
+
+
-
Source: index.js
+
+
+
+
+
+
+
index.js
+
@@ -216,17 +229,13 @@ exports._verification = _verification;
-
-
-
-
+
+
diff --git a/docs/styles/jsdoc-default.css b/docs/styles/jsdoc-default.css
index ede1919..c14e3b9 100644
--- a/docs/styles/jsdoc-default.css
+++ b/docs/styles/jsdoc-default.css
@@ -1,303 +1,417 @@
-@font-face {
- font-family: 'Open Sans';
- font-weight: normal;
- font-style: normal;
- src: url('../fonts/OpenSans-Regular-webfont.eot');
- src:
- local('Open Sans'),
- local('OpenSans'),
- url('../fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
- url('../fonts/OpenSans-Regular-webfont.woff') format('woff'),
- url('../fonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
+@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,500i,500,600,600i|Roboto);
+
+* {
+ box-sizing: border-box
}
-@font-face {
- font-family: 'Open Sans Light';
- font-weight: normal;
- font-style: normal;
- src: url('../fonts/OpenSans-Light-webfont.eot');
- src:
- local('Open Sans Light'),
- local('OpenSans Light'),
- url('../fonts/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
- url('../fonts/OpenSans-Light-webfont.woff') format('woff'),
- url('../fonts/OpenSans-Light-webfont.svg#open_sanslight') format('svg');
+html, body {
+ height: 100%;
+ width: 100%;
}
-html
-{
- overflow: auto;
- background-color: #fff;
- font-size: 14px;
+body {
+ color: #4d4e53;
+ background-color: white;
+ margin: 0 auto;
+ padding: 0;
+ font-family: 'Source Sans Pro', Helvetica, sans-serif;
+ font-size: 16px;
+ line-height: 160%;
}
-body
-{
- font-family: 'Open Sans', sans-serif;
- line-height: 1.5;
- color: #4d4e53;
- background-color: white;
-}
-
-a, a:visited, a:active {
- color: #0095dd;
- text-decoration: none;
+a,
+a:active {
+ color: #0095dd;
+ text-decoration: none;
}
a:hover {
- text-decoration: underline;
+ text-decoration: underline
}
-header
-{
- display: block;
- padding: 0px 4px;
+p, ul, ol, blockquote {
+ margin-bottom: 1em;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ font-family: 'Roboto', sans-serif;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ color: #000;
+ font-weight: 400;
+ margin: 0;
+}
+
+h1 {
+ font-weight: 300;
+ font-size: 48px;
+ margin: 1em 0 .5em;
+}
+
+h1.page-title {margin-bottom: 10px;font-size: 34px;font-weight: 300;border-bottom: solid 2px #ddd;padding: .5em 0 .5em;margin-top: 0;}
+
+h2 {
+ font-size: 32px;
+ margin: 1.2em 0 .8em;
+ font-weight: bold;
+}
+
+h3 {
+ /* margin-top: 1em; */
+ /* margin-bottom: 16px; */
+ /* font-weight: bold; */
+ padding: 0;
+ margin: 1em 0 .6em;
+ font-size: 28px;
+ /* border-bottom: 1px solid #eee; */
+ /* padding-bottom: 15px; */
+}
+
+h4 {
+ font-size: 18px;
+ margin: 1em 0 .2em;
+ color: #4d4e53;
+ /* border-bottom: 1px solid #eee; */
+ padding-bottom: 8px;
+}
+
+h5, .container-overview .subsection-title {
+ font-size: 120%;
+ /* letter-spacing: -0.01em; */
+ margin: 20px 0 5px;
+}
+
+h6 {
+ font-size: 100%;
+ letter-spacing: -0.01em;
+ margin: 6px 0 3px 0;
+ font-style: italic;
}
tt, code, kbd, samp {
- font-family: Consolas, Monaco, 'Andale Mono', monospace;
+ font-family: Consolas, Monaco, 'Andale Mono', monospace;
+ background: #f4f4f4;
+ padding: 1px 5px;
+ border-radius: 5px;
+ font-size: 14px;
+}
+
+blockquote {
+ display: block;
+ border-left: 4px solid #eee;
+ margin: 0;
+ padding-left: 1em;
+ color: #888;
}
.class-description {
- font-size: 130%;
- line-height: 140%;
- margin-bottom: 1em;
- margin-top: 1em;
+ font-size: 130%;
+ line-height: 140%;
+ margin-bottom: 1em;
+ margin-top: 1em;
}
.class-description:empty {
- margin: 0;
+ margin: 0
}
+/** Container **/
#main {
- float: left;
- width: 70%;
+ float: right;
+ min-width: 360px;
+ width: calc(100% - 250px);
+ padding: 0 30px 20px 30px;
}
-article dl {
- margin-bottom: 40px;
+header {
+ display: block
}
-section
-{
- display: block;
- background-color: #fff;
- padding: 12px 24px;
- border-bottom: 1px solid #ccc;
- margin-right: 30px;
+section {
+ display: block;
+ background-color: #fff;
+ padding: 0;
}
.variation {
- display: none;
+ display: none
}
.signature-attributes {
- font-size: 60%;
- color: #aaa;
- font-style: italic;
- font-weight: lighter;
+ font-size: 60%;
+ color: #aaa;
+ font-style: italic;
+ font-weight: lighter;
}
-nav
-{
- display: block;
- float: right;
- margin-top: 28px;
- width: 30%;
- box-sizing: border-box;
- border-left: 1px solid #ccc;
- padding-left: 16px;
+/** Readme **/
+
+.readme {
+ font-size: 16px;
}
-nav ul {
- font-family: 'Lucida Grande', 'Lucida Sans Unicode', arial, sans-serif;
- font-size: 100%;
- line-height: 17px;
- padding: 0;
- margin: 0;
- list-style-type: none;
+.readme h1,
+.readme h2,
+.readme h3,
+.readme h4,
+.readme h5 {
+ margin-top: 1em;
+ margin-bottom: 16px;
+ font-weight: bold;
+ padding: 0;
}
-nav ul a, nav ul a:visited, nav ul a:active {
- font-family: Consolas, Monaco, 'Andale Mono', monospace;
- line-height: 18px;
- color: #4D4E53;
+.readme h1 {
+ font-size: 2em;
+ padding-bottom: 0.3em;
}
-nav h3 {
- margin-top: 12px;
+.readme h2 {
+ font-size: 1.75em;
+ padding-bottom: 0.3em;
+}
+
+.readme h3 {
+ font-size: 1.5em;
+ background-color: transparent;
+}
+
+.readme h4 {
+ font-size: 1.25em;
+}
+
+.readme h5 {
+ font-size: 1em;
+}
+
+.readme img {
+ max-width: 100%;
+}
+
+.readme ul, .readme ol {
+ padding-left: 2em;
+}
+
+.readme pre > code {
+ font-size: 0.85em;
+}
+
+.readme table {
+ margin-bottom: 1em;
+ border-collapse: collapse;
+ border-spacing: 0;
+}
+
+.readme table tr {
+ background-color: #fff;
+ border-top: 1px solid #ccc;
+}
+
+.readme table th,
+.readme table td {
+ padding: 6px 13px;
+ border: 1px solid #ddd;
+}
+
+.readme table tr:nth-child(2n) {
+ background-color: #f8f8f8;
+}
+
+/** Nav **/
+nav {
+ float: left;
+ display: block;
+ width: 250px;
+ background: #fff;
+ overflow: auto;
+ position: fixed;
+ height: 100%;
+ padding: 10px;
+ border-right: 1px solid #eee;
+ /* box-shadow: 0 0 3px rgba(0,0,0,0.1); */
}
nav li {
- margin-top: 6px;
+ list-style: none;
+ padding: 0;
+ margin: 0;
}
-footer {
- display: block;
- padding: 6px;
- margin-top: 12px;
- font-style: italic;
- font-size: 90%;
+.nav-heading {
+ margin-top: 10px;
+ font-weight: bold;
}
-h1, h2, h3, h4 {
- font-weight: 200;
- margin: 0;
-}
-
-h1
-{
- font-family: 'Open Sans Light', sans-serif;
- font-size: 48px;
- letter-spacing: -2px;
- margin: 12px 24px 20px;
-}
-
-h2, h3.subsection-title
-{
- font-size: 30px;
- font-weight: 700;
- letter-spacing: -1px;
- margin-bottom: 12px;
-}
-
-h3
-{
- font-size: 24px;
- letter-spacing: -0.5px;
- margin-bottom: 12px;
-}
-
-h4
-{
- font-size: 18px;
- letter-spacing: -0.33px;
- margin-bottom: 12px;
- color: #4d4e53;
-}
-
-h5, .container-overview .subsection-title
-{
- font-size: 120%;
- font-weight: bold;
- letter-spacing: -0.01em;
- margin: 8px 0 3px 0;
-}
-
-h6
-{
- font-size: 100%;
- letter-spacing: -0.01em;
- margin: 6px 0 3px 0;
- font-style: italic;
-}
-
-table
-{
- border-spacing: 0;
- border: 0;
- border-collapse: collapse;
-}
-
-td, th
-{
- border: 1px solid #ddd;
- margin: 0px;
- text-align: left;
- vertical-align: top;
- padding: 4px 6px;
- display: table-cell;
-}
-
-thead tr
-{
- background-color: #ddd;
- font-weight: bold;
-}
-
-th { border-right: 1px solid #aaa; }
-tr > th:last-child { border-right: 1px solid #ddd; }
-
-.ancestors { color: #999; }
-.ancestors a
-{
- color: #999 !important;
- text-decoration: none;
-}
-
-.clear
-{
- clear: both;
-}
-
-.important
-{
- font-weight: bold;
- color: #950B02;
-}
-
-.yes-def {
- text-indent: -1000px;
-}
-
-.type-signature {
- color: #aaa;
-}
-
-.name, .signature {
- font-family: Consolas, Monaco, 'Andale Mono', monospace;
-}
-
-.details { margin-top: 14px; border-left: 2px solid #DDD; }
-.details dt { width: 120px; float: left; padding-left: 10px; padding-top: 6px; }
-.details dd { margin-left: 70px; }
-.details ul { margin: 0; }
-.details ul { list-style-type: none; }
-.details li { margin-left: 30px; padding-top: 6px; }
-.details pre.prettyprint { margin: 0 }
-.details .object-value { padding-top: 0; }
-
-.description {
- margin-bottom: 1em;
- margin-top: 1em;
-}
-
-.code-caption
-{
- font-style: italic;
- font-size: 107%;
- margin: 0;
-}
-
-.prettyprint
-{
- border: 1px solid #ddd;
- width: 80%;
- overflow: auto;
-}
-
-.prettyprint.source {
- width: inherit;
-}
-
-.prettyprint code
-{
- font-size: 100%;
- line-height: 18px;
- display: block;
- padding: 4px 12px;
- margin: 0;
- background-color: #fff;
- color: #4D4E53;
-}
-
-.prettyprint code span.line
-{
+.nav-heading a {
+ color: #888;
+ font-size: 14px;
display: inline-block;
}
-.prettyprint.linenums
-{
+.nav-item-type {
+ /* margin-left: 5px; */
+ width: 18px;
+ height: 18px;
+ display: inline-block;
+ text-align: center;
+ border-radius: 0.2em;
+ margin-right: 5px;
+ font-weight: bold;
+ line-height: 20px;
+ font-size: 13px;
+}
+
+.type-function {
+ background: #B3E5FC;
+ color: #0288D1;
+}
+
+.type-class {
+ background: #D1C4E9;
+ color: #4527A0;
+}
+
+.type-member {
+ background: #C8E6C9;
+ color: #388E3C;
+}
+
+.type-module {
+ background: #E1BEE7;
+ color: #7B1FA2;
+}
+
+
+/** Footer **/
+footer {
+ color: hsl(0, 0%, 28%);
+ margin-left: 250px;
+ display: block;
+ padding: 30px;
+ font-style: italic;
+ font-size: 90%;
+ border-top: 1px solid #eee;
+}
+
+.ancestors {
+ color: #999
+}
+
+.ancestors a {
+ color: #999 !important;
+ text-decoration: none;
+}
+
+.clear {
+ clear: both
+}
+
+.important {
+ font-weight: bold;
+ color: #950B02;
+}
+
+.yes-def {
+ text-indent: -1000px
+}
+
+.type-signature {
+ color: #aaa
+}
+
+.name, .signature {
+ font-family: Consolas, Monaco, 'Andale Mono', monospace
+}
+
+.details {
+ margin-top: 14px;
+ border-left: 2px solid #DDD;
+ line-height: 30px;
+}
+
+.details dt {
+ width: 120px;
+ float: left;
+ padding-left: 10px;
+}
+
+.details dd {
+ margin-left: 70px
+}
+
+.details ul {
+ margin: 0
+}
+
+.details ul {
+ list-style-type: none
+}
+
+.details li {
+ margin-left: 30px
+}
+
+.details pre.prettyprint {
+ margin: 0
+}
+
+.details .object-value {
+ padding-top: 0
+}
+
+.description {
+ margin-bottom: 1em;
+ margin-top: 1em;
+}
+
+.code-caption {
+ font-style: italic;
+ font-size: 107%;
+ margin: 0;
+}
+
+.prettyprint {
+ font-size: 13px;
+ border: 1px solid #ddd;
+ border-radius: 3px;
+ box-shadow: 0 1px 3px hsla(0, 0%, 0%, 0.05);
+ overflow: auto;
+}
+
+.prettyprint.source {
+ width: inherit
+}
+
+.prettyprint code {
+ font-size: 12px;
+ line-height: 18px;
+ display: block;
+ background-color: #fff;
+ color: #4D4E53;
+}
+
+.prettyprint code:empty:before {
+ content: '';
+}
+
+.prettyprint > code {
+ padding: 15px
+}
+
+.prettyprint .linenums code {
+ padding: 0 15px
+}
+
+.prettyprint .linenums li:first-of-type code {
+ padding-top: 15px
+}
+
+.prettyprint code span.line {
+ display: inline-block
+}
+
+.prettyprint.linenums {
padding-left: 70px;
-webkit-user-select: none;
-moz-user-select: none;
@@ -305,50 +419,274 @@ tr > th:last-child { border-right: 1px solid #ddd; }
user-select: none;
}
-.prettyprint.linenums ol
-{
- padding-left: 0;
+.prettyprint.linenums ol {
+ padding-left: 0
}
-.prettyprint.linenums li
-{
- border-left: 3px #ddd solid;
+.prettyprint.linenums li {
+ border-left: 3px #ddd solid
}
-.prettyprint.linenums li.selected,
-.prettyprint.linenums li.selected *
-{
- background-color: lightyellow;
+.prettyprint.linenums li.selected, .prettyprint.linenums li.selected * {
+ background-color: lightyellow
}
-.prettyprint.linenums li *
-{
- -webkit-user-select: text;
- -moz-user-select: text;
- -ms-user-select: text;
- user-select: text;
+.prettyprint.linenums li * {
+ -webkit-user-select: text;
+ -moz-user-select: text;
+ -ms-user-select: text;
+ user-select: text;
+}
+
+.params, .props {
+ border-spacing: 0;
+ border: 1px solid #ddd;
+ border-collapse: collapse;
+ border-radius: 3px;
+ box-shadow: 0 1px 3px rgba(0,0,0,0.1);
+ width: 100%;
+ font-size: 14px;
+ /* margin-left: 15px; */
}
.params .name, .props .name, .name code {
- color: #4D4E53;
- font-family: Consolas, Monaco, 'Andale Mono', monospace;
- font-size: 100%;
+ color: #4D4E53;
+ font-family: Consolas, Monaco, 'Andale Mono', monospace;
+ font-size: 100%;
}
-.params td.description > p:first-child,
-.props td.description > p:first-child
-{
- margin-top: 0;
- padding-top: 0;
+.params td, .params th, .props td, .props th {
+ margin: 0px;
+ text-align: left;
+ vertical-align: top;
+ padding: 10px;
+ display: table-cell;
}
-.params td.description > p:last-child,
-.props td.description > p:last-child
-{
- margin-bottom: 0;
- padding-bottom: 0;
+.params td {
+ border-top: 1px solid #eee
+}
+
+.params thead tr, .props thead tr {
+ background-color: #fff;
+ font-weight: bold;
+}
+
+.params .params thead tr, .props .props thead tr {
+ background-color: #fff;
+ font-weight: bold;
+}
+
+.params td.description > p:first-child, .props td.description > p:first-child {
+ margin-top: 0;
+ padding-top: 0;
+}
+
+.params td.description > p:last-child, .props td.description > p:last-child {
+ margin-bottom: 0;
+ padding-bottom: 0;
+}
+
+dl.param-type {
+ /* border-bottom: 1px solid hsl(0, 0%, 87%); */
+ margin: 0;
+ padding: 0;
+ font-size: 16px;
+}
+
+.param-type dt, .param-type dd {
+ display: inline-block
+}
+
+.param-type dd {
+ font-family: Consolas, Monaco, 'Andale Mono', monospace;
+ display: inline-block;
+ padding: 0;
+ margin: 0;
+ font-size: 14px;
}
.disabled {
- color: #454545;
+ color: #454545
+}
+
+/* navicon button */
+.navicon-button {
+ display: none;
+ position: relative;
+ padding: 2.0625rem 1.5rem;
+ transition: 0.25s;
+ cursor: pointer;
+ user-select: none;
+ opacity: .8;
+}
+.navicon-button .navicon:before, .navicon-button .navicon:after {
+ transition: 0.25s;
+}
+.navicon-button:hover {
+ transition: 0.5s;
+ opacity: 1;
+}
+.navicon-button:hover .navicon:before, .navicon-button:hover .navicon:after {
+ transition: 0.25s;
+}
+.navicon-button:hover .navicon:before {
+ top: .825rem;
+}
+.navicon-button:hover .navicon:after {
+ top: -.825rem;
+}
+
+/* navicon */
+.navicon {
+ position: relative;
+ width: 2.5em;
+ height: .3125rem;
+ background: #000;
+ transition: 0.3s;
+ border-radius: 2.5rem;
+}
+.navicon:before, .navicon:after {
+ display: block;
+ content: "";
+ height: .3125rem;
+ width: 2.5rem;
+ background: #000;
+ position: absolute;
+ z-index: -1;
+ transition: 0.3s 0.25s;
+ border-radius: 1rem;
+}
+.navicon:before {
+ top: .625rem;
+}
+.navicon:after {
+ top: -.625rem;
+}
+
+/* open */
+.nav-trigger:checked + label:not(.steps) .navicon:before,
+.nav-trigger:checked + label:not(.steps) .navicon:after {
+ top: 0 !important;
+}
+
+.nav-trigger:checked + label .navicon:before,
+.nav-trigger:checked + label .navicon:after {
+ transition: 0.5s;
+}
+
+/* Minus */
+.nav-trigger:checked + label {
+ transform: scale(0.75);
+}
+
+/* Ã and + */
+.nav-trigger:checked + label.plus .navicon,
+.nav-trigger:checked + label.x .navicon {
+ background: transparent;
+}
+
+.nav-trigger:checked + label.plus .navicon:before,
+.nav-trigger:checked + label.x .navicon:before {
+ transform: rotate(-45deg);
+ background: #FFF;
+}
+
+.nav-trigger:checked + label.plus .navicon:after,
+.nav-trigger:checked + label.x .navicon:after {
+ transform: rotate(45deg);
+ background: #FFF;
+}
+
+.nav-trigger:checked + label.plus {
+ transform: scale(0.75) rotate(45deg);
+}
+
+.nav-trigger:checked ~ nav {
+ left: 0 !important;
+}
+
+.nav-trigger:checked ~ .overlay {
+ display: block;
+}
+
+.nav-trigger {
+ position: fixed;
+ top: 0;
+ clip: rect(0, 0, 0, 0);
+}
+
+.overlay {
+ display: none;
+ position: fixed;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ width: 100%;
+ height: 100%;
+ background: hsla(0, 0%, 0%, 0.5);
+ z-index: 1;
+}
+
+.section-method {
+ margin-bottom: 30px;
+ padding-bottom: 30px;
+ border-bottom: 1px solid #eee;
+}
+
+@media only screen and (min-width: 320px) and (max-width: 680px) {
+ body {
+ overflow-x: hidden;
+ }
+
+ nav {
+ background: #FFF;
+ width: 250px;
+ height: 100%;
+ position: fixed;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: -250px;
+ z-index: 3;
+ padding: 0 10px;
+ transition: left 0.2s;
+ }
+
+ .navicon-button {
+ display: inline-block;
+ position: fixed;
+ top: 1.5em;
+ right: 0;
+ z-index: 2;
+ }
+
+ #main {
+ width: 100%;
+ min-width: 360px;
+ }
+
+ #main h1.page-title {
+ margin: 1em 0;
+ }
+
+ #main section {
+ padding: 0;
+ }
+
+ footer {
+ margin-left: 0;
+ }
+}
+
+@media only print {
+ nav {
+ display: none;
+ }
+
+ #main {
+ float: none;
+ width: 100%;
+ }
}
diff --git a/docs/styles/prettify-jsdoc.css b/docs/styles/prettify-jsdoc.css
index 5a2526e..834a866 100644
--- a/docs/styles/prettify-jsdoc.css
+++ b/docs/styles/prettify-jsdoc.css
@@ -9,7 +9,7 @@
/* string content */
.str {
- color: #006400;
+ color: hsl(104, 100%, 24%);
font-weight: normal;
font-style: normal;
}
diff --git a/docs/styles/prettify-tomorrow.css b/docs/styles/prettify-tomorrow.css
index b6f92a7..81e74d1 100644
--- a/docs/styles/prettify-tomorrow.css
+++ b/docs/styles/prettify-tomorrow.css
@@ -9,35 +9,35 @@
@media screen {
/* string content */
.str {
- color: #718c00; }
+ color: hsl(104, 100%, 24%); }
/* a keyword */
.kwd {
- color: #8959a8; }
+ color: hsl(240, 100%, 50%); }
/* a comment */
.com {
- color: #8e908c; }
+ color: hsl(0, 0%, 60%); }
/* a type name */
.typ {
- color: #4271ae; }
+ color: hsl(240, 100%, 32%); }
/* a literal value */
.lit {
- color: #f5871f; }
+ color: hsl(240, 100%, 40%); }
/* punctuation */
.pun {
- color: #4d4d4c; }
+ color: #000000; }
/* lisp open bracket */
.opn {
- color: #4d4d4c; }
+ color: #000000; }
/* lisp close bracket */
.clo {
- color: #4d4d4c; }
+ color: #000000; }
/* a markup tag name */
.tag {
diff --git a/package.json b/package.json
index 8a619df..a8e8e0a 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "iii-client",
- "version": "0.0.1",
+ "version": "0.0.2",
"description": "Simple API for communicating with the bot of the \"iii.ru\" service.",
"homepage": "https://github.com/valentineus/iii-client",
"license": "MIT",