trusty-festivity-extension 2.5.0 → 2.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/skins/traf/fn-instagram-bg.svg +1 -0
  3. data/app/assets/images/skins/traf/fn-twitter-bg.svg +1 -0
  4. data/app/assets/images/skins/traf/traf-background.png +0 -0
  5. data/app/assets/images/skins/traf/traf-bottom-wave.png +0 -0
  6. data/app/assets/images/skins/traf/traf-bridge.png +0 -0
  7. data/app/assets/images/skins/traf/traf-bubbles.png +0 -0
  8. data/app/assets/images/skins/traf/traf-logo.svg +1 -0
  9. data/app/assets/javascripts/modal.js +2 -2
  10. data/app/assets/stylesheets/grunticon/info.svg +1 -0
  11. data/app/assets/stylesheets/grunticon/production/icons.data.png.css +4 -0
  12. data/app/assets/stylesheets/grunticon/production/icons.data.svg.css +5 -0
  13. data/app/assets/stylesheets/grunticon/production/icons.fallback.css +5 -0
  14. data/app/assets/stylesheets/grunticon/production/png/info.png +0 -0
  15. data/app/assets/stylesheets/library/_icons.scss +8 -1
  16. data/app/assets/stylesheets/skins/traf/contexts/_featured_events.scss +72 -0
  17. data/app/assets/stylesheets/skins/traf/contexts/_homepage.scss +95 -0
  18. data/app/assets/stylesheets/skins/traf/contexts/_social_feed.scss +82 -0
  19. data/app/assets/stylesheets/skins/traf/library/_general-mixins.scss +1 -0
  20. data/app/assets/stylesheets/skins/traf/skin.scss +2 -2
  21. data/app/assets/stylesheets/traf.scss +3 -0
  22. data/app/models/festivity_event_list.rb +4 -1
  23. data/app/presenters/social/twitter_post_presenter.rb +32 -0
  24. data/app/services/twitter_feed_service.rb +16 -0
  25. data/app/views/festivity_events/show.html.haml +2 -4
  26. data/app/views/festivity_markets/_market.html.haml +1 -3
  27. data/app/views/social/_instagram_posts.html.haml +0 -4
  28. data/app/views/social/_twitter_posts.html.haml +16 -0
  29. data/lib/tags/header_tags.rb +3 -2
  30. data/lib/tags/social_feed_tags.rb +13 -0
  31. data/lib/trusty-festivity-extension.rb +1 -1
  32. metadata +17 -73
  33. data/node_modules/bower/node_modules/handlebars/coverage/coverage.json +0 -1
  34. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/dist/cjs/handlebars.js.html +0 -436
  35. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/dist/cjs/handlebars.runtime.js.html +0 -424
  36. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/dist/cjs/handlebars/base.js.html +0 -1012
  37. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/dist/cjs/handlebars/compiler/ast.js.html +0 -961
  38. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/dist/cjs/handlebars/compiler/base.js.html +0 -382
  39. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/dist/cjs/handlebars/compiler/compiler.js.html +0 -1675
  40. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/dist/cjs/handlebars/compiler/helpers.js.html +0 -880
  41. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/dist/cjs/handlebars/compiler/index.html +0 -441
  42. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/dist/cjs/handlebars/compiler/javascript-compiler.js.html +0 -3211
  43. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/dist/cjs/handlebars/compiler/parser.js.html +0 -1819
  44. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/dist/cjs/handlebars/compiler/printer.js.html +0 -742
  45. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/dist/cjs/handlebars/compiler/visitor.js.html +0 -355
  46. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/dist/cjs/handlebars/exception.js.html +0 -403
  47. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/dist/cjs/handlebars/index.html +0 -402
  48. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/dist/cjs/handlebars/runtime.js.html +0 -898
  49. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/dist/cjs/handlebars/safe-string.js.html +0 -352
  50. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/dist/cjs/handlebars/utils.js.html +0 -583
  51. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/dist/cjs/index.html +0 -363
  52. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/index.html +0 -389
  53. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/lib/index.html +0 -363
  54. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/lib/index.js.html +0 -400
  55. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/lib/precompiler.js.html +0 -754
  56. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/prettify.css +0 -1
  57. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/prettify.js +0 -1
  58. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/spec/ast.js.html +0 -1594
  59. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/spec/basic.js.html +0 -973
  60. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/spec/blocks.js.html +0 -676
  61. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/spec/builtins.js.html +0 -1018
  62. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/spec/data.js.html +0 -1093
  63. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/spec/env/browser.js.html +0 -406
  64. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/spec/env/common.js.html +0 -481
  65. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/spec/env/index.html +0 -402
  66. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/spec/env/node.js.html +0 -391
  67. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/spec/env/runner.js.html +0 -457
  68. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/spec/env/runtime.js.html +0 -466
  69. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/spec/helpers.js.html +0 -2182
  70. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/spec/index.html +0 -597
  71. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/spec/javascript-compiler.js.html +0 -535
  72. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/spec/parser.js.html +0 -892
  73. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/spec/partials.js.html +0 -841
  74. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/spec/precompiler.js.html +0 -442
  75. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/spec/regressions.js.html +0 -790
  76. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/spec/require.js.html +0 -391
  77. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/spec/runtime.js.html +0 -337
  78. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/spec/spec.js.html +0 -469
  79. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/spec/string-params.js.html +0 -850
  80. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/spec/subexpressions.js.html +0 -970
  81. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/spec/tokenizer.js.html +0 -1528
  82. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/spec/track-ids.js.html +0 -811
  83. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/spec/utils.js.html +0 -499
  84. data/node_modules/bower/node_modules/handlebars/coverage/lcov-report/spec/whitespace-control.js.html +0 -508
  85. data/node_modules/bower/node_modules/handlebars/coverage/lcov.info +0 -3181
  86. data/node_modules/bower/node_modules/semver/semver.browser.js.gz +0 -0
  87. data/node_modules/bower/node_modules/semver/semver.min.js.gz +0 -0
  88. data/node_modules/bower/node_modules/tmp/README.md +0 -162
  89. data/node_modules/bower/node_modules/tmp/domain-test.js +0 -13
  90. data/node_modules/bower/node_modules/tmp/lib/tmp.js +0 -307
  91. data/node_modules/bower/node_modules/tmp/package.json +0 -50
  92. data/node_modules/bower/node_modules/tmp/test-all.sh +0 -9
  93. data/node_modules/bower/node_modules/tmp/test.js +0 -6
  94. data/node_modules/bower/node_modules/tmp/test/base.js +0 -74
  95. data/node_modules/bower/node_modules/tmp/test/dir-test.js +0 -196
  96. data/node_modules/bower/node_modules/tmp/test/file-test.js +0 -177
  97. data/node_modules/bower/node_modules/tmp/test/graceful.js +0 -15
  98. data/node_modules/bower/node_modules/tmp/test/keep.js +0 -11
  99. data/node_modules/bower/node_modules/tmp/test/name-test.js +0 -82
  100. data/node_modules/bower/node_modules/tmp/test/spawn.js +0 -32
  101. data/node_modules/bower/node_modules/tmp/test/symlinkme/file.js +0 -0
  102. data/node_modules/bower/node_modules/tmp/test/unsafe.js +0 -30
  103. data/node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/nested-error-stacks/README.md~ +0 -0
@@ -1,363 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <title>Code coverage report for dist/cjs/</title>
5
- <meta charset="utf-8">
6
-
7
- <link rel="stylesheet" href="../../prettify.css">
8
-
9
- <style>
10
- body, html {
11
- margin:0; padding: 0;
12
- }
13
- body {
14
- font-family: Helvetica Neue, Helvetica,Arial;
15
- font-size: 10pt;
16
- }
17
- div.header, div.footer {
18
- background: #eee;
19
- padding: 1em;
20
- }
21
- div.header {
22
- z-index: 100;
23
- position: fixed;
24
- top: 0;
25
- border-bottom: 1px solid #666;
26
- width: 100%;
27
- }
28
- div.footer {
29
- border-top: 1px solid #666;
30
- }
31
- div.body {
32
- margin-top: 10em;
33
- }
34
- div.meta {
35
- font-size: 90%;
36
- text-align: center;
37
- }
38
- h1, h2, h3 {
39
- font-weight: normal;
40
- }
41
- h1 {
42
- font-size: 12pt;
43
- }
44
- h2 {
45
- font-size: 10pt;
46
- }
47
- pre {
48
- font-family: Consolas, Menlo, Monaco, monospace;
49
- margin: 0;
50
- padding: 0;
51
- line-height: 14px;
52
- font-size: 14px;
53
- -moz-tab-size: 2;
54
- -o-tab-size: 2;
55
- tab-size: 2;
56
- }
57
-
58
- div.path { font-size: 110%; }
59
- div.path a:link, div.path a:visited { color: #000; }
60
- table.coverage { border-collapse: collapse; margin:0; padding: 0 }
61
-
62
- table.coverage td {
63
- margin: 0;
64
- padding: 0;
65
- color: #111;
66
- vertical-align: top;
67
- }
68
- table.coverage td.line-count {
69
- width: 50px;
70
- text-align: right;
71
- padding-right: 5px;
72
- }
73
- table.coverage td.line-coverage {
74
- color: #777 !important;
75
- text-align: right;
76
- border-left: 1px solid #666;
77
- border-right: 1px solid #666;
78
- }
79
-
80
- table.coverage td.text {
81
- }
82
-
83
- table.coverage td span.cline-any {
84
- display: inline-block;
85
- padding: 0 5px;
86
- width: 40px;
87
- }
88
- table.coverage td span.cline-neutral {
89
- background: #eee;
90
- }
91
- table.coverage td span.cline-yes {
92
- background: #b5d592;
93
- color: #999;
94
- }
95
- table.coverage td span.cline-no {
96
- background: #fc8c84;
97
- }
98
-
99
- .cstat-yes { color: #111; }
100
- .cstat-no { background: #fc8c84; color: #111; }
101
- .fstat-no { background: #ffc520; color: #111 !important; }
102
- .cbranch-no { background: yellow !important; color: #111; }
103
-
104
- .cstat-skip { background: #ddd; color: #111; }
105
- .fstat-skip { background: #ddd; color: #111 !important; }
106
- .cbranch-skip { background: #ddd !important; color: #111; }
107
-
108
- .missing-if-branch {
109
- display: inline-block;
110
- margin-right: 10px;
111
- position: relative;
112
- padding: 0 4px;
113
- background: black;
114
- color: yellow;
115
- }
116
-
117
- .skip-if-branch {
118
- display: none;
119
- margin-right: 10px;
120
- position: relative;
121
- padding: 0 4px;
122
- background: #ccc;
123
- color: white;
124
- }
125
-
126
- .missing-if-branch .typ, .skip-if-branch .typ {
127
- color: inherit !important;
128
- }
129
-
130
- .entity, .metric { font-weight: bold; }
131
- .metric { display: inline-block; border: 1px solid #333; padding: 0.3em; background: white; }
132
- .metric small { font-size: 80%; font-weight: normal; color: #666; }
133
-
134
- div.coverage-summary table { border-collapse: collapse; margin: 3em; font-size: 110%; }
135
- div.coverage-summary td, div.coverage-summary table th { margin: 0; padding: 0.25em 1em; border-top: 1px solid #666; border-bottom: 1px solid #666; }
136
- div.coverage-summary th { text-align: left; border: 1px solid #666; background: #eee; font-weight: normal; }
137
- div.coverage-summary th.file { border-right: none !important; }
138
- div.coverage-summary th.pic { border-left: none !important; text-align: right; }
139
- div.coverage-summary th.pct { border-right: none !important; }
140
- div.coverage-summary th.abs { border-left: none !important; text-align: right; }
141
- div.coverage-summary td.pct { text-align: right; border-left: 1px solid #666; }
142
- div.coverage-summary td.abs { text-align: right; font-size: 90%; color: #444; border-right: 1px solid #666; }
143
- div.coverage-summary td.file { text-align: right; border-left: 1px solid #666; white-space: nowrap; }
144
- div.coverage-summary td.pic { min-width: 120px !important; }
145
- div.coverage-summary a:link { text-decoration: none; color: #000; }
146
- div.coverage-summary a:visited { text-decoration: none; color: #333; }
147
- div.coverage-summary a:hover { text-decoration: underline; }
148
- div.coverage-summary tfoot td { border-top: 1px solid #666; }
149
-
150
- div.coverage-summary .yui3-datatable-sort-indicator, div.coverage-summary .dummy-sort-indicator {
151
- height: 10px;
152
- width: 7px;
153
- display: inline-block;
154
- margin-left: 0.5em;
155
- }
156
- div.coverage-summary .yui3-datatable-sort-indicator {
157
- background: url("https://yui-s.yahooapis.com/3.6.0/build/datatable-sort/assets/skins/sam/sort-arrow-sprite.png") no-repeat scroll 0 0 transparent;
158
- }
159
- div.coverage-summary .yui3-datatable-sorted .yui3-datatable-sort-indicator {
160
- background-position: 0 -20px;
161
- }
162
- div.coverage-summary .yui3-datatable-sorted-desc .yui3-datatable-sort-indicator {
163
- background-position: 0 -10px;
164
- }
165
-
166
- .high { background: #b5d592 !important; }
167
- .medium { background: #ffe87c !important; }
168
- .low { background: #fc8c84 !important; }
169
-
170
- span.cover-fill, span.cover-empty {
171
- display:inline-block;
172
- border:1px solid #444;
173
- background: white;
174
- height: 12px;
175
- }
176
- span.cover-fill {
177
- background: #ccc;
178
- border-right: 1px solid #444;
179
- }
180
- span.cover-empty {
181
- background: white;
182
- border-left: none;
183
- }
184
- span.cover-full {
185
- border-right: none !important;
186
- }
187
- pre.prettyprint {
188
- border: none !important;
189
- padding: 0 !important;
190
- margin: 0 !important;
191
- }
192
- .com { color: #999 !important; }
193
- .ignore-none { color: #999; font-weight: normal; }
194
-
195
- </style>
196
- </head>
197
- <body>
198
- <div class="header high">
199
- <h1>Code coverage report for <span class="entity">dist/cjs/</span></h1>
200
- <h2>
201
-
202
- Statements: <span class="metric">100% <small>(45 / 45)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
203
-
204
-
205
- Branches: <span class="metric">100% <small>(0 / 0)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
206
-
207
-
208
- Functions: <span class="metric">100% <small>(5 / 5)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
209
-
210
-
211
- Lines: <span class="metric">100% <small>(45 / 45)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
212
-
213
- Ignored: <span class="metric"><span class="ignore-none">none</span></span> &nbsp;&nbsp;&nbsp;&nbsp;
214
- </h2>
215
- <div class="path"><a href="../../index.html">All files</a> &#187; dist/cjs/</div>
216
- </div>
217
- <div class="body">
218
- <div class="coverage-summary">
219
- <table>
220
- <thead>
221
- <tr>
222
- <th data-col="file" data-fmt="html" data-html="true" class="file">File</th>
223
- <th data-col="pic" data-type="number" data-fmt="html" data-html="true" class="pic"></th>
224
- <th data-col="statements" data-type="number" data-fmt="pct" class="pct">Statements</th>
225
- <th data-col="statements_raw" data-type="number" data-fmt="html" class="abs"></th>
226
- <th data-col="branches" data-type="number" data-fmt="pct" class="pct">Branches</th>
227
- <th data-col="branches_raw" data-type="number" data-fmt="html" class="abs"></th>
228
- <th data-col="functions" data-type="number" data-fmt="pct" class="pct">Functions</th>
229
- <th data-col="functions_raw" data-type="number" data-fmt="html" class="abs"></th>
230
- <th data-col="lines" data-type="number" data-fmt="pct" class="pct">Lines</th>
231
- <th data-col="lines_raw" data-type="number" data-fmt="html" class="abs"></th>
232
- </tr>
233
- </thead>
234
- <tbody><tr>
235
- <td class="file high" data-value="handlebars.js"><a href="handlebars.js.html">handlebars.js</a></td>
236
- <td data-value="100" class="pic high"><span class="cover-fill cover-full" style="width: 100px;"></span><span class="cover-empty" style="width:0px;"></span></td>
237
- <td data-value="100" class="pct high">100%</td>
238
- <td data-value="25" class="abs high">(25&nbsp;/&nbsp;25)</td>
239
- <td data-value="100" class="pct high">100%</td>
240
- <td data-value="0" class="abs high">(0&nbsp;/&nbsp;0)</td>
241
- <td data-value="100" class="pct high">100%</td>
242
- <td data-value="3" class="abs high">(3&nbsp;/&nbsp;3)</td>
243
- <td data-value="100" class="pct high">100%</td>
244
- <td data-value="25" class="abs high">(25&nbsp;/&nbsp;25)</td>
245
- </tr>
246
-
247
- <tr>
248
- <td class="file high" data-value="handlebars.runtime.js"><a href="handlebars.runtime.js.html">handlebars.runtime.js</a></td>
249
- <td data-value="100" class="pic high"><span class="cover-fill cover-full" style="width: 100px;"></span><span class="cover-empty" style="width:0px;"></span></td>
250
- <td data-value="100" class="pct high">100%</td>
251
- <td data-value="20" class="abs high">(20&nbsp;/&nbsp;20)</td>
252
- <td data-value="100" class="pct high">100%</td>
253
- <td data-value="0" class="abs high">(0&nbsp;/&nbsp;0)</td>
254
- <td data-value="100" class="pct high">100%</td>
255
- <td data-value="2" class="abs high">(2&nbsp;/&nbsp;2)</td>
256
- <td data-value="100" class="pct high">100%</td>
257
- <td data-value="20" class="abs high">(20&nbsp;/&nbsp;20)</td>
258
- </tr>
259
-
260
- </tbody>
261
- </table>
262
- </div>
263
- </div>
264
- <div class="footer">
265
- <div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Mon Sep 01 2014 21:28:55 GMT-0500 (CDT)</div>
266
- </div>
267
-
268
- <script src="../../prettify.js"></script>
269
-
270
- <script src="https://yui-s.yahooapis.com/3.6.0/build/yui/yui-min.js"></script>
271
- <script>
272
-
273
- YUI().use('datatable', function (Y) {
274
-
275
- var formatters = {
276
- pct: function (o) {
277
- o.className += o.record.get('classes')[o.column.key];
278
- try {
279
- return o.value.toFixed(2) + '%';
280
- } catch (ex) { return o.value + '%'; }
281
- },
282
- html: function (o) {
283
- o.className += o.record.get('classes')[o.column.key];
284
- return o.record.get(o.column.key + '_html');
285
- }
286
- },
287
- defaultFormatter = function (o) {
288
- o.className += o.record.get('classes')[o.column.key];
289
- return o.value;
290
- };
291
-
292
- function getColumns(theadNode) {
293
- var colNodes = theadNode.all('tr th'),
294
- cols = [],
295
- col;
296
- colNodes.each(function (colNode) {
297
- col = {
298
- key: colNode.getAttribute('data-col'),
299
- label: colNode.get('innerHTML') || ' ',
300
- sortable: !colNode.getAttribute('data-nosort'),
301
- className: colNode.getAttribute('class'),
302
- type: colNode.getAttribute('data-type'),
303
- allowHTML: colNode.getAttribute('data-html') === 'true' || colNode.getAttribute('data-fmt') === 'html'
304
- };
305
- col.formatter = formatters[colNode.getAttribute('data-fmt')] || defaultFormatter;
306
- cols.push(col);
307
- });
308
- return cols;
309
- }
310
-
311
- function getRowData(trNode, cols) {
312
- var tdNodes = trNode.all('td'),
313
- i,
314
- row = { classes: {} },
315
- node,
316
- name;
317
- for (i = 0; i < cols.length; i += 1) {
318
- name = cols[i].key;
319
- node = tdNodes.item(i);
320
- row[name] = node.getAttribute('data-value') || node.get('innerHTML');
321
- row[name + '_html'] = node.get('innerHTML');
322
- row.classes[name] = node.getAttribute('class');
323
- //Y.log('Name: ' + name + '; Value: ' + row[name]);
324
- if (cols[i].type === 'number') { row[name] = row[name] * 1; }
325
- }
326
- //Y.log(row);
327
- return row;
328
- }
329
-
330
- function getData(tbodyNode, cols) {
331
- var data = [];
332
- tbodyNode.all('tr').each(function (trNode) {
333
- data.push(getRowData(trNode, cols));
334
- });
335
- return data;
336
- }
337
-
338
- function replaceTable(node) {
339
- if (!node) { return; }
340
- var cols = getColumns(node.one('thead')),
341
- data = getData(node.one('tbody'), cols),
342
- table,
343
- parent = node.get('parentNode');
344
-
345
- table = new Y.DataTable({
346
- columns: cols,
347
- data: data,
348
- sortBy: 'file'
349
- });
350
- parent.set('innerHTML', '');
351
- table.render(parent);
352
- }
353
-
354
- Y.on('domready', function () {
355
- replaceTable(Y.one('div.coverage-summary table'));
356
- if (typeof prettyPrint === 'function') {
357
- prettyPrint();
358
- }
359
- });
360
- });
361
- </script>
362
- </body>
363
- </html>
@@ -1,389 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <title>Code coverage report for All files</title>
5
- <meta charset="utf-8">
6
-
7
- <link rel="stylesheet" href="prettify.css">
8
-
9
- <style>
10
- body, html {
11
- margin:0; padding: 0;
12
- }
13
- body {
14
- font-family: Helvetica Neue, Helvetica,Arial;
15
- font-size: 10pt;
16
- }
17
- div.header, div.footer {
18
- background: #eee;
19
- padding: 1em;
20
- }
21
- div.header {
22
- z-index: 100;
23
- position: fixed;
24
- top: 0;
25
- border-bottom: 1px solid #666;
26
- width: 100%;
27
- }
28
- div.footer {
29
- border-top: 1px solid #666;
30
- }
31
- div.body {
32
- margin-top: 10em;
33
- }
34
- div.meta {
35
- font-size: 90%;
36
- text-align: center;
37
- }
38
- h1, h2, h3 {
39
- font-weight: normal;
40
- }
41
- h1 {
42
- font-size: 12pt;
43
- }
44
- h2 {
45
- font-size: 10pt;
46
- }
47
- pre {
48
- font-family: Consolas, Menlo, Monaco, monospace;
49
- margin: 0;
50
- padding: 0;
51
- line-height: 14px;
52
- font-size: 14px;
53
- -moz-tab-size: 2;
54
- -o-tab-size: 2;
55
- tab-size: 2;
56
- }
57
-
58
- div.path { font-size: 110%; }
59
- div.path a:link, div.path a:visited { color: #000; }
60
- table.coverage { border-collapse: collapse; margin:0; padding: 0 }
61
-
62
- table.coverage td {
63
- margin: 0;
64
- padding: 0;
65
- color: #111;
66
- vertical-align: top;
67
- }
68
- table.coverage td.line-count {
69
- width: 50px;
70
- text-align: right;
71
- padding-right: 5px;
72
- }
73
- table.coverage td.line-coverage {
74
- color: #777 !important;
75
- text-align: right;
76
- border-left: 1px solid #666;
77
- border-right: 1px solid #666;
78
- }
79
-
80
- table.coverage td.text {
81
- }
82
-
83
- table.coverage td span.cline-any {
84
- display: inline-block;
85
- padding: 0 5px;
86
- width: 40px;
87
- }
88
- table.coverage td span.cline-neutral {
89
- background: #eee;
90
- }
91
- table.coverage td span.cline-yes {
92
- background: #b5d592;
93
- color: #999;
94
- }
95
- table.coverage td span.cline-no {
96
- background: #fc8c84;
97
- }
98
-
99
- .cstat-yes { color: #111; }
100
- .cstat-no { background: #fc8c84; color: #111; }
101
- .fstat-no { background: #ffc520; color: #111 !important; }
102
- .cbranch-no { background: yellow !important; color: #111; }
103
-
104
- .cstat-skip { background: #ddd; color: #111; }
105
- .fstat-skip { background: #ddd; color: #111 !important; }
106
- .cbranch-skip { background: #ddd !important; color: #111; }
107
-
108
- .missing-if-branch {
109
- display: inline-block;
110
- margin-right: 10px;
111
- position: relative;
112
- padding: 0 4px;
113
- background: black;
114
- color: yellow;
115
- }
116
-
117
- .skip-if-branch {
118
- display: none;
119
- margin-right: 10px;
120
- position: relative;
121
- padding: 0 4px;
122
- background: #ccc;
123
- color: white;
124
- }
125
-
126
- .missing-if-branch .typ, .skip-if-branch .typ {
127
- color: inherit !important;
128
- }
129
-
130
- .entity, .metric { font-weight: bold; }
131
- .metric { display: inline-block; border: 1px solid #333; padding: 0.3em; background: white; }
132
- .metric small { font-size: 80%; font-weight: normal; color: #666; }
133
-
134
- div.coverage-summary table { border-collapse: collapse; margin: 3em; font-size: 110%; }
135
- div.coverage-summary td, div.coverage-summary table th { margin: 0; padding: 0.25em 1em; border-top: 1px solid #666; border-bottom: 1px solid #666; }
136
- div.coverage-summary th { text-align: left; border: 1px solid #666; background: #eee; font-weight: normal; }
137
- div.coverage-summary th.file { border-right: none !important; }
138
- div.coverage-summary th.pic { border-left: none !important; text-align: right; }
139
- div.coverage-summary th.pct { border-right: none !important; }
140
- div.coverage-summary th.abs { border-left: none !important; text-align: right; }
141
- div.coverage-summary td.pct { text-align: right; border-left: 1px solid #666; }
142
- div.coverage-summary td.abs { text-align: right; font-size: 90%; color: #444; border-right: 1px solid #666; }
143
- div.coverage-summary td.file { text-align: right; border-left: 1px solid #666; white-space: nowrap; }
144
- div.coverage-summary td.pic { min-width: 120px !important; }
145
- div.coverage-summary a:link { text-decoration: none; color: #000; }
146
- div.coverage-summary a:visited { text-decoration: none; color: #333; }
147
- div.coverage-summary a:hover { text-decoration: underline; }
148
- div.coverage-summary tfoot td { border-top: 1px solid #666; }
149
-
150
- div.coverage-summary .yui3-datatable-sort-indicator, div.coverage-summary .dummy-sort-indicator {
151
- height: 10px;
152
- width: 7px;
153
- display: inline-block;
154
- margin-left: 0.5em;
155
- }
156
- div.coverage-summary .yui3-datatable-sort-indicator {
157
- background: url("https://yui-s.yahooapis.com/3.6.0/build/datatable-sort/assets/skins/sam/sort-arrow-sprite.png") no-repeat scroll 0 0 transparent;
158
- }
159
- div.coverage-summary .yui3-datatable-sorted .yui3-datatable-sort-indicator {
160
- background-position: 0 -20px;
161
- }
162
- div.coverage-summary .yui3-datatable-sorted-desc .yui3-datatable-sort-indicator {
163
- background-position: 0 -10px;
164
- }
165
-
166
- .high { background: #b5d592 !important; }
167
- .medium { background: #ffe87c !important; }
168
- .low { background: #fc8c84 !important; }
169
-
170
- span.cover-fill, span.cover-empty {
171
- display:inline-block;
172
- border:1px solid #444;
173
- background: white;
174
- height: 12px;
175
- }
176
- span.cover-fill {
177
- background: #ccc;
178
- border-right: 1px solid #444;
179
- }
180
- span.cover-empty {
181
- background: white;
182
- border-left: none;
183
- }
184
- span.cover-full {
185
- border-right: none !important;
186
- }
187
- pre.prettyprint {
188
- border: none !important;
189
- padding: 0 !important;
190
- margin: 0 !important;
191
- }
192
- .com { color: #999 !important; }
193
- .ignore-none { color: #999; font-weight: normal; }
194
-
195
- </style>
196
- </head>
197
- <body>
198
- <div class="header high">
199
- <h1>Code coverage report for <span class="entity">All files</span></h1>
200
- <h2>
201
-
202
- Statements: <span class="metric">99.76% <small>(1695 / 1699)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
203
-
204
-
205
- Branches: <span class="metric">99.15% <small>(937 / 945)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
206
-
207
-
208
- Functions: <span class="metric">100% <small>(220 / 220)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
209
-
210
-
211
- Lines: <span class="metric">99.76% <small>(1639 / 1643)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
212
-
213
- Ignored: <span class="metric">102 statements, 11 functions, 58 branches</span> &nbsp;&nbsp;&nbsp;&nbsp;
214
- </h2>
215
- <div class="path"></div>
216
- </div>
217
- <div class="body">
218
- <div class="coverage-summary">
219
- <table>
220
- <thead>
221
- <tr>
222
- <th data-col="file" data-fmt="html" data-html="true" class="file">File</th>
223
- <th data-col="pic" data-type="number" data-fmt="html" data-html="true" class="pic"></th>
224
- <th data-col="statements" data-type="number" data-fmt="pct" class="pct">Statements</th>
225
- <th data-col="statements_raw" data-type="number" data-fmt="html" class="abs"></th>
226
- <th data-col="branches" data-type="number" data-fmt="pct" class="pct">Branches</th>
227
- <th data-col="branches_raw" data-type="number" data-fmt="html" class="abs"></th>
228
- <th data-col="functions" data-type="number" data-fmt="pct" class="pct">Functions</th>
229
- <th data-col="functions_raw" data-type="number" data-fmt="html" class="abs"></th>
230
- <th data-col="lines" data-type="number" data-fmt="pct" class="pct">Lines</th>
231
- <th data-col="lines_raw" data-type="number" data-fmt="html" class="abs"></th>
232
- </tr>
233
- </thead>
234
- <tbody><tr>
235
- <td class="file high" data-value="dist/cjs/"><a href="dist/cjs/index.html">dist/cjs/</a></td>
236
- <td data-value="100" class="pic high"><span class="cover-fill cover-full" style="width: 100px;"></span><span class="cover-empty" style="width:0px;"></span></td>
237
- <td data-value="100" class="pct high">100%</td>
238
- <td data-value="45" class="abs high">(45&nbsp;/&nbsp;45)</td>
239
- <td data-value="100" class="pct high">100%</td>
240
- <td data-value="0" class="abs high">(0&nbsp;/&nbsp;0)</td>
241
- <td data-value="100" class="pct high">100%</td>
242
- <td data-value="5" class="abs high">(5&nbsp;/&nbsp;5)</td>
243
- <td data-value="100" class="pct high">100%</td>
244
- <td data-value="45" class="abs high">(45&nbsp;/&nbsp;45)</td>
245
- </tr>
246
-
247
- <tr>
248
- <td class="file high" data-value="dist/cjs/handlebars/"><a href="dist/cjs/handlebars/index.html">dist/cjs/handlebars/</a></td>
249
- <td data-value="100" class="pic high"><span class="cover-fill cover-full" style="width: 100px;"></span><span class="cover-empty" style="width:0px;"></span></td>
250
- <td data-value="100" class="pct high">100%</td>
251
- <td data-value="289" class="abs high">(289&nbsp;/&nbsp;289)</td>
252
- <td data-value="100" class="pct high">100%</td>
253
- <td data-value="203" class="abs high">(203&nbsp;/&nbsp;203)</td>
254
- <td data-value="100" class="pct high">100%</td>
255
- <td data-value="44" class="abs high">(44&nbsp;/&nbsp;44)</td>
256
- <td data-value="100" class="pct high">100%</td>
257
- <td data-value="274" class="abs high">(274&nbsp;/&nbsp;274)</td>
258
- </tr>
259
-
260
- <tr>
261
- <td class="file high" data-value="dist/cjs/handlebars/compiler/"><a href="dist/cjs/handlebars/compiler/index.html">dist/cjs/handlebars/compiler/</a></td>
262
- <td data-value="99.84" class="pic high"><span class="cover-fill" style="width: 99px;"></span><span class="cover-empty" style="width:1px;"></span></td>
263
- <td data-value="99.84" class="pct high">99.84%</td>
264
- <td data-value="1271" class="abs high">(1269&nbsp;/&nbsp;1271)</td>
265
- <td data-value="99.4" class="pct high">99.4%</td>
266
- <td data-value="664" class="abs high">(660&nbsp;/&nbsp;664)</td>
267
- <td data-value="100" class="pct high">100%</td>
268
- <td data-value="164" class="abs high">(164&nbsp;/&nbsp;164)</td>
269
- <td data-value="99.84" class="pct high">99.84%</td>
270
- <td data-value="1231" class="abs high">(1229&nbsp;/&nbsp;1231)</td>
271
- </tr>
272
-
273
- <tr>
274
- <td class="file high" data-value="lib/"><a href="lib/index.html">lib/</a></td>
275
- <td data-value="97.87" class="pic high"><span class="cover-fill" style="width: 97px;"></span><span class="cover-empty" style="width:3px;"></span></td>
276
- <td data-value="97.87" class="pct high">97.87%</td>
277
- <td data-value="94" class="abs high">(92&nbsp;/&nbsp;94)</td>
278
- <td data-value="94.87" class="pct high">94.87%</td>
279
- <td data-value="78" class="abs high">(74&nbsp;/&nbsp;78)</td>
280
- <td data-value="100" class="pct high">100%</td>
281
- <td data-value="7" class="abs high">(7&nbsp;/&nbsp;7)</td>
282
- <td data-value="97.85" class="pct high">97.85%</td>
283
- <td data-value="93" class="abs high">(91&nbsp;/&nbsp;93)</td>
284
- </tr>
285
-
286
- </tbody>
287
- </table>
288
- </div>
289
- </div>
290
- <div class="footer">
291
- <div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Mon Sep 01 2014 21:28:55 GMT-0500 (CDT)</div>
292
- </div>
293
-
294
- <script src="prettify.js"></script>
295
-
296
- <script src="https://yui-s.yahooapis.com/3.6.0/build/yui/yui-min.js"></script>
297
- <script>
298
-
299
- YUI().use('datatable', function (Y) {
300
-
301
- var formatters = {
302
- pct: function (o) {
303
- o.className += o.record.get('classes')[o.column.key];
304
- try {
305
- return o.value.toFixed(2) + '%';
306
- } catch (ex) { return o.value + '%'; }
307
- },
308
- html: function (o) {
309
- o.className += o.record.get('classes')[o.column.key];
310
- return o.record.get(o.column.key + '_html');
311
- }
312
- },
313
- defaultFormatter = function (o) {
314
- o.className += o.record.get('classes')[o.column.key];
315
- return o.value;
316
- };
317
-
318
- function getColumns(theadNode) {
319
- var colNodes = theadNode.all('tr th'),
320
- cols = [],
321
- col;
322
- colNodes.each(function (colNode) {
323
- col = {
324
- key: colNode.getAttribute('data-col'),
325
- label: colNode.get('innerHTML') || ' ',
326
- sortable: !colNode.getAttribute('data-nosort'),
327
- className: colNode.getAttribute('class'),
328
- type: colNode.getAttribute('data-type'),
329
- allowHTML: colNode.getAttribute('data-html') === 'true' || colNode.getAttribute('data-fmt') === 'html'
330
- };
331
- col.formatter = formatters[colNode.getAttribute('data-fmt')] || defaultFormatter;
332
- cols.push(col);
333
- });
334
- return cols;
335
- }
336
-
337
- function getRowData(trNode, cols) {
338
- var tdNodes = trNode.all('td'),
339
- i,
340
- row = { classes: {} },
341
- node,
342
- name;
343
- for (i = 0; i < cols.length; i += 1) {
344
- name = cols[i].key;
345
- node = tdNodes.item(i);
346
- row[name] = node.getAttribute('data-value') || node.get('innerHTML');
347
- row[name + '_html'] = node.get('innerHTML');
348
- row.classes[name] = node.getAttribute('class');
349
- //Y.log('Name: ' + name + '; Value: ' + row[name]);
350
- if (cols[i].type === 'number') { row[name] = row[name] * 1; }
351
- }
352
- //Y.log(row);
353
- return row;
354
- }
355
-
356
- function getData(tbodyNode, cols) {
357
- var data = [];
358
- tbodyNode.all('tr').each(function (trNode) {
359
- data.push(getRowData(trNode, cols));
360
- });
361
- return data;
362
- }
363
-
364
- function replaceTable(node) {
365
- if (!node) { return; }
366
- var cols = getColumns(node.one('thead')),
367
- data = getData(node.one('tbody'), cols),
368
- table,
369
- parent = node.get('parentNode');
370
-
371
- table = new Y.DataTable({
372
- columns: cols,
373
- data: data,
374
- sortBy: 'file'
375
- });
376
- parent.set('innerHTML', '');
377
- table.render(parent);
378
- }
379
-
380
- Y.on('domready', function () {
381
- replaceTable(Y.one('div.coverage-summary table'));
382
- if (typeof prettyPrint === 'function') {
383
- prettyPrint();
384
- }
385
- });
386
- });
387
- </script>
388
- </body>
389
- </html>