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.
Files changed (43) hide show
  1. package/README.md +1 -1
  2. package/docs/getting-started.md +1 -1
  3. package/docs/production-workflows.md +3 -2
  4. package/lib/core.js +1 -1
  5. package/package.json +4 -4
  6. package/docs/_book/api.html +0 -449
  7. package/docs/_book/getting-started.html +0 -425
  8. package/docs/_book/gitbook/app.js +0 -25001
  9. package/docs/_book/gitbook/fonts/fontawesome/FontAwesome.otf +0 -0
  10. package/docs/_book/gitbook/fonts/fontawesome/fontawesome-webfont.eot +0 -0
  11. package/docs/_book/gitbook/fonts/fontawesome/fontawesome-webfont.svg +0 -504
  12. package/docs/_book/gitbook/fonts/fontawesome/fontawesome-webfont.ttf +0 -0
  13. package/docs/_book/gitbook/fonts/fontawesome/fontawesome-webfont.woff +0 -0
  14. package/docs/_book/gitbook/images/apple-touch-icon-precomposed-152.png +0 -0
  15. package/docs/_book/gitbook/images/favicon.ico +0 -0
  16. package/docs/_book/gitbook/plugins/gitbook-plugin-fontsettings/buttons.js +0 -151
  17. package/docs/_book/gitbook/plugins/gitbook-plugin-fontsettings/website.css +0 -291
  18. package/docs/_book/gitbook/plugins/gitbook-plugin-ga/plugin.js +0 -17
  19. package/docs/_book/gitbook/plugins/gitbook-plugin-highlight/ebook.css +0 -131
  20. package/docs/_book/gitbook/plugins/gitbook-plugin-highlight/website.css +0 -426
  21. package/docs/_book/gitbook/plugins/gitbook-plugin-search/lunr.min.js +0 -7
  22. package/docs/_book/gitbook/plugins/gitbook-plugin-search/search.css +0 -27
  23. package/docs/_book/gitbook/plugins/gitbook-plugin-search/search.js +0 -135
  24. package/docs/_book/gitbook/plugins/gitbook-plugin-sharing/buttons.js +0 -93
  25. package/docs/_book/gitbook/style.css +0 -9
  26. package/docs/_book/index.html +0 -344
  27. package/docs/_book/installing-packages.html +0 -448
  28. package/docs/_book/linking.html +0 -367
  29. package/docs/_book/nodejs-usage.html +0 -352
  30. package/docs/_book/plugins.html +0 -379
  31. package/docs/_book/production-workflows.html +0 -391
  32. package/docs/_book/publishing-packages.html +0 -425
  33. package/docs/_book/registries.html +0 -403
  34. package/docs/_book/registry-api.html +0 -423
  35. package/docs/_book/registry-property.html +0 -344
  36. package/docs/_book/search_index.json +0 -1
  37. package/docs/book.json +0 -8
  38. package/docs/node_modules/gitbook-plugin-ga/.npmignore +0 -25
  39. package/docs/node_modules/gitbook-plugin-ga/LICENSE +0 -201
  40. package/docs/node_modules/gitbook-plugin-ga/README.md +0 -48
  41. package/docs/node_modules/gitbook-plugin-ga/book/plugin.js +0 -17
  42. package/docs/node_modules/gitbook-plugin-ga/index.js +0 -8
  43. package/docs/node_modules/gitbook-plugin-ga/package.json +0 -63
@@ -1,151 +0,0 @@
1
- require(["gitbook", "lodash", "jQuery"], function(gitbook, _, $) {
2
- var fontState;
3
-
4
- var THEMES = {
5
- "white": 0,
6
- "sepia": 1,
7
- "night": 2
8
- };
9
-
10
- var FAMILY = {
11
- "serif": 0,
12
- "sans": 1
13
- };
14
-
15
- // Save current font settings
16
- function saveFontSettings() {
17
- gitbook.storage.set("fontState", fontState);
18
- update();
19
- }
20
-
21
- // Increase font size
22
- function enlargeFontSize(e) {
23
- e.preventDefault();
24
- if (fontState.size >= 4) return;
25
-
26
- fontState.size++;
27
- saveFontSettings();
28
- };
29
-
30
- // Decrease font size
31
- function reduceFontSize(e) {
32
- e.preventDefault();
33
- if (fontState.size <= 0) return;
34
-
35
- fontState.size--;
36
- saveFontSettings();
37
- };
38
-
39
- // Change font family
40
- function changeFontFamily(index, e) {
41
- e.preventDefault();
42
-
43
- fontState.family = index;
44
- saveFontSettings();
45
- };
46
-
47
- // Change type of color
48
- function changeColorTheme(index, e) {
49
- e.preventDefault();
50
-
51
- var $book = $(".book");
52
-
53
- if (fontState.theme !== 0)
54
- $book.removeClass("color-theme-"+fontState.theme);
55
-
56
- fontState.theme = index;
57
- if (fontState.theme !== 0)
58
- $book.addClass("color-theme-"+fontState.theme);
59
-
60
- saveFontSettings();
61
- };
62
-
63
- function update() {
64
- var $book = gitbook.state.$book;
65
-
66
- $(".font-settings .font-family-list li").removeClass("active");
67
- $(".font-settings .font-family-list li:nth-child("+(fontState.family+1)+")").addClass("active");
68
-
69
- $book[0].className = $book[0].className.replace(/\bfont-\S+/g, '');
70
- $book.addClass("font-size-"+fontState.size);
71
- $book.addClass("font-family-"+fontState.family);
72
-
73
- if(fontState.theme !== 0) {
74
- $book[0].className = $book[0].className.replace(/\bcolor-theme-\S+/g, '');
75
- $book.addClass("color-theme-"+fontState.theme);
76
- }
77
- };
78
-
79
- function init(config) {
80
- var $bookBody, $book;
81
-
82
- //Find DOM elements.
83
- $book = gitbook.state.$book;
84
- $bookBody = $book.find(".book-body");
85
-
86
- // Instantiate font state object
87
- fontState = gitbook.storage.get("fontState", {
88
- size: config.size || 2,
89
- family: FAMILY[config.family || "sans"],
90
- theme: THEMES[config.theme || "white"]
91
- });
92
-
93
- update();
94
- };
95
-
96
-
97
- gitbook.events.bind("start", function(e, config) {
98
- var opts = config.fontsettings;
99
-
100
- // Create buttons in toolbar
101
- gitbook.toolbar.createButton({
102
- icon: 'fa fa-font',
103
- label: 'Font Settings',
104
- className: 'font-settings',
105
- dropdown: [
106
- [
107
- {
108
- text: 'A',
109
- className: 'font-reduce',
110
- onClick: reduceFontSize
111
- },
112
- {
113
- text: 'A',
114
- className: 'font-enlarge',
115
- onClick: enlargeFontSize
116
- }
117
- ],
118
- [
119
- {
120
- text: 'Serif',
121
- onClick: _.partial(changeFontFamily, 0)
122
- },
123
- {
124
- text: 'Sans',
125
- onClick: _.partial(changeFontFamily, 1)
126
- }
127
- ],
128
- [
129
- {
130
- text: 'White',
131
- onClick: _.partial(changeColorTheme, 0)
132
- },
133
- {
134
- text: 'Sepia',
135
- onClick: _.partial(changeColorTheme, 1)
136
- },
137
- {
138
- text: 'Night',
139
- onClick: _.partial(changeColorTheme, 2)
140
- }
141
- ]
142
- ]
143
- });
144
-
145
-
146
- // Init current settings
147
- init(opts);
148
- });
149
- });
150
-
151
-
@@ -1,291 +0,0 @@
1
- /*
2
- * Theme 1
3
- */
4
- .color-theme-1 .dropdown-menu {
5
- background-color: #111111;
6
- border-color: #7e888b;
7
- }
8
- .color-theme-1 .dropdown-menu .dropdown-caret .caret-inner {
9
- border-bottom: 9px solid #111111;
10
- }
11
- .color-theme-1 .dropdown-menu .buttons {
12
- border-color: #7e888b;
13
- }
14
- .color-theme-1 .dropdown-menu .button {
15
- color: #afa790;
16
- }
17
- .color-theme-1 .dropdown-menu .button:hover {
18
- color: #73553c;
19
- }
20
- /*
21
- * Theme 2
22
- */
23
- .color-theme-2 .dropdown-menu {
24
- background-color: #2d3143;
25
- border-color: #272a3a;
26
- }
27
- .color-theme-2 .dropdown-menu .dropdown-caret .caret-inner {
28
- border-bottom: 9px solid #2d3143;
29
- }
30
- .color-theme-2 .dropdown-menu .buttons {
31
- border-color: #272a3a;
32
- }
33
- .color-theme-2 .dropdown-menu .button {
34
- color: #62677f;
35
- }
36
- .color-theme-2 .dropdown-menu .button:hover {
37
- color: #f4f4f5;
38
- }
39
- .book .book-header .font-settings .font-enlarge {
40
- line-height: 30px;
41
- font-size: 1.4em;
42
- }
43
- .book .book-header .font-settings .font-reduce {
44
- line-height: 30px;
45
- font-size: 1em;
46
- }
47
- .book.color-theme-1 .book-body {
48
- color: #704214;
49
- background: #f3eacb;
50
- }
51
- .book.color-theme-1 .book-body .page-wrapper .page-inner section {
52
- background: #f3eacb;
53
- }
54
- .book.color-theme-2 .book-body {
55
- color: #bdcadb;
56
- background: #1c1f2b;
57
- }
58
- .book.color-theme-2 .book-body .page-wrapper .page-inner section {
59
- background: #1c1f2b;
60
- }
61
- .book.font-size-0 .book-body .page-inner section {
62
- font-size: 1.2rem;
63
- }
64
- .book.font-size-1 .book-body .page-inner section {
65
- font-size: 1.4rem;
66
- }
67
- .book.font-size-2 .book-body .page-inner section {
68
- font-size: 1.6rem;
69
- }
70
- .book.font-size-3 .book-body .page-inner section {
71
- font-size: 2.2rem;
72
- }
73
- .book.font-size-4 .book-body .page-inner section {
74
- font-size: 4rem;
75
- }
76
- .book.font-family-0 {
77
- font-family: Georgia, serif;
78
- }
79
- .book.font-family-1 {
80
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
81
- }
82
- .book.color-theme-1 .book-body .page-wrapper .page-inner section.normal {
83
- color: #704214;
84
- }
85
- .book.color-theme-1 .book-body .page-wrapper .page-inner section.normal a {
86
- color: inherit;
87
- }
88
- .book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h1,
89
- .book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h2,
90
- .book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h3,
91
- .book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h4,
92
- .book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h5,
93
- .book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h6 {
94
- color: inherit;
95
- }
96
- .book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h1,
97
- .book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h2 {
98
- border-color: inherit;
99
- }
100
- .book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h6 {
101
- color: inherit;
102
- }
103
- .book.color-theme-1 .book-body .page-wrapper .page-inner section.normal hr {
104
- background-color: inherit;
105
- }
106
- .book.color-theme-1 .book-body .page-wrapper .page-inner section.normal blockquote {
107
- border-color: inherit;
108
- }
109
- .book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre,
110
- .book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code {
111
- background: #fdf6e3;
112
- color: #657b83;
113
- border-color: #f8df9c;
114
- }
115
- .book.color-theme-1 .book-body .page-wrapper .page-inner section.normal .highlight {
116
- background-color: inherit;
117
- }
118
- .book.color-theme-1 .book-body .page-wrapper .page-inner section.normal table th,
119
- .book.color-theme-1 .book-body .page-wrapper .page-inner section.normal table td {
120
- border-color: #f5d06c;
121
- }
122
- .book.color-theme-1 .book-body .page-wrapper .page-inner section.normal table tr {
123
- color: inherit;
124
- background-color: #fdf6e3;
125
- border-color: #444444;
126
- }
127
- .book.color-theme-1 .book-body .page-wrapper .page-inner section.normal table tr:nth-child(2n) {
128
- background-color: #fbeecb;
129
- }
130
- .book.color-theme-2 .book-body .page-wrapper .page-inner section.normal {
131
- color: #bdcadb;
132
- }
133
- .book.color-theme-2 .book-body .page-wrapper .page-inner section.normal a {
134
- color: #3eb1d0;
135
- }
136
- .book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h1,
137
- .book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h2,
138
- .book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h3,
139
- .book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h4,
140
- .book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h5,
141
- .book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h6 {
142
- color: #fffffa;
143
- }
144
- .book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h1,
145
- .book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h2 {
146
- border-color: #373b4e;
147
- }
148
- .book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h6 {
149
- color: #373b4e;
150
- }
151
- .book.color-theme-2 .book-body .page-wrapper .page-inner section.normal hr {
152
- background-color: #373b4e;
153
- }
154
- .book.color-theme-2 .book-body .page-wrapper .page-inner section.normal blockquote {
155
- border-color: #373b4e;
156
- }
157
- .book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre,
158
- .book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code {
159
- color: #9dbed8;
160
- background: #2d3143;
161
- border-color: #2d3143;
162
- }
163
- .book.color-theme-2 .book-body .page-wrapper .page-inner section.normal .highlight {
164
- background-color: #282a39;
165
- }
166
- .book.color-theme-2 .book-body .page-wrapper .page-inner section.normal table th,
167
- .book.color-theme-2 .book-body .page-wrapper .page-inner section.normal table td {
168
- border-color: #3b3f54;
169
- }
170
- .book.color-theme-2 .book-body .page-wrapper .page-inner section.normal table tr {
171
- color: #b6c2d2;
172
- background-color: #2d3143;
173
- border-color: #3b3f54;
174
- }
175
- .book.color-theme-2 .book-body .page-wrapper .page-inner section.normal table tr:nth-child(2n) {
176
- background-color: #35394b;
177
- }
178
- .book.color-theme-1 .book-header {
179
- color: #afa790;
180
- background: transparent;
181
- }
182
- .book.color-theme-1 .book-header .btn {
183
- color: #afa790;
184
- }
185
- .book.color-theme-1 .book-header .btn:hover {
186
- color: #73553c;
187
- background: none;
188
- }
189
- .book.color-theme-1 .book-header h1 {
190
- color: #704214;
191
- }
192
- .book.color-theme-2 .book-header {
193
- color: #7e888b;
194
- background: transparent;
195
- }
196
- .book.color-theme-2 .book-header .btn {
197
- color: #3b3f54;
198
- }
199
- .book.color-theme-2 .book-header .btn:hover {
200
- color: #fffff5;
201
- background: none;
202
- }
203
- .book.color-theme-2 .book-header h1 {
204
- color: #bdcadb;
205
- }
206
- .book.color-theme-1 .book-body .navigation {
207
- color: #afa790;
208
- }
209
- .book.color-theme-1 .book-body .navigation:hover {
210
- color: #73553c;
211
- }
212
- .book.color-theme-2 .book-body .navigation {
213
- color: #383f52;
214
- }
215
- .book.color-theme-2 .book-body .navigation:hover {
216
- color: #fffff5;
217
- }
218
- /*
219
- * Theme 1
220
- */
221
- .book.color-theme-1 .book-summary {
222
- color: #afa790;
223
- background: #111111;
224
- border-right: 1px solid rgba(0, 0, 0, 0.07);
225
- }
226
- .book.color-theme-1 .book-summary .book-search {
227
- background: transparent;
228
- }
229
- .book.color-theme-1 .book-summary .book-search input,
230
- .book.color-theme-1 .book-summary .book-search input:focus {
231
- border: 1px solid transparent;
232
- }
233
- .book.color-theme-1 .book-summary ul.summary li.divider {
234
- background: #7e888b;
235
- box-shadow: none;
236
- }
237
- .book.color-theme-1 .book-summary ul.summary li i.fa-check {
238
- color: #33cc33;
239
- }
240
- .book.color-theme-1 .book-summary ul.summary li.done > a {
241
- color: #877f6a;
242
- }
243
- .book.color-theme-1 .book-summary ul.summary li a,
244
- .book.color-theme-1 .book-summary ul.summary li span {
245
- color: #877f6a;
246
- background: transparent;
247
- font-weight: normal;
248
- }
249
- .book.color-theme-1 .book-summary ul.summary li.active > a,
250
- .book.color-theme-1 .book-summary ul.summary li a:hover {
251
- color: #704214;
252
- background: transparent;
253
- font-weight: normal;
254
- }
255
- /*
256
- * Theme 2
257
- */
258
- .book.color-theme-2 .book-summary {
259
- color: #bcc1d2;
260
- background: #2d3143;
261
- border-right: none;
262
- }
263
- .book.color-theme-2 .book-summary .book-search {
264
- background: transparent;
265
- }
266
- .book.color-theme-2 .book-summary .book-search input,
267
- .book.color-theme-2 .book-summary .book-search input:focus {
268
- border: 1px solid transparent;
269
- }
270
- .book.color-theme-2 .book-summary ul.summary li.divider {
271
- background: #272a3a;
272
- box-shadow: none;
273
- }
274
- .book.color-theme-2 .book-summary ul.summary li i.fa-check {
275
- color: #33cc33;
276
- }
277
- .book.color-theme-2 .book-summary ul.summary li.done > a {
278
- color: #62687f;
279
- }
280
- .book.color-theme-2 .book-summary ul.summary li a,
281
- .book.color-theme-2 .book-summary ul.summary li span {
282
- color: #c1c6d7;
283
- background: transparent;
284
- font-weight: 600;
285
- }
286
- .book.color-theme-2 .book-summary ul.summary li.active > a,
287
- .book.color-theme-2 .book-summary ul.summary li a:hover {
288
- color: #f4f4f5;
289
- background: #252737;
290
- font-weight: 600;
291
- }
@@ -1,17 +0,0 @@
1
- require(["gitbook"], function(gitbook) {
2
- // Load analytics.js
3
- gitbook.events.bind("start", function(e, config) {
4
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
5
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
6
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
7
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
8
-
9
- var cfg = config.ga;
10
- ga('create', cfg.token, cfg.configuration);
11
- });
12
-
13
- // Notify pageview
14
- gitbook.events.bind("page.change", function() {
15
- ga('send', 'pageview', window.location.pathname+window.location.search);
16
- });
17
- });
@@ -1,131 +0,0 @@
1
- pre,
2
- code {
3
- /* http://jmblog.github.io/color-themes-for-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
- pre .hljs-comment,
14
- code .hljs-comment,
15
- pre .hljs-title,
16
- code .hljs-title {
17
- color: #8e908c;
18
- }
19
- pre .hljs-variable,
20
- code .hljs-variable,
21
- pre .hljs-attribute,
22
- code .hljs-attribute,
23
- pre .hljs-tag,
24
- code .hljs-tag,
25
- pre .hljs-regexp,
26
- code .hljs-regexp,
27
- pre .ruby .hljs-constant,
28
- code .ruby .hljs-constant,
29
- pre .xml .hljs-tag .hljs-title,
30
- code .xml .hljs-tag .hljs-title,
31
- pre .xml .hljs-pi,
32
- code .xml .hljs-pi,
33
- pre .xml .hljs-doctype,
34
- code .xml .hljs-doctype,
35
- pre .html .hljs-doctype,
36
- code .html .hljs-doctype,
37
- pre .css .hljs-id,
38
- code .css .hljs-id,
39
- pre .css .hljs-class,
40
- code .css .hljs-class,
41
- pre .css .hljs-pseudo,
42
- code .css .hljs-pseudo {
43
- color: #c82829;
44
- }
45
- pre .hljs-number,
46
- code .hljs-number,
47
- pre .hljs-preprocessor,
48
- code .hljs-preprocessor,
49
- pre .hljs-pragma,
50
- code .hljs-pragma,
51
- pre .hljs-built_in,
52
- code .hljs-built_in,
53
- pre .hljs-literal,
54
- code .hljs-literal,
55
- pre .hljs-params,
56
- code .hljs-params,
57
- pre .hljs-constant,
58
- code .hljs-constant {
59
- color: #f5871f;
60
- }
61
- pre .ruby .hljs-class .hljs-title,
62
- code .ruby .hljs-class .hljs-title,
63
- pre .css .hljs-rules .hljs-attribute,
64
- code .css .hljs-rules .hljs-attribute {
65
- color: #eab700;
66
- }
67
- pre .hljs-string,
68
- code .hljs-string,
69
- pre .hljs-value,
70
- code .hljs-value,
71
- pre .hljs-inheritance,
72
- code .hljs-inheritance,
73
- pre .hljs-header,
74
- code .hljs-header,
75
- pre .ruby .hljs-symbol,
76
- code .ruby .hljs-symbol,
77
- pre .xml .hljs-cdata,
78
- code .xml .hljs-cdata {
79
- color: #718c00;
80
- }
81
- pre .css .hljs-hexcolor,
82
- code .css .hljs-hexcolor {
83
- color: #3e999f;
84
- }
85
- pre .hljs-function,
86
- code .hljs-function,
87
- pre .python .hljs-decorator,
88
- code .python .hljs-decorator,
89
- pre .python .hljs-title,
90
- code .python .hljs-title,
91
- pre .ruby .hljs-function .hljs-title,
92
- code .ruby .hljs-function .hljs-title,
93
- pre .ruby .hljs-title .hljs-keyword,
94
- code .ruby .hljs-title .hljs-keyword,
95
- pre .perl .hljs-sub,
96
- code .perl .hljs-sub,
97
- pre .javascript .hljs-title,
98
- code .javascript .hljs-title,
99
- pre .coffeescript .hljs-title,
100
- code .coffeescript .hljs-title {
101
- color: #4271ae;
102
- }
103
- pre .hljs-keyword,
104
- code .hljs-keyword,
105
- pre .javascript .hljs-function,
106
- code .javascript .hljs-function {
107
- color: #8959a8;
108
- }
109
- pre .hljs,
110
- code .hljs {
111
- display: block;
112
- background: white;
113
- color: #4d4d4c;
114
- padding: 0.5em;
115
- }
116
- pre .coffeescript .javascript,
117
- code .coffeescript .javascript,
118
- pre .javascript .xml,
119
- code .javascript .xml,
120
- pre .tex .hljs-formula,
121
- code .tex .hljs-formula,
122
- pre .xml .javascript,
123
- code .xml .javascript,
124
- pre .xml .vbscript,
125
- code .xml .vbscript,
126
- pre .xml .css,
127
- code .xml .css,
128
- pre .xml .hljs-cdata,
129
- code .xml .hljs-cdata {
130
- opacity: 0.5;
131
- }