jspm 0.16.51 → 0.16.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/docs/getting-started.md +1 -1
- package/docs/production-workflows.md +3 -2
- package/lib/core.js +1 -1
- package/package.json +4 -4
- package/docs/_book/api.html +0 -449
- package/docs/_book/getting-started.html +0 -425
- package/docs/_book/gitbook/app.js +0 -25001
- package/docs/_book/gitbook/fonts/fontawesome/FontAwesome.otf +0 -0
- package/docs/_book/gitbook/fonts/fontawesome/fontawesome-webfont.eot +0 -0
- package/docs/_book/gitbook/fonts/fontawesome/fontawesome-webfont.svg +0 -504
- package/docs/_book/gitbook/fonts/fontawesome/fontawesome-webfont.ttf +0 -0
- package/docs/_book/gitbook/fonts/fontawesome/fontawesome-webfont.woff +0 -0
- package/docs/_book/gitbook/images/apple-touch-icon-precomposed-152.png +0 -0
- package/docs/_book/gitbook/images/favicon.ico +0 -0
- package/docs/_book/gitbook/plugins/gitbook-plugin-fontsettings/buttons.js +0 -151
- package/docs/_book/gitbook/plugins/gitbook-plugin-fontsettings/website.css +0 -291
- package/docs/_book/gitbook/plugins/gitbook-plugin-ga/plugin.js +0 -17
- package/docs/_book/gitbook/plugins/gitbook-plugin-highlight/ebook.css +0 -131
- package/docs/_book/gitbook/plugins/gitbook-plugin-highlight/website.css +0 -426
- package/docs/_book/gitbook/plugins/gitbook-plugin-search/lunr.min.js +0 -7
- package/docs/_book/gitbook/plugins/gitbook-plugin-search/search.css +0 -27
- package/docs/_book/gitbook/plugins/gitbook-plugin-search/search.js +0 -135
- package/docs/_book/gitbook/plugins/gitbook-plugin-sharing/buttons.js +0 -93
- package/docs/_book/gitbook/style.css +0 -9
- package/docs/_book/index.html +0 -344
- package/docs/_book/installing-packages.html +0 -448
- package/docs/_book/linking.html +0 -367
- package/docs/_book/nodejs-usage.html +0 -352
- package/docs/_book/plugins.html +0 -379
- package/docs/_book/production-workflows.html +0 -391
- package/docs/_book/publishing-packages.html +0 -425
- package/docs/_book/registries.html +0 -403
- package/docs/_book/registry-api.html +0 -423
- package/docs/_book/registry-property.html +0 -344
- package/docs/_book/search_index.json +0 -1
- package/docs/book.json +0 -8
- package/docs/node_modules/gitbook-plugin-ga/.npmignore +0 -25
- package/docs/node_modules/gitbook-plugin-ga/LICENSE +0 -201
- package/docs/node_modules/gitbook-plugin-ga/README.md +0 -48
- package/docs/node_modules/gitbook-plugin-ga/book/plugin.js +0 -17
- package/docs/node_modules/gitbook-plugin-ga/index.js +0 -8
- package/docs/node_modules/gitbook-plugin-ga/package.json +0 -63
|
@@ -1,426 +0,0 @@
|
|
|
1
|
-
.book .book-body .page-wrapper .page-inner section.normal pre,
|
|
2
|
-
.book .book-body .page-wrapper .page-inner section.normal code {
|
|
3
|
-
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
|
4
|
-
/* Tomorrow Comment */
|
|
5
|
-
/* Tomorrow Red */
|
|
6
|
-
/* Tomorrow Orange */
|
|
7
|
-
/* Tomorrow Yellow */
|
|
8
|
-
/* Tomorrow Green */
|
|
9
|
-
/* Tomorrow Aqua */
|
|
10
|
-
/* Tomorrow Blue */
|
|
11
|
-
/* Tomorrow Purple */
|
|
12
|
-
}
|
|
13
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-comment,
|
|
14
|
-
.book .book-body .page-wrapper .page-inner section.normal code .hljs-comment,
|
|
15
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-title,
|
|
16
|
-
.book .book-body .page-wrapper .page-inner section.normal code .hljs-title {
|
|
17
|
-
color: #8e908c;
|
|
18
|
-
}
|
|
19
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-variable,
|
|
20
|
-
.book .book-body .page-wrapper .page-inner section.normal code .hljs-variable,
|
|
21
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-attribute,
|
|
22
|
-
.book .book-body .page-wrapper .page-inner section.normal code .hljs-attribute,
|
|
23
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-tag,
|
|
24
|
-
.book .book-body .page-wrapper .page-inner section.normal code .hljs-tag,
|
|
25
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-regexp,
|
|
26
|
-
.book .book-body .page-wrapper .page-inner section.normal code .hljs-regexp,
|
|
27
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-constant,
|
|
28
|
-
.book .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-constant,
|
|
29
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .xml .hljs-tag .hljs-title,
|
|
30
|
-
.book .book-body .page-wrapper .page-inner section.normal code .xml .hljs-tag .hljs-title,
|
|
31
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .xml .hljs-pi,
|
|
32
|
-
.book .book-body .page-wrapper .page-inner section.normal code .xml .hljs-pi,
|
|
33
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .xml .hljs-doctype,
|
|
34
|
-
.book .book-body .page-wrapper .page-inner section.normal code .xml .hljs-doctype,
|
|
35
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .html .hljs-doctype,
|
|
36
|
-
.book .book-body .page-wrapper .page-inner section.normal code .html .hljs-doctype,
|
|
37
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .css .hljs-id,
|
|
38
|
-
.book .book-body .page-wrapper .page-inner section.normal code .css .hljs-id,
|
|
39
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .css .hljs-class,
|
|
40
|
-
.book .book-body .page-wrapper .page-inner section.normal code .css .hljs-class,
|
|
41
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .css .hljs-pseudo,
|
|
42
|
-
.book .book-body .page-wrapper .page-inner section.normal code .css .hljs-pseudo {
|
|
43
|
-
color: #c82829;
|
|
44
|
-
}
|
|
45
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-number,
|
|
46
|
-
.book .book-body .page-wrapper .page-inner section.normal code .hljs-number,
|
|
47
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-preprocessor,
|
|
48
|
-
.book .book-body .page-wrapper .page-inner section.normal code .hljs-preprocessor,
|
|
49
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-pragma,
|
|
50
|
-
.book .book-body .page-wrapper .page-inner section.normal code .hljs-pragma,
|
|
51
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-built_in,
|
|
52
|
-
.book .book-body .page-wrapper .page-inner section.normal code .hljs-built_in,
|
|
53
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-literal,
|
|
54
|
-
.book .book-body .page-wrapper .page-inner section.normal code .hljs-literal,
|
|
55
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-params,
|
|
56
|
-
.book .book-body .page-wrapper .page-inner section.normal code .hljs-params,
|
|
57
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-constant,
|
|
58
|
-
.book .book-body .page-wrapper .page-inner section.normal code .hljs-constant {
|
|
59
|
-
color: #f5871f;
|
|
60
|
-
}
|
|
61
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-class .hljs-title,
|
|
62
|
-
.book .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-class .hljs-title,
|
|
63
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .css .hljs-rules .hljs-attribute,
|
|
64
|
-
.book .book-body .page-wrapper .page-inner section.normal code .css .hljs-rules .hljs-attribute {
|
|
65
|
-
color: #eab700;
|
|
66
|
-
}
|
|
67
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-string,
|
|
68
|
-
.book .book-body .page-wrapper .page-inner section.normal code .hljs-string,
|
|
69
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-value,
|
|
70
|
-
.book .book-body .page-wrapper .page-inner section.normal code .hljs-value,
|
|
71
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-inheritance,
|
|
72
|
-
.book .book-body .page-wrapper .page-inner section.normal code .hljs-inheritance,
|
|
73
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-header,
|
|
74
|
-
.book .book-body .page-wrapper .page-inner section.normal code .hljs-header,
|
|
75
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-symbol,
|
|
76
|
-
.book .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-symbol,
|
|
77
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .xml .hljs-cdata,
|
|
78
|
-
.book .book-body .page-wrapper .page-inner section.normal code .xml .hljs-cdata {
|
|
79
|
-
color: #718c00;
|
|
80
|
-
}
|
|
81
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .css .hljs-hexcolor,
|
|
82
|
-
.book .book-body .page-wrapper .page-inner section.normal code .css .hljs-hexcolor {
|
|
83
|
-
color: #3e999f;
|
|
84
|
-
}
|
|
85
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-function,
|
|
86
|
-
.book .book-body .page-wrapper .page-inner section.normal code .hljs-function,
|
|
87
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .python .hljs-decorator,
|
|
88
|
-
.book .book-body .page-wrapper .page-inner section.normal code .python .hljs-decorator,
|
|
89
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .python .hljs-title,
|
|
90
|
-
.book .book-body .page-wrapper .page-inner section.normal code .python .hljs-title,
|
|
91
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-function .hljs-title,
|
|
92
|
-
.book .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-function .hljs-title,
|
|
93
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-title .hljs-keyword,
|
|
94
|
-
.book .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-title .hljs-keyword,
|
|
95
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .perl .hljs-sub,
|
|
96
|
-
.book .book-body .page-wrapper .page-inner section.normal code .perl .hljs-sub,
|
|
97
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .javascript .hljs-title,
|
|
98
|
-
.book .book-body .page-wrapper .page-inner section.normal code .javascript .hljs-title,
|
|
99
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .coffeescript .hljs-title,
|
|
100
|
-
.book .book-body .page-wrapper .page-inner section.normal code .coffeescript .hljs-title {
|
|
101
|
-
color: #4271ae;
|
|
102
|
-
}
|
|
103
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-keyword,
|
|
104
|
-
.book .book-body .page-wrapper .page-inner section.normal code .hljs-keyword,
|
|
105
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .javascript .hljs-function,
|
|
106
|
-
.book .book-body .page-wrapper .page-inner section.normal code .javascript .hljs-function {
|
|
107
|
-
color: #8959a8;
|
|
108
|
-
}
|
|
109
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .hljs,
|
|
110
|
-
.book .book-body .page-wrapper .page-inner section.normal code .hljs {
|
|
111
|
-
display: block;
|
|
112
|
-
background: white;
|
|
113
|
-
color: #4d4d4c;
|
|
114
|
-
padding: 0.5em;
|
|
115
|
-
}
|
|
116
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .coffeescript .javascript,
|
|
117
|
-
.book .book-body .page-wrapper .page-inner section.normal code .coffeescript .javascript,
|
|
118
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .javascript .xml,
|
|
119
|
-
.book .book-body .page-wrapper .page-inner section.normal code .javascript .xml,
|
|
120
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .tex .hljs-formula,
|
|
121
|
-
.book .book-body .page-wrapper .page-inner section.normal code .tex .hljs-formula,
|
|
122
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .xml .javascript,
|
|
123
|
-
.book .book-body .page-wrapper .page-inner section.normal code .xml .javascript,
|
|
124
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .xml .vbscript,
|
|
125
|
-
.book .book-body .page-wrapper .page-inner section.normal code .xml .vbscript,
|
|
126
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .xml .css,
|
|
127
|
-
.book .book-body .page-wrapper .page-inner section.normal code .xml .css,
|
|
128
|
-
.book .book-body .page-wrapper .page-inner section.normal pre .xml .hljs-cdata,
|
|
129
|
-
.book .book-body .page-wrapper .page-inner section.normal code .xml .hljs-cdata {
|
|
130
|
-
opacity: 0.5;
|
|
131
|
-
}
|
|
132
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre,
|
|
133
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code {
|
|
134
|
-
/*
|
|
135
|
-
|
|
136
|
-
Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <sourdrums@gmail.com>
|
|
137
|
-
|
|
138
|
-
*/
|
|
139
|
-
/* Solarized Green */
|
|
140
|
-
/* Solarized Cyan */
|
|
141
|
-
/* Solarized Blue */
|
|
142
|
-
/* Solarized Yellow */
|
|
143
|
-
/* Solarized Orange */
|
|
144
|
-
/* Solarized Red */
|
|
145
|
-
/* Solarized Violet */
|
|
146
|
-
}
|
|
147
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs,
|
|
148
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs {
|
|
149
|
-
display: block;
|
|
150
|
-
padding: 0.5em;
|
|
151
|
-
background: #fdf6e3;
|
|
152
|
-
color: #657b83;
|
|
153
|
-
}
|
|
154
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-comment,
|
|
155
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-comment,
|
|
156
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-template_comment,
|
|
157
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-template_comment,
|
|
158
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .diff .hljs-header,
|
|
159
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .diff .hljs-header,
|
|
160
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-doctype,
|
|
161
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-doctype,
|
|
162
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-pi,
|
|
163
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-pi,
|
|
164
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .lisp .hljs-string,
|
|
165
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .lisp .hljs-string,
|
|
166
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-javadoc,
|
|
167
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-javadoc {
|
|
168
|
-
color: #93a1a1;
|
|
169
|
-
}
|
|
170
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-keyword,
|
|
171
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-keyword,
|
|
172
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-winutils,
|
|
173
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-winutils,
|
|
174
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .method,
|
|
175
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .method,
|
|
176
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-addition,
|
|
177
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-addition,
|
|
178
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .css .hljs-tag,
|
|
179
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .css .hljs-tag,
|
|
180
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-request,
|
|
181
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-request,
|
|
182
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-status,
|
|
183
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-status,
|
|
184
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .nginx .hljs-title,
|
|
185
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .nginx .hljs-title {
|
|
186
|
-
color: #859900;
|
|
187
|
-
}
|
|
188
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-number,
|
|
189
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-number,
|
|
190
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-command,
|
|
191
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-command,
|
|
192
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-string,
|
|
193
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-string,
|
|
194
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-tag .hljs-value,
|
|
195
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-tag .hljs-value,
|
|
196
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-rules .hljs-value,
|
|
197
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-rules .hljs-value,
|
|
198
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-phpdoc,
|
|
199
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-phpdoc,
|
|
200
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .tex .hljs-formula,
|
|
201
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .tex .hljs-formula,
|
|
202
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-regexp,
|
|
203
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-regexp,
|
|
204
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-hexcolor,
|
|
205
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-hexcolor,
|
|
206
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-link_url,
|
|
207
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-link_url {
|
|
208
|
-
color: #2aa198;
|
|
209
|
-
}
|
|
210
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-title,
|
|
211
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-title,
|
|
212
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-localvars,
|
|
213
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-localvars,
|
|
214
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-chunk,
|
|
215
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-chunk,
|
|
216
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-decorator,
|
|
217
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-decorator,
|
|
218
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-built_in,
|
|
219
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-built_in,
|
|
220
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-identifier,
|
|
221
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-identifier,
|
|
222
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .vhdl .hljs-literal,
|
|
223
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .vhdl .hljs-literal,
|
|
224
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-id,
|
|
225
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-id,
|
|
226
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .css .hljs-function,
|
|
227
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .css .hljs-function {
|
|
228
|
-
color: #268bd2;
|
|
229
|
-
}
|
|
230
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-attribute,
|
|
231
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-attribute,
|
|
232
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-variable,
|
|
233
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-variable,
|
|
234
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .lisp .hljs-body,
|
|
235
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .lisp .hljs-body,
|
|
236
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .smalltalk .hljs-number,
|
|
237
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .smalltalk .hljs-number,
|
|
238
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-constant,
|
|
239
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-constant,
|
|
240
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-class .hljs-title,
|
|
241
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-class .hljs-title,
|
|
242
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-parent,
|
|
243
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-parent,
|
|
244
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .haskell .hljs-type,
|
|
245
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .haskell .hljs-type,
|
|
246
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-link_reference,
|
|
247
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-link_reference {
|
|
248
|
-
color: #b58900;
|
|
249
|
-
}
|
|
250
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-preprocessor,
|
|
251
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-preprocessor,
|
|
252
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-preprocessor .hljs-keyword,
|
|
253
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-preprocessor .hljs-keyword,
|
|
254
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-pragma,
|
|
255
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-pragma,
|
|
256
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-shebang,
|
|
257
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-shebang,
|
|
258
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-symbol,
|
|
259
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-symbol,
|
|
260
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-symbol .hljs-string,
|
|
261
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-symbol .hljs-string,
|
|
262
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .diff .hljs-change,
|
|
263
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .diff .hljs-change,
|
|
264
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-special,
|
|
265
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-special,
|
|
266
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-attr_selector,
|
|
267
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-attr_selector,
|
|
268
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-subst,
|
|
269
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-subst,
|
|
270
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-cdata,
|
|
271
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-cdata,
|
|
272
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .clojure .hljs-title,
|
|
273
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .clojure .hljs-title,
|
|
274
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .css .hljs-pseudo,
|
|
275
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .css .hljs-pseudo,
|
|
276
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-header,
|
|
277
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-header {
|
|
278
|
-
color: #cb4b16;
|
|
279
|
-
}
|
|
280
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-deletion,
|
|
281
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-deletion,
|
|
282
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-important,
|
|
283
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-important {
|
|
284
|
-
color: #dc322f;
|
|
285
|
-
}
|
|
286
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-link_label,
|
|
287
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-link_label {
|
|
288
|
-
color: #6c71c4;
|
|
289
|
-
}
|
|
290
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .tex .hljs-formula,
|
|
291
|
-
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .tex .hljs-formula {
|
|
292
|
-
background: #eee8d5;
|
|
293
|
-
}
|
|
294
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre,
|
|
295
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code {
|
|
296
|
-
/* Tomorrow Night Bright Theme */
|
|
297
|
-
/* Original theme - https://github.com/chriskempson/tomorrow-theme */
|
|
298
|
-
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
|
299
|
-
/* Tomorrow Comment */
|
|
300
|
-
/* Tomorrow Red */
|
|
301
|
-
/* Tomorrow Orange */
|
|
302
|
-
/* Tomorrow Yellow */
|
|
303
|
-
/* Tomorrow Green */
|
|
304
|
-
/* Tomorrow Aqua */
|
|
305
|
-
/* Tomorrow Blue */
|
|
306
|
-
/* Tomorrow Purple */
|
|
307
|
-
}
|
|
308
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-comment,
|
|
309
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-comment,
|
|
310
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-title,
|
|
311
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-title {
|
|
312
|
-
color: #969896;
|
|
313
|
-
}
|
|
314
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-variable,
|
|
315
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-variable,
|
|
316
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-attribute,
|
|
317
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-attribute,
|
|
318
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-tag,
|
|
319
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-tag,
|
|
320
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-regexp,
|
|
321
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-regexp,
|
|
322
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-constant,
|
|
323
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-constant,
|
|
324
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .xml .hljs-tag .hljs-title,
|
|
325
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .xml .hljs-tag .hljs-title,
|
|
326
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .xml .hljs-pi,
|
|
327
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .xml .hljs-pi,
|
|
328
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .xml .hljs-doctype,
|
|
329
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .xml .hljs-doctype,
|
|
330
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .html .hljs-doctype,
|
|
331
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .html .hljs-doctype,
|
|
332
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .css .hljs-id,
|
|
333
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .css .hljs-id,
|
|
334
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .css .hljs-class,
|
|
335
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .css .hljs-class,
|
|
336
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .css .hljs-pseudo,
|
|
337
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .css .hljs-pseudo {
|
|
338
|
-
color: #d54e53;
|
|
339
|
-
}
|
|
340
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-number,
|
|
341
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-number,
|
|
342
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-preprocessor,
|
|
343
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-preprocessor,
|
|
344
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-pragma,
|
|
345
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-pragma,
|
|
346
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-built_in,
|
|
347
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-built_in,
|
|
348
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-literal,
|
|
349
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-literal,
|
|
350
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-params,
|
|
351
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-params,
|
|
352
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-constant,
|
|
353
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-constant {
|
|
354
|
-
color: #e78c45;
|
|
355
|
-
}
|
|
356
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-class .hljs-title,
|
|
357
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-class .hljs-title,
|
|
358
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .css .hljs-rules .hljs-attribute,
|
|
359
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .css .hljs-rules .hljs-attribute {
|
|
360
|
-
color: #e7c547;
|
|
361
|
-
}
|
|
362
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-string,
|
|
363
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-string,
|
|
364
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-value,
|
|
365
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-value,
|
|
366
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-inheritance,
|
|
367
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-inheritance,
|
|
368
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-header,
|
|
369
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-header,
|
|
370
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-symbol,
|
|
371
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-symbol,
|
|
372
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .xml .hljs-cdata,
|
|
373
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .xml .hljs-cdata {
|
|
374
|
-
color: #b9ca4a;
|
|
375
|
-
}
|
|
376
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .css .hljs-hexcolor,
|
|
377
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .css .hljs-hexcolor {
|
|
378
|
-
color: #70c0b1;
|
|
379
|
-
}
|
|
380
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-function,
|
|
381
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-function,
|
|
382
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .python .hljs-decorator,
|
|
383
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .python .hljs-decorator,
|
|
384
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .python .hljs-title,
|
|
385
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .python .hljs-title,
|
|
386
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-function .hljs-title,
|
|
387
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-function .hljs-title,
|
|
388
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-title .hljs-keyword,
|
|
389
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-title .hljs-keyword,
|
|
390
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .perl .hljs-sub,
|
|
391
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .perl .hljs-sub,
|
|
392
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .javascript .hljs-title,
|
|
393
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .javascript .hljs-title,
|
|
394
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .coffeescript .hljs-title,
|
|
395
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .coffeescript .hljs-title {
|
|
396
|
-
color: #7aa6da;
|
|
397
|
-
}
|
|
398
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-keyword,
|
|
399
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-keyword,
|
|
400
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .javascript .hljs-function,
|
|
401
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .javascript .hljs-function {
|
|
402
|
-
color: #c397d8;
|
|
403
|
-
}
|
|
404
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs,
|
|
405
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs {
|
|
406
|
-
display: block;
|
|
407
|
-
background: black;
|
|
408
|
-
color: #eaeaea;
|
|
409
|
-
padding: 0.5em;
|
|
410
|
-
}
|
|
411
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .coffeescript .javascript,
|
|
412
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .coffeescript .javascript,
|
|
413
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .javascript .xml,
|
|
414
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .javascript .xml,
|
|
415
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .tex .hljs-formula,
|
|
416
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .tex .hljs-formula,
|
|
417
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .xml .javascript,
|
|
418
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .xml .javascript,
|
|
419
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .xml .vbscript,
|
|
420
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .xml .vbscript,
|
|
421
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .xml .css,
|
|
422
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .xml .css,
|
|
423
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .xml .hljs-cdata,
|
|
424
|
-
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .xml .hljs-cdata {
|
|
425
|
-
opacity: 0.5;
|
|
426
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 0.5.12
|
|
3
|
-
* Copyright (C) 2015 Oliver Nightingale
|
|
4
|
-
* MIT Licensed
|
|
5
|
-
* @license
|
|
6
|
-
*/
|
|
7
|
-
!function(){var t=function(e){var n=new t.Index;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),e&&e.call(n,n),n};t.version="0.5.12",t.utils={},t.utils.warn=function(t){return function(e){t.console&&console.warn&&console.warn(e)}}(this),t.EventEmitter=function(){this.events={}},t.EventEmitter.prototype.addListener=function(){var t=Array.prototype.slice.call(arguments),e=t.pop(),n=t;if("function"!=typeof e)throw new TypeError("last argument must be a function");n.forEach(function(t){this.hasHandler(t)||(this.events[t]=[]),this.events[t].push(e)},this)},t.EventEmitter.prototype.removeListener=function(t,e){if(this.hasHandler(t)){var n=this.events[t].indexOf(e);this.events[t].splice(n,1),this.events[t].length||delete this.events[t]}},t.EventEmitter.prototype.emit=function(t){if(this.hasHandler(t)){var e=Array.prototype.slice.call(arguments,1);this.events[t].forEach(function(t){t.apply(void 0,e)})}},t.EventEmitter.prototype.hasHandler=function(t){return t in this.events},t.tokenizer=function(t){return arguments.length&&null!=t&&void 0!=t?Array.isArray(t)?t.map(function(t){return t.toLowerCase()}):t.toString().trim().toLowerCase().split(/[\s\-]+/):[]},t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions={},t.Pipeline.registerFunction=function(e,n){n in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(e){var i=t.Pipeline.registeredFunctions[e];if(!i)throw new Error("Cannot load un-registered function: "+e);n.add(i)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(e){t.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var i=this._stack.indexOf(e);if(-1==i)throw new Error("Cannot find existingFn");i+=1,this._stack.splice(i,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var i=this._stack.indexOf(e);if(-1==i)throw new Error("Cannot find existingFn");this._stack.splice(i,0,n)},t.Pipeline.prototype.remove=function(t){var e=this._stack.indexOf(t);-1!=e&&this._stack.splice(e,1)},t.Pipeline.prototype.run=function(t){for(var e=[],n=t.length,i=this._stack.length,o=0;n>o;o++){for(var r=t[o],s=0;i>s&&(r=this._stack[s](r,o,t),void 0!==r);s++);void 0!==r&&e.push(r)}return e},t.Pipeline.prototype.reset=function(){this._stack=[]},t.Pipeline.prototype.toJSON=function(){return this._stack.map(function(e){return t.Pipeline.warnIfFunctionNotRegistered(e),e.label})},t.Vector=function(){this._magnitude=null,this.list=void 0,this.length=0},t.Vector.Node=function(t,e,n){this.idx=t,this.val=e,this.next=n},t.Vector.prototype.insert=function(e,n){this._magnitude=void 0;var i=this.list;if(!i)return this.list=new t.Vector.Node(e,n,i),this.length++;if(e<i.idx)return this.list=new t.Vector.Node(e,n,i),this.length++;for(var o=i,r=i.next;void 0!=r;){if(e<r.idx)return o.next=new t.Vector.Node(e,n,r),this.length++;o=r,r=r.next}return o.next=new t.Vector.Node(e,n,r),this.length++},t.Vector.prototype.magnitude=function(){if(this._magnitude)return this._magnitude;for(var t,e=this.list,n=0;e;)t=e.val,n+=t*t,e=e.next;return this._magnitude=Math.sqrt(n)},t.Vector.prototype.dot=function(t){for(var e=this.list,n=t.list,i=0;e&&n;)e.idx<n.idx?e=e.next:e.idx>n.idx?n=n.next:(i+=e.val*n.val,e=e.next,n=n.next);return i},t.Vector.prototype.similarity=function(t){return this.dot(t)/(this.magnitude()*t.magnitude())},t.SortedSet=function(){this.length=0,this.elements=[]},t.SortedSet.load=function(t){var e=new this;return e.elements=t,e.length=t.length,e},t.SortedSet.prototype.add=function(){var t,e;for(t=0;t<arguments.length;t++)e=arguments[t],~this.indexOf(e)||this.elements.splice(this.locationFor(e),0,e);this.length=this.elements.length},t.SortedSet.prototype.toArray=function(){return this.elements.slice()},t.SortedSet.prototype.map=function(t,e){return this.elements.map(t,e)},t.SortedSet.prototype.forEach=function(t,e){return this.elements.forEach(t,e)},t.SortedSet.prototype.indexOf=function(t){for(var e=0,n=this.elements.length,i=n-e,o=e+Math.floor(i/2),r=this.elements[o];i>1;){if(r===t)return o;t>r&&(e=o),r>t&&(n=o),i=n-e,o=e+Math.floor(i/2),r=this.elements[o]}return r===t?o:-1},t.SortedSet.prototype.locationFor=function(t){for(var e=0,n=this.elements.length,i=n-e,o=e+Math.floor(i/2),r=this.elements[o];i>1;)t>r&&(e=o),r>t&&(n=o),i=n-e,o=e+Math.floor(i/2),r=this.elements[o];return r>t?o:t>r?o+1:void 0},t.SortedSet.prototype.intersect=function(e){for(var n=new t.SortedSet,i=0,o=0,r=this.length,s=e.length,a=this.elements,h=e.elements;;){if(i>r-1||o>s-1)break;a[i]!==h[o]?a[i]<h[o]?i++:a[i]>h[o]&&o++:(n.add(a[i]),i++,o++)}return n},t.SortedSet.prototype.clone=function(){var e=new t.SortedSet;return e.elements=this.toArray(),e.length=e.elements.length,e},t.SortedSet.prototype.union=function(t){var e,n,i;return this.length>=t.length?(e=this,n=t):(e=t,n=this),i=e.clone(),i.add.apply(i,n.toArray()),i},t.SortedSet.prototype.toJSON=function(){return this.toArray()},t.Index=function(){this._fields=[],this._ref="id",this.pipeline=new t.Pipeline,this.documentStore=new t.Store,this.tokenStore=new t.TokenStore,this.corpusTokens=new t.SortedSet,this.eventEmitter=new t.EventEmitter,this._idfCache={},this.on("add","remove","update",function(){this._idfCache={}}.bind(this))},t.Index.prototype.on=function(){var t=Array.prototype.slice.call(arguments);return this.eventEmitter.addListener.apply(this.eventEmitter,t)},t.Index.prototype.off=function(t,e){return this.eventEmitter.removeListener(t,e)},t.Index.load=function(e){e.version!==t.version&&t.utils.warn("version mismatch: current "+t.version+" importing "+e.version);var n=new this;return n._fields=e.fields,n._ref=e.ref,n.documentStore=t.Store.load(e.documentStore),n.tokenStore=t.TokenStore.load(e.tokenStore),n.corpusTokens=t.SortedSet.load(e.corpusTokens),n.pipeline=t.Pipeline.load(e.pipeline),n},t.Index.prototype.field=function(t,e){var e=e||{},n={name:t,boost:e.boost||1};return this._fields.push(n),this},t.Index.prototype.ref=function(t){return this._ref=t,this},t.Index.prototype.add=function(e,n){var i={},o=new t.SortedSet,r=e[this._ref],n=void 0===n?!0:n;this._fields.forEach(function(n){var r=this.pipeline.run(t.tokenizer(e[n.name]));i[n.name]=r,t.SortedSet.prototype.add.apply(o,r)},this),this.documentStore.set(r,o),t.SortedSet.prototype.add.apply(this.corpusTokens,o.toArray());for(var s=0;s<o.length;s++){var a=o.elements[s],h=this._fields.reduce(function(t,e){var n=i[e.name].length;if(!n)return t;var o=i[e.name].filter(function(t){return t===a}).length;return t+o/n*e.boost},0);this.tokenStore.add(a,{ref:r,tf:h})}n&&this.eventEmitter.emit("add",e,this)},t.Index.prototype.remove=function(t,e){var n=t[this._ref],e=void 0===e?!0:e;if(this.documentStore.has(n)){var i=this.documentStore.get(n);this.documentStore.remove(n),i.forEach(function(t){this.tokenStore.remove(t,n)},this),e&&this.eventEmitter.emit("remove",t,this)}},t.Index.prototype.update=function(t,e){var e=void 0===e?!0:e;this.remove(t,!1),this.add(t,!1),e&&this.eventEmitter.emit("update",t,this)},t.Index.prototype.idf=function(t){var e="@"+t;if(Object.prototype.hasOwnProperty.call(this._idfCache,e))return this._idfCache[e];var n=this.tokenStore.count(t),i=1;return n>0&&(i=1+Math.log(this.documentStore.length/n)),this._idfCache[e]=i},t.Index.prototype.search=function(e){var n=this.pipeline.run(t.tokenizer(e)),i=new t.Vector,o=[],r=this._fields.reduce(function(t,e){return t+e.boost},0),s=n.some(function(t){return this.tokenStore.has(t)},this);if(!s)return[];n.forEach(function(e,n,s){var a=1/s.length*this._fields.length*r,h=this,l=this.tokenStore.expand(e).reduce(function(n,o){var r=h.corpusTokens.indexOf(o),s=h.idf(o),l=1,u=new t.SortedSet;if(o!==e){var c=Math.max(3,o.length-e.length);l=1/Math.log(c)}return r>-1&&i.insert(r,a*s*l),Object.keys(h.tokenStore.get(o)).forEach(function(t){u.add(t)}),n.union(u)},new t.SortedSet);o.push(l)},this);var a=o.reduce(function(t,e){return t.intersect(e)});return a.map(function(t){return{ref:t,score:i.similarity(this.documentVector(t))}},this).sort(function(t,e){return e.score-t.score})},t.Index.prototype.documentVector=function(e){for(var n=this.documentStore.get(e),i=n.length,o=new t.Vector,r=0;i>r;r++){var s=n.elements[r],a=this.tokenStore.get(s)[e].tf,h=this.idf(s);o.insert(this.corpusTokens.indexOf(s),a*h)}return o},t.Index.prototype.toJSON=function(){return{version:t.version,fields:this._fields,ref:this._ref,documentStore:this.documentStore.toJSON(),tokenStore:this.tokenStore.toJSON(),corpusTokens:this.corpusTokens.toJSON(),pipeline:this.pipeline.toJSON()}},t.Index.prototype.use=function(t){var e=Array.prototype.slice.call(arguments,1);e.unshift(this),t.apply(this,e)},t.Store=function(){this.store={},this.length=0},t.Store.load=function(e){var n=new this;return n.length=e.length,n.store=Object.keys(e.store).reduce(function(n,i){return n[i]=t.SortedSet.load(e.store[i]),n},{}),n},t.Store.prototype.set=function(t,e){this.has(t)||this.length++,this.store[t]=e},t.Store.prototype.get=function(t){return this.store[t]},t.Store.prototype.has=function(t){return t in this.store},t.Store.prototype.remove=function(t){this.has(t)&&(delete this.store[t],this.length--)},t.Store.prototype.toJSON=function(){return{store:this.store,length:this.length}},t.stemmer=function(){var t={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},e={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},n="[^aeiou]",i="[aeiouy]",o=n+"[^aeiouy]*",r=i+"[aeiou]*",s="^("+o+")?"+r+o,a="^("+o+")?"+r+o+"("+r+")?$",h="^("+o+")?"+r+o+r+o,l="^("+o+")?"+i,u=new RegExp(s),c=new RegExp(h),f=new RegExp(a),d=new RegExp(l),p=/^(.+?)(ss|i)es$/,m=/^(.+?)([^s])s$/,v=/^(.+?)eed$/,y=/^(.+?)(ed|ing)$/,g=/.$/,S=/(at|bl|iz)$/,w=new RegExp("([^aeiouylsz])\\1$"),x=new RegExp("^"+o+i+"[^aeiouwxy]$"),k=/^(.+?[^aeiou])y$/,b=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,E=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,_=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,F=/^(.+?)(s|t)(ion)$/,O=/^(.+?)e$/,P=/ll$/,N=new RegExp("^"+o+i+"[^aeiouwxy]$"),T=function(n){var i,o,r,s,a,h,l;if(n.length<3)return n;if(r=n.substr(0,1),"y"==r&&(n=r.toUpperCase()+n.substr(1)),s=p,a=m,s.test(n)?n=n.replace(s,"$1$2"):a.test(n)&&(n=n.replace(a,"$1$2")),s=v,a=y,s.test(n)){var T=s.exec(n);s=u,s.test(T[1])&&(s=g,n=n.replace(s,""))}else if(a.test(n)){var T=a.exec(n);i=T[1],a=d,a.test(i)&&(n=i,a=S,h=w,l=x,a.test(n)?n+="e":h.test(n)?(s=g,n=n.replace(s,"")):l.test(n)&&(n+="e"))}if(s=k,s.test(n)){var T=s.exec(n);i=T[1],n=i+"i"}if(s=b,s.test(n)){var T=s.exec(n);i=T[1],o=T[2],s=u,s.test(i)&&(n=i+t[o])}if(s=E,s.test(n)){var T=s.exec(n);i=T[1],o=T[2],s=u,s.test(i)&&(n=i+e[o])}if(s=_,a=F,s.test(n)){var T=s.exec(n);i=T[1],s=c,s.test(i)&&(n=i)}else if(a.test(n)){var T=a.exec(n);i=T[1]+T[2],a=c,a.test(i)&&(n=i)}if(s=O,s.test(n)){var T=s.exec(n);i=T[1],s=c,a=f,h=N,(s.test(i)||a.test(i)&&!h.test(i))&&(n=i)}return s=P,a=c,s.test(n)&&a.test(n)&&(s=g,n=n.replace(s,"")),"y"==r&&(n=r.toLowerCase()+n.substr(1)),n};return T}(),t.Pipeline.registerFunction(t.stemmer,"stemmer"),t.stopWordFilter=function(e){return e&&t.stopWordFilter.stopWords[e]!==e?e:void 0},t.stopWordFilter.stopWords={a:"a",able:"able",about:"about",across:"across",after:"after",all:"all",almost:"almost",also:"also",am:"am",among:"among",an:"an",and:"and",any:"any",are:"are",as:"as",at:"at",be:"be",because:"because",been:"been",but:"but",by:"by",can:"can",cannot:"cannot",could:"could",dear:"dear",did:"did","do":"do",does:"does",either:"either","else":"else",ever:"ever",every:"every","for":"for",from:"from",get:"get",got:"got",had:"had",has:"has",have:"have",he:"he",her:"her",hers:"hers",him:"him",his:"his",how:"how",however:"however",i:"i","if":"if","in":"in",into:"into",is:"is",it:"it",its:"its",just:"just",least:"least",let:"let",like:"like",likely:"likely",may:"may",me:"me",might:"might",most:"most",must:"must",my:"my",neither:"neither",no:"no",nor:"nor",not:"not",of:"of",off:"off",often:"often",on:"on",only:"only",or:"or",other:"other",our:"our",own:"own",rather:"rather",said:"said",say:"say",says:"says",she:"she",should:"should",since:"since",so:"so",some:"some",than:"than",that:"that",the:"the",their:"their",them:"them",then:"then",there:"there",these:"these",they:"they","this":"this",tis:"tis",to:"to",too:"too",twas:"twas",us:"us",wants:"wants",was:"was",we:"we",were:"were",what:"what",when:"when",where:"where",which:"which","while":"while",who:"who",whom:"whom",why:"why",will:"will","with":"with",would:"would",yet:"yet",you:"you",your:"your"},t.Pipeline.registerFunction(t.stopWordFilter,"stopWordFilter"),t.trimmer=function(t){var e=t.replace(/^\W+/,"").replace(/\W+$/,"");return""===e?void 0:e},t.Pipeline.registerFunction(t.trimmer,"trimmer"),t.TokenStore=function(){this.root={docs:{}},this.length=0},t.TokenStore.load=function(t){var e=new this;return e.root=t.root,e.length=t.length,e},t.TokenStore.prototype.add=function(t,e,n){var n=n||this.root,i=t[0],o=t.slice(1);return i in n||(n[i]={docs:{}}),0===o.length?(n[i].docs[e.ref]=e,void(this.length+=1)):this.add(o,e,n[i])},t.TokenStore.prototype.has=function(t){if(!t)return!1;for(var e=this.root,n=0;n<t.length;n++){if(!e[t[n]])return!1;e=e[t[n]]}return!0},t.TokenStore.prototype.getNode=function(t){if(!t)return{};for(var e=this.root,n=0;n<t.length;n++){if(!e[t[n]])return{};e=e[t[n]]}return e},t.TokenStore.prototype.get=function(t,e){return this.getNode(t,e).docs||{}},t.TokenStore.prototype.count=function(t,e){return Object.keys(this.get(t,e)).length},t.TokenStore.prototype.remove=function(t,e){if(t){for(var n=this.root,i=0;i<t.length;i++){if(!(t[i]in n))return;n=n[t[i]]}delete n.docs[e]}},t.TokenStore.prototype.expand=function(t,e){var n=this.getNode(t),i=n.docs||{},e=e||[];return Object.keys(i).length&&e.push(t),Object.keys(n).forEach(function(n){"docs"!==n&&e.concat(this.expand(t+n,e))},this),e},t.TokenStore.prototype.toJSON=function(){return{root:this.root,length:this.length}},function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.lunr=e()}(this,function(){return t})}();
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
.book .book-summary .book-search {
|
|
2
|
-
padding: 6px;
|
|
3
|
-
background: transparent;
|
|
4
|
-
position: absolute;
|
|
5
|
-
top: -50px;
|
|
6
|
-
left: 0px;
|
|
7
|
-
right: 0px;
|
|
8
|
-
transition: top 0.5s ease;
|
|
9
|
-
}
|
|
10
|
-
.book .book-summary .book-search input,
|
|
11
|
-
.book .book-summary .book-search input:focus,
|
|
12
|
-
.book .book-summary .book-search input:hover {
|
|
13
|
-
width: 100%;
|
|
14
|
-
background: transparent;
|
|
15
|
-
border: 1px solid transparent;
|
|
16
|
-
box-shadow: none;
|
|
17
|
-
outline: none;
|
|
18
|
-
line-height: 22px;
|
|
19
|
-
padding: 7px 4px;
|
|
20
|
-
color: inherit;
|
|
21
|
-
}
|
|
22
|
-
.book.with-search .book-summary .book-search {
|
|
23
|
-
top: 0px;
|
|
24
|
-
}
|
|
25
|
-
.book.with-search .book-summary ul.summary {
|
|
26
|
-
top: 50px;
|
|
27
|
-
}
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
require([
|
|
2
|
-
"gitbook",
|
|
3
|
-
"lodash"
|
|
4
|
-
], function(gitbook, _) {
|
|
5
|
-
var index = null;
|
|
6
|
-
var $searchInput, $searchForm;
|
|
7
|
-
|
|
8
|
-
// Use a specific index
|
|
9
|
-
function loadIndex(data) {
|
|
10
|
-
index = lunr.Index.load(data);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
// Fetch the search index
|
|
14
|
-
function fetchIndex() {
|
|
15
|
-
$.getJSON(gitbook.state.basePath+"/search_index.json")
|
|
16
|
-
.then(loadIndex);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
// Search for a term and return results
|
|
20
|
-
function search(q) {
|
|
21
|
-
if (!index) return;
|
|
22
|
-
|
|
23
|
-
var results = _.chain(index.search(q))
|
|
24
|
-
.map(function(result) {
|
|
25
|
-
var parts = result.ref.split("#")
|
|
26
|
-
return {
|
|
27
|
-
path: parts[0],
|
|
28
|
-
hash: parts[1]
|
|
29
|
-
}
|
|
30
|
-
})
|
|
31
|
-
.value();
|
|
32
|
-
|
|
33
|
-
return results;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
// Create search form
|
|
37
|
-
function createForm(value) {
|
|
38
|
-
if ($searchForm) $searchForm.remove();
|
|
39
|
-
|
|
40
|
-
$searchForm = $('<div>', {
|
|
41
|
-
'class': 'book-search',
|
|
42
|
-
'role': 'search'
|
|
43
|
-
});
|
|
44
|
-
|
|
45
|
-
$searchInput = $('<input>', {
|
|
46
|
-
'type': 'text',
|
|
47
|
-
'class': 'form-control',
|
|
48
|
-
'val': value,
|
|
49
|
-
'placeholder': 'Type to search'
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
$searchInput.appendTo($searchForm);
|
|
53
|
-
$searchForm.prependTo(gitbook.state.$book.find('.book-summary'));
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
// Return true if search is open
|
|
57
|
-
function isSearchOpen() {
|
|
58
|
-
return gitbook.state.$book.hasClass("with-search");
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
// Toggle the search
|
|
62
|
-
function toggleSearch(_state) {
|
|
63
|
-
if (isSearchOpen() === _state) return;
|
|
64
|
-
|
|
65
|
-
gitbook.state.$book.toggleClass("with-search", _state);
|
|
66
|
-
|
|
67
|
-
// If search bar is open: focus input
|
|
68
|
-
if (isSearchOpen()) {
|
|
69
|
-
gitbook.sidebar.toggle(true);
|
|
70
|
-
$searchInput.focus();
|
|
71
|
-
} else {
|
|
72
|
-
$searchInput.blur();
|
|
73
|
-
$searchInput.val("");
|
|
74
|
-
gitbook.sidebar.filter(null);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
// Recover current search when page changed
|
|
79
|
-
function recoverSearch() {
|
|
80
|
-
var keyword = gitbook.storage.get("keyword", "");
|
|
81
|
-
|
|
82
|
-
createForm(keyword);
|
|
83
|
-
|
|
84
|
-
if (keyword.length > 0) {
|
|
85
|
-
if(!isSearchOpen()) {
|
|
86
|
-
toggleSearch();
|
|
87
|
-
}
|
|
88
|
-
gitbook.sidebar.filter(_.pluck(search(keyword), "path"));
|
|
89
|
-
}
|
|
90
|
-
};
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
gitbook.events.bind("start", function(config) {
|
|
94
|
-
// Pre-fetch search index and create the form
|
|
95
|
-
fetchIndex();
|
|
96
|
-
createForm();
|
|
97
|
-
|
|
98
|
-
// Type in search bar
|
|
99
|
-
$(document).on("keyup", ".book-search input", function(e) {
|
|
100
|
-
var key = (e.keyCode ? e.keyCode : e.which);
|
|
101
|
-
var q = $(this).val();
|
|
102
|
-
|
|
103
|
-
if (key == 27) {
|
|
104
|
-
e.preventDefault();
|
|
105
|
-
toggleSearch(false);
|
|
106
|
-
return;
|
|
107
|
-
}
|
|
108
|
-
if (q.length == 0) {
|
|
109
|
-
gitbook.sidebar.filter(null);
|
|
110
|
-
gitbook.storage.remove("keyword");
|
|
111
|
-
} else {
|
|
112
|
-
var results = search(q);
|
|
113
|
-
gitbook.sidebar.filter(
|
|
114
|
-
_.pluck(results, "path")
|
|
115
|
-
);
|
|
116
|
-
gitbook.storage.set("keyword", q);
|
|
117
|
-
}
|
|
118
|
-
});
|
|
119
|
-
|
|
120
|
-
// Create the toggle search button
|
|
121
|
-
gitbook.toolbar.createButton({
|
|
122
|
-
icon: 'fa fa-search',
|
|
123
|
-
label: 'Search',
|
|
124
|
-
position: 'left',
|
|
125
|
-
onClick: toggleSearch
|
|
126
|
-
});
|
|
127
|
-
|
|
128
|
-
// Bind keyboard to toggle search
|
|
129
|
-
gitbook.keyboard.bind(['f'], toggleSearch)
|
|
130
|
-
});
|
|
131
|
-
|
|
132
|
-
gitbook.events.bind("page.change", recoverSearch);
|
|
133
|
-
});
|
|
134
|
-
|
|
135
|
-
|