react-inlinesvg 0.7.1 → 0.7.5
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 +10 -4
- package/es/index.js +260 -0
- package/es/utils.js +116 -0
- package/lib/index.js +3 -7
- package/lib/utils.js +2 -4
- package/package.json +51 -28
- package/src/index.js +225 -0
- package/src/utils.js +99 -0
- package/.codeclimate.yml +0 -29
- package/.idea/copyright/profiles_settings.xml +0 -3
- package/.idea/dictionaries/gilbarbara.xml +0 -7
- package/.idea/encodings.xml +0 -6
- package/.idea/inspectionProfiles/Project_Default.xml +0 -26
- package/.idea/inspectionProfiles/profiles_settings.xml +0 -7
- package/.idea/jsLibraryMappings.xml +0 -8
- package/.idea/misc.xml +0 -53
- package/.idea/modules.xml +0 -8
- package/.idea/php.xml +0 -8
- package/.idea/react-inlinesvg.iml +0 -15
- package/.idea/scssLintPlugin.xml +0 -7
- package/.idea/vcs.xml +0 -6
- package/.idea/workspace.xml +0 -840
- package/.travis.yml +0 -21
- package/config/jest.config.js +0 -36
- package/coverage/clover.xml +0 -117
- package/coverage/coverage-final.json +0 -3
- package/coverage/lcov-report/base.css +0 -212
- package/coverage/lcov-report/index.html +0 -106
- package/coverage/lcov-report/index.js.html +0 -743
- package/coverage/lcov-report/prettify.css +0 -1
- package/coverage/lcov-report/prettify.js +0 -1
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +0 -158
- package/coverage/lcov-report/utils.js.html +0 -359
- package/coverage/lcov.info +0 -245
package/.travis.yml
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
language: node_js
|
|
2
|
-
node_js:
|
|
3
|
-
- '8'
|
|
4
|
-
cache:
|
|
5
|
-
directories:
|
|
6
|
-
- "node_modules"
|
|
7
|
-
before_script:
|
|
8
|
-
- npm install -g gulp-cli
|
|
9
|
-
script:
|
|
10
|
-
- npm test
|
|
11
|
-
deploy:
|
|
12
|
-
provider: npm
|
|
13
|
-
email: gilbarbara@gmail.com
|
|
14
|
-
api_key:
|
|
15
|
-
secure: udTSoiJXNkpRBrbwNtzflguIc/QvRbW/xdajwJqYUxitA409jBO+VhsxwlDJBl0HHHKW7yOwTUXvKAxr92y/6FByVM9yLuduQLOvG9J++l12Lc7fehKXbuNBZZDwjUF3MwftF9mCj4gJTUPrajZjXxUx78hI7dTCjJuJkpXHfZSr00Xu8In59rzr9OhDGBITlMSynE0yEIVBEfboxf9q5uSuJtp6qaK5ohbZqQnz2KIVoI2TUZ9KXpU8765mAd5xxvF4kgpmLYFN9TSd49oipZYPZs4UjlfVrPmKq2nmzepew9HuaXEvg0DLpcI9YjzBkR4AGlRIal2t4gNmy9m2XbaeyTS5q5Aoa+UchR9GS+LLsBIfl+1bI9yqijURZp68xMdQRC2iUrPcJeTKY9WpXEYFjxPmJXqfQl2BAiOlaxCzvNnD2i8th6PpeI+2aU79pWRSwUSQqV4PLjDN+M86cEpVRxZePLte6RIVqtRBes9HY8sQph0MAdzLUTbmMehnB1XzSRbuR77687NrbW8epRsxqRSK2Uqman8ZWSJan9apwP4niVciDJbfVL9M1J7pUZX8HKvfC3l5NJWO69xzQFouSVhtkZZWU4bxGtgS5gM+H/AHKv9/qktoA/K8hGPEFR1S7OoWSP310wetGHMHuXniKQh7glDh/IkpFp8QF14=
|
|
16
|
-
on:
|
|
17
|
-
tags: true
|
|
18
|
-
node: '8'
|
|
19
|
-
repo: gilbarbara/react-inlinesvg
|
|
20
|
-
addons:
|
|
21
|
-
code_climate: true
|
package/config/jest.config.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
rootDir: '../',
|
|
3
|
-
transform: {
|
|
4
|
-
'.*': '<rootDir>/node_modules/babel-jest',
|
|
5
|
-
},
|
|
6
|
-
moduleFileExtensions: [
|
|
7
|
-
'js',
|
|
8
|
-
'jsx',
|
|
9
|
-
'json',
|
|
10
|
-
],
|
|
11
|
-
moduleDirectories: [
|
|
12
|
-
'node_modules',
|
|
13
|
-
'src',
|
|
14
|
-
'./',
|
|
15
|
-
],
|
|
16
|
-
setupTestFrameworkScriptFile: './node_modules/jest-enzyme/lib/index.js',
|
|
17
|
-
setupFiles: [
|
|
18
|
-
'<rootDir>/test/__setup__/shim.js',
|
|
19
|
-
'<rootDir>/test/__setup__/index.js',
|
|
20
|
-
],
|
|
21
|
-
testRegex: '/test/.*?\\.(test|spec)\\.js$',
|
|
22
|
-
testURL: 'http://localhost:1337/',
|
|
23
|
-
collectCoverage: false,
|
|
24
|
-
collectCoverageFrom: [
|
|
25
|
-
'src/**/*.{js,jsx}'
|
|
26
|
-
],
|
|
27
|
-
coverageThreshold: {
|
|
28
|
-
global: {
|
|
29
|
-
branches: 85,
|
|
30
|
-
functions: 90,
|
|
31
|
-
lines: 90,
|
|
32
|
-
statements: 90,
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
verbose: true,
|
|
36
|
-
};
|
package/coverage/clover.xml
DELETED
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="1510286544843" clover="3.2.0">
|
|
3
|
-
<project timestamp="1510286544843" name="All files">
|
|
4
|
-
<metrics statements="104" coveredstatements="104" conditionals="55" coveredconditionals="49" methods="34" coveredmethods="34" elements="193" coveredelements="187" complexity="0" loc="104" ncloc="104" packages="1" files="2" classes="2">
|
|
5
|
-
<file name="index.js" path="/Users/gilbarbara/Sites/react-inlinesvg/src/index.js">
|
|
6
|
-
<metrics statements="65" coveredstatements="65" conditionals="39" coveredconditionals="39" methods="21" coveredmethods="21"/>
|
|
7
|
-
<line num="13" count="1" type="stmt"/>
|
|
8
|
-
<line num="15" count="1" type="stmt"/>
|
|
9
|
-
<line num="23" count="1" type="stmt"/>
|
|
10
|
-
<line num="24" count="1" type="stmt"/>
|
|
11
|
-
<line num="28" count="22" type="stmt"/>
|
|
12
|
-
<line num="30" count="22" type="stmt"/>
|
|
13
|
-
<line num="34" count="22" type="stmt"/>
|
|
14
|
-
<line num="62" count="22" type="stmt"/>
|
|
15
|
-
<line num="67" count="22" type="cond" truecount="1" falsecount="0"/>
|
|
16
|
-
<line num="68" count="22" type="cond" truecount="2" falsecount="0"/>
|
|
17
|
-
<line num="69" count="20" type="cond" truecount="2" falsecount="0"/>
|
|
18
|
-
<line num="70" count="19" type="stmt"/>
|
|
19
|
-
<line num="73" count="1" type="stmt"/>
|
|
20
|
-
<line num="77" count="2" type="stmt"/>
|
|
21
|
-
<line num="83" count="45" type="cond" truecount="2" falsecount="0"/>
|
|
22
|
-
<line num="84" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
23
|
-
<line num="85" count="1" type="stmt"/>
|
|
24
|
-
<line num="88" count="1" type="stmt"/>
|
|
25
|
-
<line num="94" count="1" type="stmt"/>
|
|
26
|
-
<line num="98" count="16" type="stmt"/>
|
|
27
|
-
<line num="100" count="16" type="cond" truecount="2" falsecount="0"/>
|
|
28
|
-
<line num="101" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
29
|
-
<line num="102" count="3" type="stmt"/>
|
|
30
|
-
<line num="104" count="3" type="stmt"/>
|
|
31
|
-
<line num="107" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
32
|
-
<line num="108" count="1" type="stmt"/>
|
|
33
|
-
<line num="110" count="1" type="stmt"/>
|
|
34
|
-
<line num="111" count="1" type="stmt"/>
|
|
35
|
-
<line num="112" count="1" type="stmt"/>
|
|
36
|
-
<line num="113" count="1" type="stmt"/>
|
|
37
|
-
<line num="118" count="4" type="stmt"/>
|
|
38
|
-
<line num="121" count="12" type="stmt"/>
|
|
39
|
-
<line num="122" count="12" type="stmt"/>
|
|
40
|
-
<line num="128" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
41
|
-
<line num="131" count="7" type="cond" truecount="1" falsecount="0"/>
|
|
42
|
-
<line num="132" count="7" type="stmt"/>
|
|
43
|
-
<line num="133" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
44
|
-
<line num="134" count="4" type="stmt"/>
|
|
45
|
-
<line num="142" count="20" type="cond" truecount="1" falsecount="0"/>
|
|
46
|
-
<line num="143" count="20" type="stmt"/>
|
|
47
|
-
<line num="150" count="20" type="stmt"/>
|
|
48
|
-
<line num="152" count="20" type="cond" truecount="2" falsecount="0"/>
|
|
49
|
-
<line num="153" count="4" type="stmt"/>
|
|
50
|
-
<line num="158" count="16" type="stmt"/>
|
|
51
|
-
<line num="162" count="20" type="cond" truecount="2" falsecount="0"/>
|
|
52
|
-
<line num="163" count="3" type="stmt"/>
|
|
53
|
-
<line num="164" count="3" type="stmt"/>
|
|
54
|
-
<line num="167" count="17" type="cond" truecount="2" falsecount="0"/>
|
|
55
|
-
<line num="168" count="16" type="stmt"/>
|
|
56
|
-
<line num="172" count="16" type="stmt"/>
|
|
57
|
-
<line num="178" count="67" type="stmt"/>
|
|
58
|
-
<line num="180" count="67" type="cond" truecount="2" falsecount="0"/>
|
|
59
|
-
<line num="181" count="2" type="stmt"/>
|
|
60
|
-
<line num="184" count="67" type="stmt"/>
|
|
61
|
-
<line num="188" count="20" type="stmt"/>
|
|
62
|
-
<line num="190" count="20" type="cond" truecount="2" falsecount="0"/>
|
|
63
|
-
<line num="191" count="19" type="stmt"/>
|
|
64
|
-
<line num="194" count="1" type="stmt"/>
|
|
65
|
-
<line num="198" count="47" type="cond" truecount="3" falsecount="0"/>
|
|
66
|
-
<line num="201" count="6" type="stmt"/>
|
|
67
|
-
<line num="203" count="41" type="stmt"/>
|
|
68
|
-
<line num="211" count="67" type="cond" truecount="2" falsecount="0"/>
|
|
69
|
-
<line num="212" count="20" type="stmt"/>
|
|
70
|
-
<line num="217" count="47" type="stmt"/>
|
|
71
|
-
<line num="220" count="67" type="stmt"/>
|
|
72
|
-
</file>
|
|
73
|
-
<file name="utils.js" path="/Users/gilbarbara/Sites/react-inlinesvg/src/utils.js">
|
|
74
|
-
<metrics statements="39" coveredstatements="39" conditionals="16" coveredconditionals="10" methods="13" coveredmethods="13"/>
|
|
75
|
-
<line num="3" count="1" type="stmt"/>
|
|
76
|
-
<line num="9" count="1" type="stmt"/>
|
|
77
|
-
<line num="10" count="1" type="stmt"/>
|
|
78
|
-
<line num="11" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
79
|
-
<line num="14" count="1" type="stmt"/>
|
|
80
|
-
<line num="15" count="1" type="cond" truecount="2" falsecount="1"/>
|
|
81
|
-
<line num="22" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
82
|
-
<line num="23" count="1" type="stmt"/>
|
|
83
|
-
<line num="24" count="1" type="stmt"/>
|
|
84
|
-
<line num="25" count="1" type="stmt"/>
|
|
85
|
-
<line num="27" count="8" type="stmt"/>
|
|
86
|
-
<line num="29" count="1" type="stmt"/>
|
|
87
|
-
<line num="30" count="1" type="stmt"/>
|
|
88
|
-
<line num="31" count="8" type="stmt"/>
|
|
89
|
-
<line num="33" count="1" type="stmt"/>
|
|
90
|
-
<line num="36" count="1" type="stmt"/>
|
|
91
|
-
<line num="37" count="4" type="stmt"/>
|
|
92
|
-
<line num="39" count="1" type="stmt"/>
|
|
93
|
-
<line num="41" count="1" type="stmt"/>
|
|
94
|
-
<line num="42" count="976" type="stmt"/>
|
|
95
|
-
<line num="44" count="19" type="stmt"/>
|
|
96
|
-
<line num="46" count="976" type="cond" truecount="1" falsecount="0"/>
|
|
97
|
-
<line num="47" count="970" type="stmt"/>
|
|
98
|
-
<line num="61" count="4" type="stmt"/>
|
|
99
|
-
<line num="63" count="4" type="stmt"/>
|
|
100
|
-
<line num="64" count="4" type="stmt"/>
|
|
101
|
-
<line num="65" count="4" type="stmt"/>
|
|
102
|
-
<line num="66" count="4" type="stmt"/>
|
|
103
|
-
<line num="67" count="4" type="stmt"/>
|
|
104
|
-
<line num="69" count="4" type="stmt"/>
|
|
105
|
-
<line num="73" count="1" type="stmt"/>
|
|
106
|
-
<line num="74" count="4" type="stmt"/>
|
|
107
|
-
<line num="76" count="4" type="stmt"/>
|
|
108
|
-
<line num="82" count="1" type="stmt"/>
|
|
109
|
-
<line num="83" count="2" type="stmt"/>
|
|
110
|
-
<line num="86" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
111
|
-
<line num="87" count="2" type="stmt"/>
|
|
112
|
-
<line num="90" count="2" type="stmt"/>
|
|
113
|
-
<line num="96" count="2" type="stmt"/>
|
|
114
|
-
</file>
|
|
115
|
-
</metrics>
|
|
116
|
-
</project>
|
|
117
|
-
</coverage>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
{"/Users/gilbarbara/Sites/react-inlinesvg/src/index.js": {"path":"/Users/gilbarbara/Sites/react-inlinesvg/src/index.js","statementMap":{"0":{"start":{"line":13,"column":13},"end":{"line":13,"column":38}},"1":{"start":{"line":15,"column":15},"end":{"line":21,"column":1}},"2":{"start":{"line":23,"column":25},"end":{"line":23,"column":27}},"3":{"start":{"line":24,"column":20},"end":{"line":24,"column":22}},"4":{"start":{"line":28,"column":4},"end":{"line":28,"column":17}},"5":{"start":{"line":30,"column":4},"end":{"line":32,"column":6}},"6":{"start":{"line":34,"column":4},"end":{"line":34,"column":26}},"7":{"start":{"line":62,"column":4},"end":{"line":62,"column":25}},"8":{"start":{"line":67,"column":4},"end":{"line":79,"column":5}},"9":{"start":{"line":68,"column":6},"end":{"line":78,"column":7}},"10":{"start":{"line":69,"column":8},"end":{"line":74,"column":9}},"11":{"start":{"line":70,"column":10},"end":{"line":70,"column":27}},"12":{"start":{"line":73,"column":10},"end":{"line":73,"column":58}},"13":{"start":{"line":77,"column":8},"end":{"line":77,"column":45}},"14":{"start":{"line":83,"column":4},"end":{"line":90,"column":5}},"15":{"start":{"line":84,"column":6},"end":{"line":89,"column":7}},"16":{"start":{"line":85,"column":8},"end":{"line":85,"column":25}},"17":{"start":{"line":88,"column":8},"end":{"line":88,"column":56}},"18":{"start":{"line":94,"column":4},"end":{"line":94,"column":26}},"19":{"start":{"line":98,"column":38},"end":{"line":98,"column":48}},"20":{"start":{"line":100,"column":4},"end":{"line":124,"column":5}},"21":{"start":{"line":101,"column":6},"end":{"line":105,"column":7}},"22":{"start":{"line":102,"column":27},"end":{"line":102,"column":43}},"23":{"start":{"line":104,"column":8},"end":{"line":104,"column":54}},"24":{"start":{"line":104,"column":25},"end":{"line":104,"column":49}},"25":{"start":{"line":107,"column":6},"end":{"line":116,"column":7}},"26":{"start":{"line":108,"column":8},"end":{"line":108,"column":35}},"27":{"start":{"line":110,"column":8},"end":{"line":115,"column":11}},"28":{"start":{"line":111,"column":10},"end":{"line":114,"column":13}},"29":{"start":{"line":112,"column":12},"end":{"line":112,"column":42}},"30":{"start":{"line":113,"column":12},"end":{"line":113,"column":25}},"31":{"start":{"line":118,"column":6},"end":{"line":118,"column":43}},"32":{"start":{"line":121,"column":6},"end":{"line":123,"column":9}},"33":{"start":{"line":122,"column":8},"end":{"line":122,"column":27}},"34":{"start":{"line":128,"column":19},"end":{"line":128,"column":87}},"35":{"start":{"line":131,"column":4},"end":{"line":137,"column":5}},"36":{"start":{"line":132,"column":6},"end":{"line":136,"column":9}},"37":{"start":{"line":133,"column":8},"end":{"line":135,"column":9}},"38":{"start":{"line":134,"column":10},"end":{"line":134,"column":36}},"39":{"start":{"line":142,"column":4},"end":{"line":146,"column":5}},"40":{"start":{"line":143,"column":6},"end":{"line":145,"column":20}},"41":{"start":{"line":150,"column":18},"end":{"line":150,"column":78}},"42":{"start":{"line":152,"column":4},"end":{"line":156,"column":5}},"43":{"start":{"line":153,"column":6},"end":{"line":155,"column":9}},"44":{"start":{"line":158,"column":4},"end":{"line":158,"column":41}},"45":{"start":{"line":162,"column":4},"end":{"line":165,"column":5}},"46":{"start":{"line":163,"column":6},"end":{"line":163,"column":21}},"47":{"start":{"line":164,"column":6},"end":{"line":164,"column":13}},"48":{"start":{"line":167,"column":4},"end":{"line":174,"column":5}},"49":{"start":{"line":168,"column":6},"end":{"line":173,"column":9}},"50":{"start":{"line":172,"column":8},"end":{"line":172,"column":52}},"51":{"start":{"line":178,"column":20},"end":{"line":178,"column":47}},"52":{"start":{"line":180,"column":4},"end":{"line":182,"column":5}},"53":{"start":{"line":181,"column":6},"end":{"line":181,"column":46}},"54":{"start":{"line":184,"column":4},"end":{"line":184,"column":21}},"55":{"start":{"line":188,"column":40},"end":{"line":188,"column":50}},"56":{"start":{"line":190,"column":4},"end":{"line":192,"column":5}},"57":{"start":{"line":191,"column":6},"end":{"line":191,"column":49}},"58":{"start":{"line":194,"column":4},"end":{"line":194,"column":19}},"59":{"start":{"line":198,"column":4},"end":{"line":204,"column":5}},"60":{"start":{"line":201,"column":8},"end":{"line":201,"column":35}},"61":{"start":{"line":203,"column":8},"end":{"line":203,"column":36}},"62":{"start":{"line":211,"column":4},"end":{"line":218,"column":5}},"63":{"start":{"line":212,"column":6},"end":{"line":214,"column":8}},"64":{"start":{"line":217,"column":6},"end":{"line":217,"column":38}},"65":{"start":{"line":220,"column":4},"end":{"line":224,"column":16}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":27,"column":2},"end":{"line":27,"column":3}},"loc":{"start":{"line":27,"column":21},"end":{"line":35,"column":3}},"line":27},"1":{"name":"(anonymous_1)","decl":{"start":{"line":54,"column":12},"end":{"line":54,"column":13}},"loc":{"start":{"line":54,"column":18},"end":{"line":54,"column":20}},"line":54},"2":{"name":"(anonymous_2)","decl":{"start":{"line":61,"column":2},"end":{"line":61,"column":3}},"loc":{"start":{"line":61,"column":23},"end":{"line":63,"column":3}},"line":61},"3":{"name":"(anonymous_3)","decl":{"start":{"line":65,"column":2},"end":{"line":65,"column":3}},"loc":{"start":{"line":65,"column":22},"end":{"line":80,"column":3}},"line":65},"4":{"name":"(anonymous_4)","decl":{"start":{"line":82,"column":2},"end":{"line":82,"column":3}},"loc":{"start":{"line":82,"column":32},"end":{"line":91,"column":3}},"line":82},"5":{"name":"(anonymous_5)","decl":{"start":{"line":93,"column":2},"end":{"line":93,"column":3}},"loc":{"start":{"line":93,"column":25},"end":{"line":95,"column":3}},"line":93},"6":{"name":"(anonymous_6)","decl":{"start":{"line":97,"column":2},"end":{"line":97,"column":3}},"loc":{"start":{"line":97,"column":20},"end":{"line":125,"column":3}},"line":97},"7":{"name":"(anonymous_7)","decl":{"start":{"line":104,"column":19},"end":{"line":104,"column":20}},"loc":{"start":{"line":104,"column":25},"end":{"line":104,"column":49}},"line":104},"8":{"name":"(anonymous_8)","decl":{"start":{"line":110,"column":22},"end":{"line":110,"column":23}},"loc":{"start":{"line":110,"column":36},"end":{"line":115,"column":9}},"line":110},"9":{"name":"(anonymous_9)","decl":{"start":{"line":111,"column":40},"end":{"line":111,"column":41}},"loc":{"start":{"line":111,"column":46},"end":{"line":114,"column":11}},"line":111},"10":{"name":"(anonymous_10)","decl":{"start":{"line":121,"column":20},"end":{"line":121,"column":21}},"loc":{"start":{"line":121,"column":34},"end":{"line":123,"column":7}},"line":121},"11":{"name":"(anonymous_11)","decl":{"start":{"line":127,"column":2},"end":{"line":127,"column":3}},"loc":{"start":{"line":127,"column":14},"end":{"line":138,"column":3}},"line":127},"12":{"name":"(anonymous_12)","decl":{"start":{"line":132,"column":32},"end":{"line":132,"column":33}},"loc":{"start":{"line":132,"column":38},"end":{"line":136,"column":7}},"line":132},"13":{"name":"(anonymous_13)","decl":{"start":{"line":140,"column":2},"end":{"line":140,"column":3}},"loc":{"start":{"line":140,"column":14},"end":{"line":147,"column":3}},"line":140},"14":{"name":"(anonymous_14)","decl":{"start":{"line":149,"column":2},"end":{"line":149,"column":3}},"loc":{"start":{"line":149,"column":9},"end":{"line":159,"column":3}},"line":149},"15":{"name":"(anonymous_15)","decl":{"start":{"line":161,"column":15},"end":{"line":161,"column":16}},"loc":{"start":{"line":161,"column":47},"end":{"line":175,"column":3}},"line":161},"16":{"name":"(anonymous_16)","decl":{"start":{"line":171,"column":9},"end":{"line":171,"column":10}},"loc":{"start":{"line":171,"column":15},"end":{"line":173,"column":7}},"line":171},"17":{"name":"(anonymous_17)","decl":{"start":{"line":177,"column":2},"end":{"line":177,"column":3}},"loc":{"start":{"line":177,"column":17},"end":{"line":185,"column":3}},"line":177},"18":{"name":"(anonymous_18)","decl":{"start":{"line":187,"column":2},"end":{"line":187,"column":3}},"loc":{"start":{"line":187,"column":22},"end":{"line":195,"column":3}},"line":187},"19":{"name":"(anonymous_19)","decl":{"start":{"line":197,"column":2},"end":{"line":197,"column":3}},"loc":{"start":{"line":197,"column":19},"end":{"line":205,"column":3}},"line":197},"20":{"name":"(anonymous_20)","decl":{"start":{"line":207,"column":2},"end":{"line":207,"column":3}},"loc":{"start":{"line":207,"column":11},"end":{"line":225,"column":3}},"line":207}},"branchMap":{"0":{"loc":{"start":{"line":67,"column":4},"end":{"line":79,"column":5}},"type":"if","locations":[{"start":{"line":67,"column":4},"end":{"line":79,"column":5}}],"line":67},"1":{"loc":{"start":{"line":68,"column":6},"end":{"line":78,"column":7}},"type":"if","locations":[{"start":{"line":68,"column":6},"end":{"line":78,"column":7}},{"start":{"line":68,"column":6},"end":{"line":78,"column":7}}],"line":68},"2":{"loc":{"start":{"line":69,"column":8},"end":{"line":74,"column":9}},"type":"if","locations":[{"start":{"line":69,"column":8},"end":{"line":74,"column":9}},{"start":{"line":69,"column":8},"end":{"line":74,"column":9}}],"line":69},"3":{"loc":{"start":{"line":83,"column":4},"end":{"line":90,"column":5}},"type":"if","locations":[{"start":{"line":83,"column":4},"end":{"line":90,"column":5}},{"start":{"line":83,"column":4},"end":{"line":90,"column":5}}],"line":83},"4":{"loc":{"start":{"line":84,"column":6},"end":{"line":89,"column":7}},"type":"if","locations":[{"start":{"line":84,"column":6},"end":{"line":89,"column":7}},{"start":{"line":84,"column":6},"end":{"line":89,"column":7}}],"line":84},"5":{"loc":{"start":{"line":100,"column":4},"end":{"line":124,"column":5}},"type":"if","locations":[{"start":{"line":100,"column":4},"end":{"line":124,"column":5}},{"start":{"line":100,"column":4},"end":{"line":124,"column":5}}],"line":100},"6":{"loc":{"start":{"line":101,"column":6},"end":{"line":105,"column":7}},"type":"if","locations":[{"start":{"line":101,"column":6},"end":{"line":105,"column":7}},{"start":{"line":101,"column":6},"end":{"line":105,"column":7}}],"line":101},"7":{"loc":{"start":{"line":107,"column":6},"end":{"line":116,"column":7}},"type":"if","locations":[{"start":{"line":107,"column":6},"end":{"line":116,"column":7}},{"start":{"line":107,"column":6},"end":{"line":116,"column":7}}],"line":107},"8":{"loc":{"start":{"line":128,"column":19},"end":{"line":128,"column":87}},"type":"cond-expr","locations":[{"start":{"line":128,"column":53},"end":{"line":128,"column":71}},{"start":{"line":128,"column":74},"end":{"line":128,"column":87}}],"line":128},"9":{"loc":{"start":{"line":131,"column":4},"end":{"line":137,"column":5}},"type":"if","locations":[{"start":{"line":131,"column":4},"end":{"line":137,"column":5}}],"line":131},"10":{"loc":{"start":{"line":133,"column":8},"end":{"line":135,"column":9}},"type":"if","locations":[{"start":{"line":133,"column":8},"end":{"line":135,"column":9}},{"start":{"line":133,"column":8},"end":{"line":135,"column":9}}],"line":133},"11":{"loc":{"start":{"line":142,"column":4},"end":{"line":146,"column":5}},"type":"if","locations":[{"start":{"line":142,"column":4},"end":{"line":146,"column":5}}],"line":142},"12":{"loc":{"start":{"line":152,"column":4},"end":{"line":156,"column":5}},"type":"if","locations":[{"start":{"line":152,"column":4},"end":{"line":156,"column":5}},{"start":{"line":152,"column":4},"end":{"line":156,"column":5}}],"line":152},"13":{"loc":{"start":{"line":154,"column":14},"end":{"line":154,"column":70}},"type":"cond-expr","locations":[{"start":{"line":154,"column":25},"end":{"line":154,"column":39}},{"start":{"line":154,"column":42},"end":{"line":154,"column":70}}],"line":154},"14":{"loc":{"start":{"line":161,"column":26},"end":{"line":161,"column":42}},"type":"default-arg","locations":[{"start":{"line":161,"column":37},"end":{"line":161,"column":42}}],"line":161},"15":{"loc":{"start":{"line":162,"column":4},"end":{"line":165,"column":5}},"type":"if","locations":[{"start":{"line":162,"column":4},"end":{"line":165,"column":5}},{"start":{"line":162,"column":4},"end":{"line":165,"column":5}}],"line":162},"16":{"loc":{"start":{"line":167,"column":4},"end":{"line":174,"column":5}},"type":"if","locations":[{"start":{"line":167,"column":4},"end":{"line":174,"column":5}},{"start":{"line":167,"column":4},"end":{"line":174,"column":5}}],"line":167},"17":{"loc":{"start":{"line":180,"column":4},"end":{"line":182,"column":5}},"type":"if","locations":[{"start":{"line":180,"column":4},"end":{"line":182,"column":5}},{"start":{"line":180,"column":4},"end":{"line":182,"column":5}}],"line":180},"18":{"loc":{"start":{"line":190,"column":4},"end":{"line":192,"column":5}},"type":"if","locations":[{"start":{"line":190,"column":4},"end":{"line":192,"column":5}},{"start":{"line":190,"column":4},"end":{"line":192,"column":5}}],"line":190},"19":{"loc":{"start":{"line":198,"column":4},"end":{"line":204,"column":5}},"type":"switch","locations":[{"start":{"line":199,"column":6},"end":{"line":199,"column":30}},{"start":{"line":200,"column":6},"end":{"line":201,"column":35}},{"start":{"line":202,"column":6},"end":{"line":203,"column":36}}],"line":198},"20":{"loc":{"start":{"line":211,"column":4},"end":{"line":218,"column":5}},"type":"if","locations":[{"start":{"line":211,"column":4},"end":{"line":218,"column":5}},{"start":{"line":211,"column":4},"end":{"line":218,"column":5}}],"line":211}},"s":{"0":1,"1":1,"2":1,"3":1,"4":22,"5":22,"6":22,"7":22,"8":22,"9":22,"10":20,"11":19,"12":1,"13":2,"14":45,"15":2,"16":1,"17":1,"18":1,"19":16,"20":16,"21":4,"22":3,"23":3,"24":3,"25":4,"26":1,"27":1,"28":1,"29":1,"30":1,"31":4,"32":12,"33":12,"34":7,"35":7,"36":7,"37":7,"38":4,"39":20,"40":20,"41":20,"42":20,"43":4,"44":16,"45":20,"46":3,"47":3,"48":17,"49":16,"50":16,"51":67,"52":67,"53":2,"54":67,"55":20,"56":20,"57":19,"58":1,"59":47,"60":6,"61":41,"62":67,"63":20,"64":47,"65":67},"f":{"0":22,"1":5,"2":22,"3":22,"4":45,"5":1,"6":16,"7":3,"8":1,"9":1,"10":12,"11":7,"12":7,"13":20,"14":20,"15":20,"16":16,"17":67,"18":20,"19":47,"20":67},"b":{"0":[22],"1":[20,2],"2":[19,1],"3":[2,43],"4":[1,1],"5":[4,12],"6":[3,1],"7":[1,3],"8":[2,5],"9":[7],"10":[4,3],"11":[20],"12":[4,16],"13":[1,3],"14":[17],"15":[3,17],"16":[16,1],"17":[2,65],"18":[19,1],"19":[2,6,41],"20":[20,47]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"18ce8e0d65511cc720de39a3234d1f7e8a81b92a"}
|
|
2
|
-
,"/Users/gilbarbara/Sites/react-inlinesvg/src/utils.js": {"path":"/Users/gilbarbara/Sites/react-inlinesvg/src/utils.js","statementMap":{"0":{"start":{"line":3,"column":33},"end":{"line":12,"column":2}},"1":{"start":{"line":9,"column":14},"end":{"line":9,"column":43}},"2":{"start":{"line":10,"column":2},"end":{"line":10,"column":28}},"3":{"start":{"line":11,"column":2},"end":{"line":11,"column":88}},"4":{"start":{"line":14,"column":38},"end":{"line":20,"column":1}},"5":{"start":{"line":15,"column":2},"end":{"line":19,"column":24}},"6":{"start":{"line":22,"column":28},"end":{"line":34,"column":1}},"7":{"start":{"line":23,"column":18},"end":{"line":23,"column":46}},"8":{"start":{"line":24,"column":18},"end":{"line":24,"column":30}},"9":{"start":{"line":25,"column":18},"end":{"line":25,"column":59}},"10":{"start":{"line":27,"column":26},"end":{"line":27,"column":82}},"11":{"start":{"line":27,"column":35},"end":{"line":27,"column":82}},"12":{"start":{"line":29,"column":10},"end":{"line":29,"column":12}},"13":{"start":{"line":30,"column":2},"end":{"line":32,"column":3}},"14":{"start":{"line":31,"column":4},"end":{"line":31,"column":34}},"15":{"start":{"line":33,"column":2},"end":{"line":33,"column":11}},"16":{"start":{"line":36,"column":30},"end":{"line":57,"column":4}},"17":{"start":{"line":37,"column":29},"end":{"line":37,"column":61}},"18":{"start":{"line":37,"column":37},"end":{"line":37,"column":61}},"19":{"start":{"line":39,"column":20},"end":{"line":39,"column":231}},"20":{"start":{"line":41,"column":2},"end":{"line":56,"column":4}},"21":{"start":{"line":42,"column":23},"end":{"line":42,"column":47}},"22":{"start":{"line":42,"column":29},"end":{"line":42,"column":47}},"23":{"start":{"line":44,"column":4},"end":{"line":55,"column":7}},"24":{"start":{"line":46,"column":6},"end":{"line":54,"column":7}},"25":{"start":{"line":47,"column":8},"end":{"line":47,"column":45}},"26":{"start":{"line":61,"column":4},"end":{"line":61,"column":12}},"27":{"start":{"line":63,"column":4},"end":{"line":63,"column":33}},"28":{"start":{"line":64,"column":4},"end":{"line":64,"column":35}},"29":{"start":{"line":65,"column":4},"end":{"line":65,"column":38}},"30":{"start":{"line":66,"column":4},"end":{"line":66,"column":43}},"31":{"start":{"line":67,"column":4},"end":{"line":67,"column":27}},"32":{"start":{"line":69,"column":4},"end":{"line":69,"column":16}},"33":{"start":{"line":73,"column":20},"end":{"line":80,"column":1}},"34":{"start":{"line":74,"column":14},"end":{"line":74,"column":41}},"35":{"start":{"line":76,"column":2},"end":{"line":79,"column":4}},"36":{"start":{"line":82,"column":39},"end":{"line":94,"column":1}},"37":{"start":{"line":83,"column":19},"end":{"line":83,"column":26}},"38":{"start":{"line":86,"column":2},"end":{"line":88,"column":3}},"39":{"start":{"line":87,"column":4},"end":{"line":87,"column":39}},"40":{"start":{"line":90,"column":2},"end":{"line":93,"column":5}},"41":{"start":{"line":96,"column":34},"end":{"line":98,"column":2}},"42":{"start":{"line":96,"column":45},"end":{"line":98,"column":2}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":3,"column":38},"end":{"line":3,"column":39}},"loc":{"start":{"line":3,"column":44},"end":{"line":12,"column":1}},"line":3},"1":{"name":"(anonymous_1)","decl":{"start":{"line":14,"column":43},"end":{"line":14,"column":44}},"loc":{"start":{"line":15,"column":2},"end":{"line":19,"column":24}},"line":15},"2":{"name":"(anonymous_2)","decl":{"start":{"line":22,"column":28},"end":{"line":22,"column":29}},"loc":{"start":{"line":22,"column":44},"end":{"line":34,"column":1}},"line":22},"3":{"name":"(anonymous_3)","decl":{"start":{"line":27,"column":26},"end":{"line":27,"column":27}},"loc":{"start":{"line":27,"column":35},"end":{"line":27,"column":82}},"line":27},"4":{"name":"(anonymous_4)","decl":{"start":{"line":36,"column":31},"end":{"line":36,"column":32}},"loc":{"start":{"line":36,"column":37},"end":{"line":57,"column":1}},"line":36},"5":{"name":"(anonymous_5)","decl":{"start":{"line":37,"column":29},"end":{"line":37,"column":30}},"loc":{"start":{"line":37,"column":37},"end":{"line":37,"column":61}},"line":37},"6":{"name":"(anonymous_6)","decl":{"start":{"line":41,"column":9},"end":{"line":41,"column":10}},"loc":{"start":{"line":41,"column":29},"end":{"line":56,"column":3}},"line":41},"7":{"name":"(anonymous_7)","decl":{"start":{"line":42,"column":23},"end":{"line":42,"column":24}},"loc":{"start":{"line":42,"column":29},"end":{"line":42,"column":47}},"line":42},"8":{"name":"(anonymous_8)","decl":{"start":{"line":44,"column":38},"end":{"line":44,"column":39}},"loc":{"start":{"line":44,"column":65},"end":{"line":55,"column":5}},"line":44},"9":{"name":"(anonymous_9)","decl":{"start":{"line":60,"column":2},"end":{"line":60,"column":3}},"loc":{"start":{"line":60,"column":23},"end":{"line":70,"column":3}},"line":60},"10":{"name":"(anonymous_10)","decl":{"start":{"line":73,"column":20},"end":{"line":73,"column":21}},"loc":{"start":{"line":73,"column":40},"end":{"line":80,"column":1}},"line":73},"11":{"name":"(anonymous_11)","decl":{"start":{"line":82,"column":39},"end":{"line":82,"column":40}},"loc":{"start":{"line":82,"column":50},"end":{"line":94,"column":1}},"line":82},"12":{"name":"(anonymous_12)","decl":{"start":{"line":96,"column":34},"end":{"line":96,"column":35}},"loc":{"start":{"line":96,"column":45},"end":{"line":98,"column":2}},"line":96}},"branchMap":{"0":{"loc":{"start":{"line":11,"column":9},"end":{"line":11,"column":87}},"type":"binary-expr","locations":[{"start":{"line":11,"column":9},"end":{"line":11,"column":23}},{"start":{"line":11,"column":27},"end":{"line":11,"column":87}}],"line":11},"1":{"loc":{"start":{"line":15,"column":2},"end":{"line":19,"column":24}},"type":"binary-expr","locations":[{"start":{"line":16,"column":5},"end":{"line":16,"column":85}},{"start":{"line":17,"column":5},"end":{"line":17,"column":85}},{"start":{"line":19,"column":5},"end":{"line":19,"column":24}}],"line":15},"2":{"loc":{"start":{"line":16,"column":5},"end":{"line":16,"column":85}},"type":"cond-expr","locations":[{"start":{"line":16,"column":56},"end":{"line":16,"column":77}},{"start":{"line":16,"column":80},"end":{"line":16,"column":85}}],"line":16},"3":{"loc":{"start":{"line":16,"column":5},"end":{"line":16,"column":53}},"type":"binary-expr","locations":[{"start":{"line":16,"column":5},"end":{"line":16,"column":34}},{"start":{"line":16,"column":38},"end":{"line":16,"column":53}}],"line":16},"4":{"loc":{"start":{"line":17,"column":5},"end":{"line":17,"column":85}},"type":"cond-expr","locations":[{"start":{"line":17,"column":56},"end":{"line":17,"column":77}},{"start":{"line":17,"column":80},"end":{"line":17,"column":85}}],"line":17},"5":{"loc":{"start":{"line":17,"column":5},"end":{"line":17,"column":53}},"type":"binary-expr","locations":[{"start":{"line":17,"column":5},"end":{"line":17,"column":34}},{"start":{"line":17,"column":38},"end":{"line":17,"column":53}}],"line":17},"6":{"loc":{"start":{"line":22,"column":29},"end":{"line":22,"column":39}},"type":"default-arg","locations":[{"start":{"line":22,"column":38},"end":{"line":22,"column":39}}],"line":22},"7":{"loc":{"start":{"line":46,"column":6},"end":{"line":54,"column":7}},"type":"if","locations":[{"start":{"line":46,"column":6},"end":{"line":54,"column":7}}],"line":46},"8":{"loc":{"start":{"line":86,"column":2},"end":{"line":88,"column":3}},"type":"if","locations":[{"start":{"line":86,"column":2},"end":{"line":88,"column":3}}],"line":86}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":8,"12":1,"13":1,"14":8,"15":1,"16":1,"17":1,"18":4,"19":1,"20":1,"21":19,"22":976,"23":19,"24":976,"25":970,"26":4,"27":4,"28":4,"29":4,"30":4,"31":4,"32":4,"33":1,"34":4,"35":4,"36":1,"37":2,"38":2,"39":2,"40":2,"41":1,"42":2},"f":{"0":1,"1":1,"2":1,"3":8,"4":1,"5":4,"6":19,"7":976,"8":976,"9":4,"10":4,"11":2,"12":2},"b":{"0":[1,1],"1":[1,0,1],"2":[1,0],"3":[1,1],"4":[0,0],"5":[0,0],"6":[1],"7":[970],"8":[2]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"0dc447a774f0d18bc092e4da2319376f4ab4ce38"}
|
|
3
|
-
}
|
|
@@ -1,212 +0,0 @@
|
|
|
1
|
-
body, html {
|
|
2
|
-
margin:0; padding: 0;
|
|
3
|
-
height: 100%;
|
|
4
|
-
}
|
|
5
|
-
body {
|
|
6
|
-
font-family: Helvetica Neue, Helvetica, Arial;
|
|
7
|
-
font-size: 14px;
|
|
8
|
-
color:#333;
|
|
9
|
-
}
|
|
10
|
-
.small { font-size: 12px; }
|
|
11
|
-
*, *:after, *:before {
|
|
12
|
-
-webkit-box-sizing:border-box;
|
|
13
|
-
-moz-box-sizing:border-box;
|
|
14
|
-
box-sizing:border-box;
|
|
15
|
-
}
|
|
16
|
-
h1 { font-size: 20px; margin: 0;}
|
|
17
|
-
h2 { font-size: 14px; }
|
|
18
|
-
pre {
|
|
19
|
-
font: 12px/1.4 Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
20
|
-
margin: 0;
|
|
21
|
-
padding: 0;
|
|
22
|
-
-moz-tab-size: 2;
|
|
23
|
-
-o-tab-size: 2;
|
|
24
|
-
tab-size: 2;
|
|
25
|
-
}
|
|
26
|
-
a { color:#0074D9; text-decoration:none; }
|
|
27
|
-
a:hover { text-decoration:underline; }
|
|
28
|
-
.strong { font-weight: bold; }
|
|
29
|
-
.space-top1 { padding: 10px 0 0 0; }
|
|
30
|
-
.pad2y { padding: 20px 0; }
|
|
31
|
-
.pad1y { padding: 10px 0; }
|
|
32
|
-
.pad2x { padding: 0 20px; }
|
|
33
|
-
.pad2 { padding: 20px; }
|
|
34
|
-
.pad1 { padding: 10px; }
|
|
35
|
-
.space-left2 { padding-left:55px; }
|
|
36
|
-
.space-right2 { padding-right:20px; }
|
|
37
|
-
.center { text-align:center; }
|
|
38
|
-
.clearfix { display:block; }
|
|
39
|
-
.clearfix:after {
|
|
40
|
-
content:'';
|
|
41
|
-
display:block;
|
|
42
|
-
height:0;
|
|
43
|
-
clear:both;
|
|
44
|
-
visibility:hidden;
|
|
45
|
-
}
|
|
46
|
-
.fl { float: left; }
|
|
47
|
-
@media only screen and (max-width:640px) {
|
|
48
|
-
.col3 { width:100%; max-width:100%; }
|
|
49
|
-
.hide-mobile { display:none!important; }
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.quiet {
|
|
53
|
-
color: #7f7f7f;
|
|
54
|
-
color: rgba(0,0,0,0.5);
|
|
55
|
-
}
|
|
56
|
-
.quiet a { opacity: 0.7; }
|
|
57
|
-
|
|
58
|
-
.fraction {
|
|
59
|
-
font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
|
|
60
|
-
font-size: 10px;
|
|
61
|
-
color: #555;
|
|
62
|
-
background: #E8E8E8;
|
|
63
|
-
padding: 4px 5px;
|
|
64
|
-
border-radius: 3px;
|
|
65
|
-
vertical-align: middle;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
div.path a:link, div.path a:visited { color: #333; }
|
|
69
|
-
table.coverage {
|
|
70
|
-
border-collapse: collapse;
|
|
71
|
-
margin: 10px 0 0 0;
|
|
72
|
-
padding: 0;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
table.coverage td {
|
|
76
|
-
margin: 0;
|
|
77
|
-
padding: 0;
|
|
78
|
-
vertical-align: top;
|
|
79
|
-
}
|
|
80
|
-
table.coverage td.line-count {
|
|
81
|
-
text-align: right;
|
|
82
|
-
padding: 0 5px 0 20px;
|
|
83
|
-
}
|
|
84
|
-
table.coverage td.line-coverage {
|
|
85
|
-
text-align: right;
|
|
86
|
-
padding-right: 10px;
|
|
87
|
-
min-width:20px;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
table.coverage td span.cline-any {
|
|
91
|
-
display: inline-block;
|
|
92
|
-
padding: 0 5px;
|
|
93
|
-
width: 100%;
|
|
94
|
-
}
|
|
95
|
-
.missing-if-branch {
|
|
96
|
-
display: inline-block;
|
|
97
|
-
margin-right: 5px;
|
|
98
|
-
border-radius: 3px;
|
|
99
|
-
position: relative;
|
|
100
|
-
padding: 0 4px;
|
|
101
|
-
background: #333;
|
|
102
|
-
color: yellow;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.skip-if-branch {
|
|
106
|
-
display: none;
|
|
107
|
-
margin-right: 10px;
|
|
108
|
-
position: relative;
|
|
109
|
-
padding: 0 4px;
|
|
110
|
-
background: #ccc;
|
|
111
|
-
color: white;
|
|
112
|
-
}
|
|
113
|
-
.missing-if-branch .typ, .skip-if-branch .typ {
|
|
114
|
-
color: inherit !important;
|
|
115
|
-
}
|
|
116
|
-
.coverage-summary {
|
|
117
|
-
border-collapse: collapse;
|
|
118
|
-
width: 100%;
|
|
119
|
-
}
|
|
120
|
-
.coverage-summary tr { border-bottom: 1px solid #bbb; }
|
|
121
|
-
.keyline-all { border: 1px solid #ddd; }
|
|
122
|
-
.coverage-summary td, .coverage-summary th { padding: 10px; }
|
|
123
|
-
.coverage-summary tbody { border: 1px solid #bbb; }
|
|
124
|
-
.coverage-summary td { border-right: 1px solid #bbb; }
|
|
125
|
-
.coverage-summary td:last-child { border-right: none; }
|
|
126
|
-
.coverage-summary th {
|
|
127
|
-
text-align: left;
|
|
128
|
-
font-weight: normal;
|
|
129
|
-
white-space: nowrap;
|
|
130
|
-
}
|
|
131
|
-
.coverage-summary th.file { border-right: none !important; }
|
|
132
|
-
.coverage-summary th.pct { }
|
|
133
|
-
.coverage-summary th.pic,
|
|
134
|
-
.coverage-summary th.abs,
|
|
135
|
-
.coverage-summary td.pct,
|
|
136
|
-
.coverage-summary td.abs { text-align: right; }
|
|
137
|
-
.coverage-summary td.file { white-space: nowrap; }
|
|
138
|
-
.coverage-summary td.pic { min-width: 120px !important; }
|
|
139
|
-
.coverage-summary tfoot td { }
|
|
140
|
-
|
|
141
|
-
.coverage-summary .sorter {
|
|
142
|
-
height: 10px;
|
|
143
|
-
width: 7px;
|
|
144
|
-
display: inline-block;
|
|
145
|
-
margin-left: 0.5em;
|
|
146
|
-
background: url(sort-arrow-sprite.png) no-repeat scroll 0 0 transparent;
|
|
147
|
-
}
|
|
148
|
-
.coverage-summary .sorted .sorter {
|
|
149
|
-
background-position: 0 -20px;
|
|
150
|
-
}
|
|
151
|
-
.coverage-summary .sorted-desc .sorter {
|
|
152
|
-
background-position: 0 -10px;
|
|
153
|
-
}
|
|
154
|
-
.status-line { height: 10px; }
|
|
155
|
-
/* dark red */
|
|
156
|
-
.red.solid, .status-line.low, .low .cover-fill { background:#C21F39 }
|
|
157
|
-
.low .chart { border:1px solid #C21F39 }
|
|
158
|
-
/* medium red */
|
|
159
|
-
.cstat-no, .fstat-no, .cbranch-no, .cbranch-no { background:#F6C6CE }
|
|
160
|
-
/* light red */
|
|
161
|
-
.low, .cline-no { background:#FCE1E5 }
|
|
162
|
-
/* light green */
|
|
163
|
-
.high, .cline-yes { background:rgb(230,245,208) }
|
|
164
|
-
/* medium green */
|
|
165
|
-
.cstat-yes { background:rgb(161,215,106) }
|
|
166
|
-
/* dark green */
|
|
167
|
-
.status-line.high, .high .cover-fill { background:rgb(77,146,33) }
|
|
168
|
-
.high .chart { border:1px solid rgb(77,146,33) }
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
.medium .chart { border:1px solid #666; }
|
|
172
|
-
.medium .cover-fill { background: #666; }
|
|
173
|
-
|
|
174
|
-
.cbranch-no { background: yellow !important; color: #111; }
|
|
175
|
-
|
|
176
|
-
.cstat-skip { background: #ddd; color: #111; }
|
|
177
|
-
.fstat-skip { background: #ddd; color: #111 !important; }
|
|
178
|
-
.cbranch-skip { background: #ddd !important; color: #111; }
|
|
179
|
-
|
|
180
|
-
span.cline-neutral { background: #eaeaea; }
|
|
181
|
-
.medium { background: #eaeaea; }
|
|
182
|
-
|
|
183
|
-
.cover-fill, .cover-empty {
|
|
184
|
-
display:inline-block;
|
|
185
|
-
height: 12px;
|
|
186
|
-
}
|
|
187
|
-
.chart {
|
|
188
|
-
line-height: 0;
|
|
189
|
-
}
|
|
190
|
-
.cover-empty {
|
|
191
|
-
background: white;
|
|
192
|
-
}
|
|
193
|
-
.cover-full {
|
|
194
|
-
border-right: none !important;
|
|
195
|
-
}
|
|
196
|
-
pre.prettyprint {
|
|
197
|
-
border: none !important;
|
|
198
|
-
padding: 0 !important;
|
|
199
|
-
margin: 0 !important;
|
|
200
|
-
}
|
|
201
|
-
.com { color: #999 !important; }
|
|
202
|
-
.ignore-none { color: #999; font-weight: normal; }
|
|
203
|
-
|
|
204
|
-
.wrapper {
|
|
205
|
-
min-height: 100%;
|
|
206
|
-
height: auto !important;
|
|
207
|
-
height: 100%;
|
|
208
|
-
margin: 0 auto -48px;
|
|
209
|
-
}
|
|
210
|
-
.footer, .push {
|
|
211
|
-
height: 48px;
|
|
212
|
-
}
|
|
@@ -1,106 +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
|
-
<link rel="stylesheet" href="prettify.css" />
|
|
7
|
-
<link rel="stylesheet" href="base.css" />
|
|
8
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
|
-
<style type='text/css'>
|
|
10
|
-
.coverage-summary .sorter {
|
|
11
|
-
background-image: url(sort-arrow-sprite.png);
|
|
12
|
-
}
|
|
13
|
-
</style>
|
|
14
|
-
</head>
|
|
15
|
-
<body>
|
|
16
|
-
<div class='wrapper'>
|
|
17
|
-
<div class='pad1'>
|
|
18
|
-
<h1>
|
|
19
|
-
All files
|
|
20
|
-
</h1>
|
|
21
|
-
<div class='clearfix'>
|
|
22
|
-
<div class='fl pad1y space-right2'>
|
|
23
|
-
<span class="strong">100% </span>
|
|
24
|
-
<span class="quiet">Statements</span>
|
|
25
|
-
<span class='fraction'>109/109</span>
|
|
26
|
-
</div>
|
|
27
|
-
<div class='fl pad1y space-right2'>
|
|
28
|
-
<span class="strong">89.09% </span>
|
|
29
|
-
<span class="quiet">Branches</span>
|
|
30
|
-
<span class='fraction'>49/55</span>
|
|
31
|
-
</div>
|
|
32
|
-
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">100% </span>
|
|
34
|
-
<span class="quiet">Functions</span>
|
|
35
|
-
<span class='fraction'>34/34</span>
|
|
36
|
-
</div>
|
|
37
|
-
<div class='fl pad1y space-right2'>
|
|
38
|
-
<span class="strong">100% </span>
|
|
39
|
-
<span class="quiet">Lines</span>
|
|
40
|
-
<span class='fraction'>104/104</span>
|
|
41
|
-
</div>
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
<div class='status-line high'></div>
|
|
45
|
-
<div class="pad1">
|
|
46
|
-
<table class="coverage-summary">
|
|
47
|
-
<thead>
|
|
48
|
-
<tr>
|
|
49
|
-
<th data-col="file" data-fmt="html" data-html="true" class="file">File</th>
|
|
50
|
-
<th data-col="pic" data-type="number" data-fmt="html" data-html="true" class="pic"></th>
|
|
51
|
-
<th data-col="statements" data-type="number" data-fmt="pct" class="pct">Statements</th>
|
|
52
|
-
<th data-col="statements_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
53
|
-
<th data-col="branches" data-type="number" data-fmt="pct" class="pct">Branches</th>
|
|
54
|
-
<th data-col="branches_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
55
|
-
<th data-col="functions" data-type="number" data-fmt="pct" class="pct">Functions</th>
|
|
56
|
-
<th data-col="functions_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
57
|
-
<th data-col="lines" data-type="number" data-fmt="pct" class="pct">Lines</th>
|
|
58
|
-
<th data-col="lines_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
59
|
-
</tr>
|
|
60
|
-
</thead>
|
|
61
|
-
<tbody><tr>
|
|
62
|
-
<td class="file high" data-value="index.js"><a href="index.js.html">index.js</a></td>
|
|
63
|
-
<td data-value="100" class="pic high"><div class="chart"><div class="cover-fill cover-full" style="width: 100%;"></div><div class="cover-empty" style="width:0%;"></div></div></td>
|
|
64
|
-
<td data-value="100" class="pct high">100%</td>
|
|
65
|
-
<td data-value="66" class="abs high">66/66</td>
|
|
66
|
-
<td data-value="100" class="pct high">100%</td>
|
|
67
|
-
<td data-value="39" class="abs high">39/39</td>
|
|
68
|
-
<td data-value="100" class="pct high">100%</td>
|
|
69
|
-
<td data-value="21" class="abs high">21/21</td>
|
|
70
|
-
<td data-value="100" class="pct high">100%</td>
|
|
71
|
-
<td data-value="65" class="abs high">65/65</td>
|
|
72
|
-
</tr>
|
|
73
|
-
|
|
74
|
-
<tr>
|
|
75
|
-
<td class="file high" data-value="utils.js"><a href="utils.js.html">utils.js</a></td>
|
|
76
|
-
<td data-value="100" class="pic high"><div class="chart"><div class="cover-fill cover-full" style="width: 100%;"></div><div class="cover-empty" style="width:0%;"></div></div></td>
|
|
77
|
-
<td data-value="100" class="pct high">100%</td>
|
|
78
|
-
<td data-value="43" class="abs high">43/43</td>
|
|
79
|
-
<td data-value="62.5" class="pct medium">62.5%</td>
|
|
80
|
-
<td data-value="16" class="abs medium">10/16</td>
|
|
81
|
-
<td data-value="100" class="pct high">100%</td>
|
|
82
|
-
<td data-value="13" class="abs high">13/13</td>
|
|
83
|
-
<td data-value="100" class="pct high">100%</td>
|
|
84
|
-
<td data-value="39" class="abs high">39/39</td>
|
|
85
|
-
</tr>
|
|
86
|
-
|
|
87
|
-
</tbody>
|
|
88
|
-
</table>
|
|
89
|
-
</div><div class='push'></div><!-- for sticky footer -->
|
|
90
|
-
</div><!-- /wrapper -->
|
|
91
|
-
<div class='footer quiet pad2 space-top1 center small'>
|
|
92
|
-
Code coverage
|
|
93
|
-
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Fri Nov 10 2017 02:02:24 GMT-0200 (-02)
|
|
94
|
-
</div>
|
|
95
|
-
</div>
|
|
96
|
-
<script src="prettify.js"></script>
|
|
97
|
-
<script>
|
|
98
|
-
window.onload = function () {
|
|
99
|
-
if (typeof prettyPrint === 'function') {
|
|
100
|
-
prettyPrint();
|
|
101
|
-
}
|
|
102
|
-
};
|
|
103
|
-
</script>
|
|
104
|
-
<script src="sorter.js"></script>
|
|
105
|
-
</body>
|
|
106
|
-
</html>
|