retreaverjs-rails 0.2.16 → 0.2.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/lib/retreaverjs/compile.rb +8 -2
  3. data/lib/retreaverjs/rails/version.rb +1 -1
  4. data/package.json +12 -8
  5. data/vendor/assets/javascripts/retreaver.min.js +1 -1
  6. data/vendor/documentation/javascript/v1/Retreaver.Campaign.html +290 -331
  7. data/vendor/documentation/javascript/v1/Retreaver.Number.html +731 -843
  8. data/vendor/documentation/javascript/v1/Retreaver.html +134 -157
  9. data/vendor/documentation/javascript/v1/{retreaver_campaign.js.html → campaign.js.html} +17 -18
  10. data/vendor/documentation/javascript/v1/global.html +97 -119
  11. data/vendor/documentation/javascript/v1/index.html +8 -10
  12. data/vendor/documentation/javascript/v1/{retreaver_number.js.html → number.js.html} +7 -8
  13. data/vendor/documentation/javascript/v1/retreaver.js.html +7 -8
  14. data/vendor/documentation/javascript/v1/scripts/linenumber.js +11 -19
  15. data/vendor/documentation/javascript/v1/styles/jsdoc-default.css +129 -193
  16. data/vendor/documentation/javascript/v1/styles/prettify-tomorrow.css +1 -1
  17. metadata +5 -23
  18. data/vendor/documentation/javascript/v1/fonts/OpenSans-Bold-webfont.eot +0 -0
  19. data/vendor/documentation/javascript/v1/fonts/OpenSans-Bold-webfont.svg +0 -1830
  20. data/vendor/documentation/javascript/v1/fonts/OpenSans-Bold-webfont.woff +0 -0
  21. data/vendor/documentation/javascript/v1/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
  22. data/vendor/documentation/javascript/v1/fonts/OpenSans-BoldItalic-webfont.svg +0 -1830
  23. data/vendor/documentation/javascript/v1/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
  24. data/vendor/documentation/javascript/v1/fonts/OpenSans-Italic-webfont.eot +0 -0
  25. data/vendor/documentation/javascript/v1/fonts/OpenSans-Italic-webfont.svg +0 -1830
  26. data/vendor/documentation/javascript/v1/fonts/OpenSans-Italic-webfont.woff +0 -0
  27. data/vendor/documentation/javascript/v1/fonts/OpenSans-Light-webfont.eot +0 -0
  28. data/vendor/documentation/javascript/v1/fonts/OpenSans-Light-webfont.svg +0 -1831
  29. data/vendor/documentation/javascript/v1/fonts/OpenSans-Light-webfont.woff +0 -0
  30. data/vendor/documentation/javascript/v1/fonts/OpenSans-LightItalic-webfont.eot +0 -0
  31. data/vendor/documentation/javascript/v1/fonts/OpenSans-LightItalic-webfont.svg +0 -1835
  32. data/vendor/documentation/javascript/v1/fonts/OpenSans-LightItalic-webfont.woff +0 -0
  33. data/vendor/documentation/javascript/v1/fonts/OpenSans-Regular-webfont.eot +0 -0
  34. data/vendor/documentation/javascript/v1/fonts/OpenSans-Regular-webfont.svg +0 -1831
  35. data/vendor/documentation/javascript/v1/fonts/OpenSans-Regular-webfont.woff +0 -0
@@ -3,7 +3,7 @@
3
3
  <head>
4
4
  <meta charset="utf-8">
5
5
  <title>JSDoc: Global</title>
6
-
6
+
7
7
  <script src="scripts/prettify/prettify.js"> </script>
8
8
  <script src="scripts/prettify/lang-css.js"> </script>
9
9
  <!--[if lt IE 9]>
@@ -16,135 +16,124 @@
16
16
  <body>
17
17
 
18
18
  <div id="main">
19
-
19
+
20
20
  <h1 class="page-title">Global</h1>
21
-
22
21
 
23
-
22
+
24
23
 
25
24
 
26
25
 
27
26
  <section>
28
-
27
+
29
28
  <header>
29
+ <h2>
30
30
 
31
- <h2></h2>
32
-
31
+ </h2>
33
32
 
34
- </header>
33
+ </header>
35
34
 
36
35
  <article>
37
36
  <div class="container-overview">
38
37
 
38
+
39
+
40
+
39
41
 
40
-
41
42
 
42
-
43
-
44
43
  <dl class="details">
45
-
46
44
 
47
-
45
+
48
46
 
49
-
50
47
 
51
-
52
48
 
53
49
 
54
50
 
55
-
56
51
 
57
-
58
52
 
59
-
60
53
 
61
-
62
54
 
63
-
64
55
 
65
-
66
56
 
67
-
68
57
 
69
-
70
58
 
71
-
72
59
 
73
-
74
60
 
75
-
61
+
62
+
63
+
64
+
65
+
66
+
67
+
76
68
 
77
69
  </dl>
78
70
 
79
-
71
+
80
72
 
81
73
 
82
74
  </div>
83
-
84
75
 
85
-
86
76
 
87
-
88
77
 
89
-
90
-
91
-
92
78
 
93
-
94
79
 
95
-
96
80
 
97
-
81
+
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+
98
90
 
99
91
  <h3 class="subsection-title">Type Definitions</h3>
100
-
101
92
 
93
+ <dl>
102
94
 
103
-
104
-
105
-
95
+ <dt>
106
96
  <h4 class="name" id="getNumberCallback"><span class="type-signature"></span>getNumberCallback<span class="signature">()</span><span class="type-signature"></span></h4>
107
-
97
+
98
+
99
+ </dt>
100
+ <dd>
101
+
102
+
103
+ <div class="description">
104
+ Retreaver.Campaign#request_number callback fired after the request completes.
105
+ </div>
108
106
 
109
107
 
110
-
111
-
112
- <div class="description">
113
- Retreaver.Campaign#request_number callback fired after the request completes.
114
- </div>
115
-
116
-
117
-
118
-
119
-
120
-
121
-
122
-
123
-
124
- <h5>Parameters:</h5>
125
108
 
109
+
110
+
111
+
112
+
113
+ <h5>Parameters:</h5>
114
+
126
115
 
127
116
  <table class="params">
128
117
  <thead>
129
- <tr>
130
-
131
-
132
- <th>Type</th>
133
-
134
-
135
-
136
-
137
-
138
- <th class="last">Description</th>
139
- </tr>
140
- </thead>
141
-
142
- <tbody>
143
-
144
-
118
+ <tr>
119
+
120
+
121
+ <th>Type</th>
122
+
123
+
124
+
125
+
126
+
127
+ <th class="last">Description</th>
128
+ </tr>
129
+ </thead>
130
+
131
+ <tbody>
132
+
133
+
145
134
  <tr>
146
135
 
147
-
136
+
148
137
  <td class="type">
149
138
 
150
139
 
@@ -153,85 +142,74 @@
153
142
 
154
143
 
155
144
  </td>
156
-
157
145
 
158
-
159
146
 
160
-
147
+
148
+
149
+
161
150
  <td class="description last">The number that was returned</td>
162
151
  </tr>
163
-
164
-
165
- </tbody>
152
+
153
+
154
+ </tbody>
166
155
  </table>
167
-
168
-
169
-
170
-
171
-
172
-
156
+
157
+
158
+
173
159
  <dl class="details">
174
-
175
160
 
176
-
161
+
177
162
 
178
-
179
163
 
180
-
181
164
 
182
165
 
183
166
 
184
-
185
167
 
186
-
187
168
 
188
-
189
169
 
190
-
191
170
 
192
-
193
171
 
194
-
195
172
 
196
-
197
173
 
198
-
174
+
175
+
176
+
177
+
199
178
 
200
179
  <dt class="tag-source">Source:</dt>
201
180
  <dd class="tag-source"><ul class="dummy"><li>
202
- <a href="retreaver_campaign.js.html">retreaver/campaign.js</a>, <a href="retreaver_campaign.js.html#line135">line 135</a>
181
+ <a href="campaign.js.html">retreaver/campaign.js</a>, <a href="campaign.js.html#line135">line 135</a>
203
182
  </li></ul></dd>
204
183
 
205
-
206
184
 
207
-
208
185
 
209
-
186
+
187
+
188
+
210
189
 
211
190
  </dl>
212
191
 
192
+
193
+
213
194
 
195
+
214
196
 
215
-
216
-
217
-
218
-
219
-
220
-
221
-
222
-
223
-
224
-
225
-
226
-
227
-
228
-
229
197
 
198
+
199
+
200
+
201
+
202
+
203
+
204
+ </dd>
230
205
 
206
+ </dl>
207
+
208
+
231
209
 
232
210
  </article>
233
211
 
234
- </section>
212
+ </section>
235
213
 
236
214
 
237
215
 
@@ -239,13 +217,13 @@
239
217
  </div>
240
218
 
241
219
  <nav>
242
- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Retreaver.Campaign.html">Campaign</a></li><li><a href="Retreaver.Number.html">Number</a></li></ul><h3>Namespaces</h3><ul><li><a href="Retreaver.html">Retreaver</a></li></ul><h3><a href="global.html">Global</a></h3>
220
+ <h2><a href="index.html">Index</a></h2><h3>Classes</h3><ul><li><a href="Retreaver.Campaign.html">Campaign</a></li><li><a href="Retreaver.Number.html">Number</a></li></ul><h3>Namespaces</h3><ul><li><a href="Retreaver.html">Retreaver</a></li></ul><h3><a href="global.html">Global</a></h3>
243
221
  </nav>
244
222
 
245
- <br class="clear">
223
+ <br clear="both">
246
224
 
247
225
  <footer>
248
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.3</a> on Thu Feb 16 2017 17:35:24 GMT-0500 (EST)
226
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Thu Dec 15 2022 15:03:30 GMT+0200 (EET)
249
227
  </footer>
250
228
 
251
229
  <script> prettyPrint(); </script>
@@ -2,8 +2,8 @@
2
2
  <html lang="en">
3
3
  <head>
4
4
  <meta charset="utf-8">
5
- <title>JSDoc: Home</title>
6
-
5
+ <title>JSDoc: Index</title>
6
+
7
7
  <script src="scripts/prettify/prettify.js"> </script>
8
8
  <script src="scripts/prettify/lang-css.js"> </script>
9
9
  <!--[if lt IE 9]>
@@ -16,11 +16,10 @@
16
16
  <body>
17
17
 
18
18
  <div id="main">
19
-
20
- <h1 class="page-title">Home</h1>
21
-
22
19
 
23
-
20
+ <h1 class="page-title">Index</h1>
21
+
22
+
24
23
 
25
24
 
26
25
 
@@ -36,7 +35,6 @@
36
35
 
37
36
 
38
37
 
39
-
40
38
 
41
39
 
42
40
 
@@ -54,13 +52,13 @@
54
52
  </div>
55
53
 
56
54
  <nav>
57
- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Retreaver.Campaign.html">Campaign</a></li><li><a href="Retreaver.Number.html">Number</a></li></ul><h3>Namespaces</h3><ul><li><a href="Retreaver.html">Retreaver</a></li></ul><h3><a href="global.html">Global</a></h3>
55
+ <h2><a href="index.html">Index</a></h2><h3>Classes</h3><ul><li><a href="Retreaver.Campaign.html">Campaign</a></li><li><a href="Retreaver.Number.html">Number</a></li></ul><h3>Namespaces</h3><ul><li><a href="Retreaver.html">Retreaver</a></li></ul><h3><a href="global.html">Global</a></h3>
58
56
  </nav>
59
57
 
60
- <br class="clear">
58
+ <br clear="both">
61
59
 
62
60
  <footer>
63
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.3</a> on Thu Feb 16 2017 17:35:24 GMT-0500 (EST)
61
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Thu Dec 15 2022 15:03:30 GMT+0200 (EET)
64
62
  </footer>
65
63
 
66
64
  <script> prettyPrint(); </script>
@@ -3,7 +3,7 @@
3
3
  <head>
4
4
  <meta charset="utf-8">
5
5
  <title>JSDoc: Source: retreaver/number.js</title>
6
-
6
+
7
7
  <script src="scripts/prettify/prettify.js"> </script>
8
8
  <script src="scripts/prettify/lang-css.js"> </script>
9
9
  <!--[if lt IE 9]>
@@ -16,17 +16,16 @@
16
16
  <body>
17
17
 
18
18
  <div id="main">
19
-
19
+
20
20
  <h1 class="page-title">Source: retreaver/number.js</h1>
21
-
22
21
 
23
-
22
+
24
23
 
25
24
 
26
25
 
27
26
  <section>
28
27
  <article>
29
- <pre class="prettyprint source linenums"><code>(function () {
28
+ <pre class="prettyprint source"><code>(function () {
30
29
  // Dependencies
31
30
  var Base = Retreaver.Base;
32
31
  /**
@@ -260,13 +259,13 @@
260
259
  </div>
261
260
 
262
261
  <nav>
263
- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Retreaver.Campaign.html">Campaign</a></li><li><a href="Retreaver.Number.html">Number</a></li></ul><h3>Namespaces</h3><ul><li><a href="Retreaver.html">Retreaver</a></li></ul><h3><a href="global.html">Global</a></h3>
262
+ <h2><a href="index.html">Index</a></h2><h3>Classes</h3><ul><li><a href="Retreaver.Campaign.html">Campaign</a></li><li><a href="Retreaver.Number.html">Number</a></li></ul><h3>Namespaces</h3><ul><li><a href="Retreaver.html">Retreaver</a></li></ul><h3><a href="global.html">Global</a></h3>
264
263
  </nav>
265
264
 
266
- <br class="clear">
265
+ <br clear="both">
267
266
 
268
267
  <footer>
269
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.3</a> on Thu Feb 16 2017 17:35:24 GMT-0500 (EST)
268
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Thu Dec 15 2022 15:03:30 GMT+0200 (EET)
270
269
  </footer>
271
270
 
272
271
  <script> prettyPrint(); </script>
@@ -3,7 +3,7 @@
3
3
  <head>
4
4
  <meta charset="utf-8">
5
5
  <title>JSDoc: Source: retreaver.js</title>
6
-
6
+
7
7
  <script src="scripts/prettify/prettify.js"> </script>
8
8
  <script src="scripts/prettify/lang-css.js"> </script>
9
9
  <!--[if lt IE 9]>
@@ -16,17 +16,16 @@
16
16
  <body>
17
17
 
18
18
  <div id="main">
19
-
19
+
20
20
  <h1 class="page-title">Source: retreaver.js</h1>
21
-
22
21
 
23
-
22
+
24
23
 
25
24
 
26
25
 
27
26
  <section>
28
27
  <article>
29
- <pre class="prettyprint source linenums"><code>(function (context) {
28
+ <pre class="prettyprint source"><code>(function (context) {
30
29
  /**
31
30
  * @namespace Retreaver
32
31
  */
@@ -69,13 +68,13 @@
69
68
  </div>
70
69
 
71
70
  <nav>
72
- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Retreaver.Campaign.html">Campaign</a></li><li><a href="Retreaver.Number.html">Number</a></li></ul><h3>Namespaces</h3><ul><li><a href="Retreaver.html">Retreaver</a></li></ul><h3><a href="global.html">Global</a></h3>
71
+ <h2><a href="index.html">Index</a></h2><h3>Classes</h3><ul><li><a href="Retreaver.Campaign.html">Campaign</a></li><li><a href="Retreaver.Number.html">Number</a></li></ul><h3>Namespaces</h3><ul><li><a href="Retreaver.html">Retreaver</a></li></ul><h3><a href="global.html">Global</a></h3>
73
72
  </nav>
74
73
 
75
- <br class="clear">
74
+ <br clear="both">
76
75
 
77
76
  <footer>
78
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.3</a> on Thu Feb 16 2017 17:35:24 GMT-0500 (EST)
77
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Thu Dec 15 2022 15:03:30 GMT+0200 (EET)
79
78
  </footer>
80
79
 
81
80
  <script> prettyPrint(); </script>
@@ -1,25 +1,17 @@
1
- /*global document */
2
1
  (function() {
3
- var source = document.getElementsByClassName('prettyprint source linenums');
4
- var i = 0;
5
- var lineNumber = 0;
6
- var lineId;
7
- var lines;
8
- var totalLines;
9
- var anchorHash;
2
+ var counter = 0;
3
+ var numbered;
4
+ var source = document.getElementsByClassName('prettyprint source');
10
5
 
11
6
  if (source && source[0]) {
12
- anchorHash = document.location.hash.substring(1);
13
- lines = source[0].getElementsByTagName('li');
14
- totalLines = lines.length;
7
+ source = source[0].getElementsByTagName('code')[0];
15
8
 
16
- for (; i < totalLines; i++) {
17
- lineNumber++;
18
- lineId = 'line' + lineNumber;
19
- lines[i].id = lineId;
20
- if (lineId === anchorHash) {
21
- lines[i].className += ' selected';
22
- }
23
- }
9
+ numbered = source.innerHTML.split('\n');
10
+ numbered = numbered.map(function(item) {
11
+ counter++;
12
+ return '<span id="line' + counter + '" class="line"></span>' + item;
13
+ });
14
+
15
+ source.innerHTML = numbered.join('\n');
24
16
  }
25
17
  })();