1 | <!DOCTYPE html>
|
2 |
|
3 | <html lang="en">
|
4 | <head>
|
5 | <meta charset="utf-8">
|
6 | <meta name="viewport" content="width=device-width">
|
7 | <title>GMO Client Library for Node.js Namespace: utils/util</title>
|
8 |
|
9 | |
10 |
|
11 |
|
12 | <link type="text/css" rel="stylesheet" href="styles/sunlight.default.css">
|
13 |
|
14 | <link type="text/css" rel="stylesheet" href="styles/site.cosmo.css">
|
15 |
|
16 | </head>
|
17 |
|
18 | <body>
|
19 |
|
20 | <div class="navbar navbar-default navbar-fixed-top navbar-inverse">
|
21 | <div class="container">
|
22 | <div class="navbar-header">
|
23 | <a class="navbar-brand" href="index.html">GMO Client Library for Node.js</a>
|
24 | <button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#topNavigation">
|
25 | <span class="icon-bar"></span>
|
26 | <span class="icon-bar"></span>
|
27 | <span class="icon-bar"></span>
|
28 | </button>
|
29 | </div>
|
30 | <div class="navbar-collapse collapse" id="topNavigation">
|
31 | <ul class="nav navbar-nav">
|
32 |
|
33 | <li class="dropdown">
|
34 | <a href="namespaces.list.html" class="dropdown-toggle" data-toggle="dropdown">Namespaces<b class="caret"></b></a>
|
35 | <ul class="dropdown-menu ">
|
36 | <li><a href="error_badRequestError.html">error/badRequestError</a></li><li><a href="error_errors.html">error/errors</a></li><li><a href="factory.resultNotification.creditCard.html">factory.resultNotification.creditCard</a></li><li><a href="services_card.html">services/card</a></li><li><a href="services_credit.html">services/credit</a></li><li><a href="utils_util.html">utils/util</a></li>
|
37 | </ul>
|
38 | </li>
|
39 |
|
40 | <li class="dropdown">
|
41 | <a href="modules.list.html" class="dropdown-toggle" data-toggle="dropdown">Modules<b class="caret"></b></a>
|
42 | <ul class="dropdown-menu ">
|
43 | <li><a href="module-index.html">index</a></li>
|
44 | </ul>
|
45 | </li>
|
46 |
|
47 | <li class="dropdown">
|
48 | <a href="classes.list.html" class="dropdown-toggle" data-toggle="dropdown">Classes<b class="caret"></b></a>
|
49 | <ul class="dropdown-menu ">
|
50 | <li><a href="error_badRequestError.BadRequestError.html">error/badRequestError.BadRequestError</a></li>
|
51 | </ul>
|
52 | </li>
|
53 |
|
54 | <li class="dropdown">
|
55 | <a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b class="caret"></b></a>
|
56 | <ul class="dropdown-menu ">
|
57 | <li><a href="global.html#parseErrorMessage">parseErrorMessage</a></li>
|
58 | </ul>
|
59 | </li>
|
60 |
|
61 | </ul>
|
62 |
|
63 | <div class="col-sm-3 col-md-3">
|
64 | <form class="navbar-form" role="search">
|
65 | <div class="input-group">
|
66 | <input type="text" class="form-control" placeholder="Search" name="q" id="search-input">
|
67 | <div class="input-group-btn">
|
68 | <button class="btn btn-default" id="search-submit"><i class="glyphicon glyphicon-search"></i></button>
|
69 | </div>
|
70 | </div>
|
71 | </form>
|
72 | </div>
|
73 |
|
74 | </div>
|
75 |
|
76 | </div>
|
77 | </div>
|
78 |
|
79 |
|
80 | <div class="container" id="toc-content">
|
81 | <div class="row">
|
82 |
|
83 |
|
84 | <div class="col-md-8">
|
85 |
|
86 | <div id="main">
|
87 |
|
88 |
|
89 | <h1 class="page-title">Namespace: utils/util</h1>
|
90 | <section>
|
91 |
|
92 | <header>
|
93 |
|
94 | <h2>
|
95 | utils/util
|
96 | </h2>
|
97 |
|
98 |
|
99 | </header>
|
100 |
|
101 |
|
102 | <article>
|
103 | <div class="container-overview">
|
104 |
|
105 |
|
106 | <div class="description"><p>GMO ユーティリティー</p></div>
|
107 |
|
108 |
|
109 |
|
110 | <dl class="details">
|
111 |
|
112 |
|
113 |
|
114 |
|
115 |
|
116 |
|
117 |
|
118 |
|
119 |
|
120 |
|
121 |
|
122 |
|
123 |
|
124 |
|
125 |
|
126 |
|
127 |
|
128 |
|
129 |
|
130 |
|
131 |
|
132 |
|
133 |
|
134 |
|
135 |
|
136 |
|
137 |
|
138 |
|
139 |
|
140 | <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
|
141 | <dd class="tag-source">
|
142 | <ul class="dummy">
|
143 | <li>
|
144 | <a href="utils_util.js.html">utils/util.js</a>,
|
145 | <a href="utils_util.js.html#sunlight-1-line-2">line 2</a>
|
146 | </li>
|
147 | </ul>
|
148 | </dd>
|
149 |
|
150 |
|
151 |
|
152 |
|
153 |
|
154 |
|
155 |
|
156 | </dl>
|
157 |
|
158 |
|
159 |
|
160 |
|
161 | </div>
|
162 |
|
163 |
|
164 |
|
165 |
|
166 |
|
167 |
|
168 |
|
169 |
|
170 |
|
171 |
|
172 |
|
173 |
|
174 | <h3 class="subsection-title">Members</h3>
|
175 |
|
176 | <dl>
|
177 |
|
178 | <hr>
|
179 | <dt class="name" id=".DefaultFlag">
|
180 | <h4 id=".DefaultFlag"><span class="type-signature"><static> </span>DefaultFlag<span class="type-signature"></span></h4>
|
181 |
|
182 |
|
183 | </dt>
|
184 | <dd>
|
185 |
|
186 | <div class="description">
|
187 | <p>洗替・継続課金対象</p>
|
188 | </div>
|
189 |
|
190 |
|
191 |
|
192 |
|
193 |
|
194 | <dl class="details">
|
195 |
|
196 |
|
197 |
|
198 |
|
199 |
|
200 |
|
201 |
|
202 |
|
203 |
|
204 |
|
205 |
|
206 |
|
207 |
|
208 |
|
209 |
|
210 |
|
211 |
|
212 |
|
213 |
|
214 |
|
215 |
|
216 |
|
217 |
|
218 |
|
219 |
|
220 |
|
221 |
|
222 |
|
223 |
|
224 | <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
|
225 | <dd class="tag-source">
|
226 | <ul class="dummy">
|
227 | <li>
|
228 | <a href="utils_util.js.html">utils/util.js</a>,
|
229 | <a href="utils_util.js.html#sunlight-1-line-209">line 209</a>
|
230 | </li>
|
231 | </ul>
|
232 | </dd>
|
233 |
|
234 |
|
235 |
|
236 |
|
237 |
|
238 |
|
239 |
|
240 | </dl>
|
241 |
|
242 |
|
243 |
|
244 | </dd>
|
245 |
|
246 |
|
247 |
|
248 | <hr>
|
249 | <dt class="name" id=".JobCd">
|
250 | <h4 id=".JobCd"><span class="type-signature"><static> </span>JobCd<span class="type-signature"></span></h4>
|
251 |
|
252 |
|
253 | </dt>
|
254 | <dd>
|
255 |
|
256 | <div class="description">
|
257 | <p>処理区分</p>
|
258 | </div>
|
259 |
|
260 |
|
261 |
|
262 |
|
263 |
|
264 | <dl class="details">
|
265 |
|
266 |
|
267 |
|
268 |
|
269 |
|
270 |
|
271 |
|
272 |
|
273 |
|
274 |
|
275 |
|
276 |
|
277 |
|
278 |
|
279 |
|
280 |
|
281 |
|
282 |
|
283 |
|
284 |
|
285 |
|
286 |
|
287 |
|
288 |
|
289 |
|
290 |
|
291 |
|
292 |
|
293 |
|
294 | <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
|
295 | <dd class="tag-source">
|
296 | <ul class="dummy">
|
297 | <li>
|
298 | <a href="utils_util.js.html">utils/util.js</a>,
|
299 | <a href="utils_util.js.html#sunlight-1-line-153">line 153</a>
|
300 | </li>
|
301 | </ul>
|
302 | </dd>
|
303 |
|
304 |
|
305 |
|
306 |
|
307 |
|
308 |
|
309 |
|
310 | </dl>
|
311 |
|
312 |
|
313 |
|
314 | </dd>
|
315 |
|
316 |
|
317 |
|
318 | <hr>
|
319 | <dt class="name" id=".Method">
|
320 | <h4 id=".Method"><span class="type-signature"><static> </span>Method<span class="type-signature"></span></h4>
|
321 |
|
322 |
|
323 | </dt>
|
324 | <dd>
|
325 |
|
326 | <div class="description">
|
327 | <p>支払い方法</p>
|
328 | </div>
|
329 |
|
330 |
|
331 |
|
332 |
|
333 |
|
334 | <dl class="details">
|
335 |
|
336 |
|
337 |
|
338 |
|
339 |
|
340 |
|
341 |
|
342 |
|
343 |
|
344 |
|
345 |
|
346 |
|
347 |
|
348 |
|
349 |
|
350 |
|
351 |
|
352 |
|
353 |
|
354 |
|
355 |
|
356 |
|
357 |
|
358 |
|
359 |
|
360 |
|
361 |
|
362 |
|
363 |
|
364 | <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
|
365 | <dd class="tag-source">
|
366 | <ul class="dummy">
|
367 | <li>
|
368 | <a href="utils_util.js.html">utils/util.js</a>,
|
369 | <a href="utils_util.js.html#sunlight-1-line-57">line 57</a>
|
370 | </li>
|
371 | </ul>
|
372 | </dd>
|
373 |
|
374 |
|
375 |
|
376 |
|
377 |
|
378 |
|
379 |
|
380 | </dl>
|
381 |
|
382 |
|
383 |
|
384 | </dd>
|
385 |
|
386 |
|
387 |
|
388 | <hr>
|
389 | <dt class="name" id=".PayType">
|
390 | <h4 id=".PayType"><span class="type-signature"><static> </span>PayType<span class="type-signature"></span></h4>
|
391 |
|
392 |
|
393 | </dt>
|
394 | <dd>
|
395 |
|
396 | <div class="description">
|
397 | <p>決済方法</p>
|
398 | </div>
|
399 |
|
400 |
|
401 |
|
402 |
|
403 |
|
404 | <dl class="details">
|
405 |
|
406 |
|
407 |
|
408 |
|
409 |
|
410 |
|
411 |
|
412 |
|
413 |
|
414 |
|
415 |
|
416 |
|
417 |
|
418 |
|
419 |
|
420 |
|
421 |
|
422 |
|
423 |
|
424 |
|
425 |
|
426 |
|
427 |
|
428 |
|
429 |
|
430 |
|
431 |
|
432 |
|
433 |
|
434 | <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
|
435 | <dd class="tag-source">
|
436 | <ul class="dummy">
|
437 | <li>
|
438 | <a href="utils_util.js.html">utils/util.js</a>,
|
439 | <a href="utils_util.js.html#sunlight-1-line-13">line 13</a>
|
440 | </li>
|
441 | </ul>
|
442 | </dd>
|
443 |
|
444 |
|
445 |
|
446 |
|
447 |
|
448 |
|
449 |
|
450 | </dl>
|
451 |
|
452 |
|
453 |
|
454 | </dd>
|
455 |
|
456 |
|
457 |
|
458 | <hr>
|
459 | <dt class="name" id=".SeqMode">
|
460 | <h4 id=".SeqMode"><span class="type-signature"><static> </span>SeqMode<span class="type-signature"></span></h4>
|
461 |
|
462 |
|
463 | </dt>
|
464 | <dd>
|
465 |
|
466 | <div class="description">
|
467 | <p>カード登録連番モード</p>
|
468 | </div>
|
469 |
|
470 |
|
471 |
|
472 |
|
473 |
|
474 | <dl class="details">
|
475 |
|
476 |
|
477 |
|
478 |
|
479 |
|
480 |
|
481 |
|
482 |
|
483 |
|
484 |
|
485 |
|
486 |
|
487 |
|
488 |
|
489 |
|
490 |
|
491 |
|
492 |
|
493 |
|
494 |
|
495 |
|
496 |
|
497 |
|
498 |
|
499 |
|
500 |
|
501 |
|
502 |
|
503 |
|
504 | <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
|
505 | <dd class="tag-source">
|
506 | <ul class="dummy">
|
507 | <li>
|
508 | <a href="utils_util.js.html">utils/util.js</a>,
|
509 | <a href="utils_util.js.html#sunlight-1-line-193">line 193</a>
|
510 | </li>
|
511 | </ul>
|
512 | </dd>
|
513 |
|
514 |
|
515 |
|
516 |
|
517 |
|
518 |
|
519 |
|
520 | </dl>
|
521 |
|
522 |
|
523 |
|
524 | </dd>
|
525 |
|
526 |
|
527 |
|
528 | <hr>
|
529 | <dt class="name" id=".Status">
|
530 | <h4 id=".Status"><span class="type-signature"><static> </span>Status<span class="type-signature"></span></h4>
|
531 |
|
532 |
|
533 | </dt>
|
534 | <dd>
|
535 |
|
536 | <div class="description">
|
537 | <p>現状態</p>
|
538 | </div>
|
539 |
|
540 |
|
541 |
|
542 |
|
543 |
|
544 | <dl class="details">
|
545 |
|
546 |
|
547 |
|
548 |
|
549 |
|
550 |
|
551 |
|
552 |
|
553 |
|
554 |
|
555 |
|
556 |
|
557 |
|
558 |
|
559 |
|
560 |
|
561 |
|
562 |
|
563 |
|
564 |
|
565 |
|
566 |
|
567 |
|
568 |
|
569 |
|
570 |
|
571 |
|
572 |
|
573 |
|
574 | <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
|
575 | <dd class="tag-source">
|
576 | <ul class="dummy">
|
577 | <li>
|
578 | <a href="utils_util.js.html">utils/util.js</a>,
|
579 | <a href="utils_util.js.html#sunlight-1-line-85">line 85</a>
|
580 | </li>
|
581 | </ul>
|
582 | </dd>
|
583 |
|
584 |
|
585 |
|
586 |
|
587 |
|
588 |
|
589 |
|
590 | </dl>
|
591 |
|
592 |
|
593 |
|
594 | </dd>
|
595 |
|
596 | </dl>
|
597 |
|
598 |
|
599 |
|
600 | <h3 class="subsection-title">Methods</h3>
|
601 |
|
602 | <dl>
|
603 |
|
604 | <hr>
|
605 | <dt>
|
606 | <h4 class="name" id=".createShopPassString"><span class="type-signature"><static> </span>createShopPassString(args)</h4>
|
607 |
|
608 |
|
609 | </dt>
|
610 | <dd>
|
611 |
|
612 |
|
613 | <div class="description">
|
614 | <p>ショップ情報確認文字列を作成する</p>
|
615 | </div>
|
616 |
|
617 |
|
618 |
|
619 |
|
620 |
|
621 |
|
622 |
|
623 |
|
624 | <h5>Parameters:</h5>
|
625 |
|
626 |
|
627 | <table class="params table table-striped">
|
628 | <thead>
|
629 | <tr>
|
630 |
|
631 | <th>Name</th>
|
632 |
|
633 |
|
634 | <th>Type</th>
|
635 |
|
636 |
|
637 |
|
638 |
|
639 |
|
640 | <th class="last">Description</th>
|
641 | </tr>
|
642 | </thead>
|
643 |
|
644 | <tbody>
|
645 |
|
646 |
|
647 | <tr>
|
648 |
|
649 | <td class="name"><code>args</code></td>
|
650 |
|
651 |
|
652 | <td class="type">
|
653 |
|
654 |
|
655 | <span class="param-type">ICreateShopPassStringArgs</span>
|
656 |
|
657 |
|
658 |
|
659 |
|
660 | </td>
|
661 |
|
662 |
|
663 |
|
664 |
|
665 |
|
666 | <td class="description last">
|
667 | <h6 class="method-params-label method-subparams-label">Properties</h6>
|
668 |
|
669 |
|
670 | <table class="params table table-striped">
|
671 | <thead>
|
672 | <tr>
|
673 |
|
674 | <th>Name</th>
|
675 |
|
676 |
|
677 | <th>Type</th>
|
678 |
|
679 |
|
680 |
|
681 |
|
682 |
|
683 | <th class="last">Description</th>
|
684 | </tr>
|
685 | </thead>
|
686 |
|
687 | <tbody>
|
688 |
|
689 |
|
690 | <tr>
|
691 |
|
692 | <td class="name"><code>shopId</code></td>
|
693 |
|
694 |
|
695 | <td class="type">
|
696 |
|
697 |
|
698 | <span class="param-type">string</span>
|
699 |
|
700 |
|
701 |
|
702 |
|
703 | </td>
|
704 |
|
705 |
|
706 |
|
707 |
|
708 |
|
709 | <td class="description last"></td>
|
710 | </tr>
|
711 |
|
712 |
|
713 |
|
714 | <tr>
|
715 |
|
716 | <td class="name"><code>shopPass</code></td>
|
717 |
|
718 |
|
719 | <td class="type">
|
720 |
|
721 |
|
722 | <span class="param-type">string</span>
|
723 |
|
724 |
|
725 |
|
726 |
|
727 | </td>
|
728 |
|
729 |
|
730 |
|
731 |
|
732 |
|
733 | <td class="description last"></td>
|
734 | </tr>
|
735 |
|
736 |
|
737 |
|
738 | <tr>
|
739 |
|
740 | <td class="name"><code>orderId</code></td>
|
741 |
|
742 |
|
743 | <td class="type">
|
744 |
|
745 |
|
746 | <span class="param-type">string</span>
|
747 |
|
748 |
|
749 |
|
750 |
|
751 | </td>
|
752 |
|
753 |
|
754 |
|
755 |
|
756 |
|
757 | <td class="description last"></td>
|
758 | </tr>
|
759 |
|
760 |
|
761 |
|
762 | <tr>
|
763 |
|
764 | <td class="name"><code>amount</code></td>
|
765 |
|
766 |
|
767 | <td class="type">
|
768 |
|
769 |
|
770 | <span class="param-type">string</span>
|
771 |
|
772 |
|
773 |
|
774 |
|
775 | </td>
|
776 |
|
777 |
|
778 |
|
779 |
|
780 |
|
781 | <td class="description last"></td>
|
782 | </tr>
|
783 |
|
784 |
|
785 |
|
786 | <tr>
|
787 |
|
788 | <td class="name"><code>dateTime</code></td>
|
789 |
|
790 |
|
791 | <td class="type">
|
792 |
|
793 |
|
794 | <span class="param-type">string</span>
|
795 |
|
796 |
|
797 |
|
798 |
|
799 | </td>
|
800 |
|
801 |
|
802 |
|
803 |
|
804 |
|
805 | <td class="description last"></td>
|
806 | </tr>
|
807 |
|
808 |
|
809 | </tbody>
|
810 | </table>
|
811 |
|
812 | </td>
|
813 | </tr>
|
814 |
|
815 |
|
816 | </tbody>
|
817 | </table>
|
818 |
|
819 |
|
820 |
|
821 |
|
822 | <dl class="details">
|
823 |
|
824 |
|
825 |
|
826 |
|
827 |
|
828 |
|
829 |
|
830 |
|
831 |
|
832 |
|
833 |
|
834 |
|
835 |
|
836 |
|
837 |
|
838 |
|
839 |
|
840 |
|
841 |
|
842 |
|
843 |
|
844 |
|
845 |
|
846 |
|
847 |
|
848 |
|
849 |
|
850 |
|
851 |
|
852 | <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
|
853 | <dd class="tag-source">
|
854 | <ul class="dummy">
|
855 | <li>
|
856 | <a href="utils_util.js.html">utils/util.js</a>,
|
857 | <a href="utils_util.js.html#sunlight-1-line-220">line 220</a>
|
858 | </li>
|
859 | </ul>
|
860 | </dd>
|
861 |
|
862 |
|
863 |
|
864 |
|
865 |
|
866 |
|
867 |
|
868 | </dl>
|
869 |
|
870 |
|
871 |
|
872 |
|
873 |
|
874 |
|
875 |
|
876 |
|
877 |
|
878 |
|
879 |
|
880 |
|
881 |
|
882 | <h5>Returns:</h5>
|
883 |
|
884 |
|
885 |
|
886 |
|
887 | <dl>
|
888 | <dt>
|
889 | Type
|
890 | </dt>
|
891 | <dd>
|
892 |
|
893 | <span class="param-type">string</span>
|
894 |
|
895 |
|
896 |
|
897 | </dd>
|
898 | </dl>
|
899 |
|
900 |
|
901 |
|
902 |
|
903 |
|
904 | </dd>
|
905 |
|
906 | </dl>
|
907 |
|
908 |
|
909 |
|
910 |
|
911 |
|
912 | </article>
|
913 |
|
914 | </section>
|
915 |
|
916 |
|
917 |
|
918 |
|
919 | </div>
|
920 | </div>
|
921 |
|
922 | <div class="clearfix"></div>
|
923 |
|
924 |
|
925 | <div class="col-md-3">
|
926 | <div id="toc" class="col-md-3 hidden-xs hidden-sm hidden-md"></div>
|
927 | </div>
|
928 |
|
929 |
|
930 | </div>
|
931 | </div>
|
932 |
|
933 |
|
934 | <div class="modal fade" id="searchResults">
|
935 | <div class="modal-dialog">
|
936 | <div class="modal-content">
|
937 | <div class="modal-header">
|
938 | <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
939 | <h4 class="modal-title">Search results</h4>
|
940 | </div>
|
941 | <div class="modal-body"></div>
|
942 | <div class="modal-footer">
|
943 | <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
944 | </div>
|
945 | </div>
|
946 | </div>
|
947 | </div>
|
948 |
|
949 |
|
950 | <footer>
|
951 |
|
952 |
|
953 | <span class="jsdoc-message">
|
954 | Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
|
955 |
|
956 | on Sat Oct 28th 2017
|
957 |
|
958 | using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
959 | </span>
|
960 | </footer>
|
961 |
|
962 | <script src="scripts/docstrap.lib.js"></script>
|
963 | <script src="scripts/toc.js"></script>
|
964 |
|
965 | <script type="text/javascript" src="scripts/fulltext-search-ui.js"></script>
|
966 |
|
967 |
|
968 | <script>
|
969 | $( function () {
|
970 | $( "[id*='$']" ).each( function () {
|
971 | var $this = $( this );
|
972 |
|
973 | $this.attr( "id", $this.attr( "id" ).replace( "$", "__" ) );
|
974 | } );
|
975 |
|
976 | $( ".tutorial-section pre, .readme-section pre, pre.prettyprint.source" ).each( function () {
|
977 | var $this = $( this );
|
978 |
|
979 | var example = $this.find( "code" );
|
980 | exampleText = example.html();
|
981 | var lang = /{@lang (.*?)}/.exec( exampleText );
|
982 | if ( lang && lang[1] ) {
|
983 | exampleText = exampleText.replace( lang[0], "" );
|
984 | example.html( exampleText );
|
985 | lang = lang[1];
|
986 | } else {
|
987 | var langClassMatch = example.parent()[0].className.match(/lang\-(\S+)/);
|
988 | lang = langClassMatch ? langClassMatch[1] : "javascript";
|
989 | }
|
990 |
|
991 | if ( lang ) {
|
992 |
|
993 | $this
|
994 | .addClass( "sunlight-highlight-" + lang )
|
995 | .addClass( "linenums" )
|
996 | .html( example.html() );
|
997 |
|
998 | }
|
999 | } );
|
1000 |
|
1001 | Sunlight.highlightAll( {
|
1002 | lineNumbers : true,
|
1003 | showMenu : true,
|
1004 | enableDoclinks : true
|
1005 | } );
|
1006 |
|
1007 | $.catchAnchorLinks( {
|
1008 | navbarOffset: 10
|
1009 | } );
|
1010 | $( "#toc" ).toc( {
|
1011 | anchorName : function ( i, heading, prefix ) {
|
1012 | return $( heading ).attr( "id" ) || ( prefix + i );
|
1013 | },
|
1014 | selectors : "#toc-content h1,#toc-content h2,#toc-content h3,#toc-content h4",
|
1015 | showAndHide : false,
|
1016 | smoothScrolling: true
|
1017 | } );
|
1018 |
|
1019 | $( "#main span[id^='toc']" ).addClass( "toc-shim" );
|
1020 | $( '.dropdown-toggle' ).dropdown();
|
1021 |
|
1022 | $( "table" ).each( function () {
|
1023 | var $this = $( this );
|
1024 | $this.addClass('table');
|
1025 | } );
|
1026 |
|
1027 | } );
|
1028 | </script>
|
1029 |
|
1030 |
|
1031 |
|
1032 |
|
1033 |
|
1034 |
|
1035 |
|
1036 |
|
1037 |
|
1038 |
|
1039 | <script type="text/javascript">
|
1040 | $(document).ready(function() {
|
1041 | SearcherDisplay.init();
|
1042 | });
|
1043 | </script>
|
1044 |
|
1045 |
|
1046 | </body>
|
1047 | </html> |
\ | No newline at end of file |