PageRenderTime 101ms CodeModel.GetById 40ms app.highlight 2ms RepoModel.GetById 58ms app.codeStats 0ms

/js/lib/Socket.IO-node/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-throw.js

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs
JavaScript | 21 lines | 20 code | 0 blank | 1 comment | 2 complexity | e023578bd2e896651fbea9012dc8b1d4 MD5 | raw file
 1/* automatically generated by JSCoverage - do not edit */
 2if (! top._$jscoverage) {
 3  top._$jscoverage = {};
 4}
 5var _$jscoverage = top._$jscoverage;
 6if (! _$jscoverage['javascript-throw.js']) {
 7  _$jscoverage['javascript-throw.js'] = [];
 8  _$jscoverage['javascript-throw.js'][1] = 0;
 9  _$jscoverage['javascript-throw.js'][2] = 0;
10  _$jscoverage['javascript-throw.js'][5] = 0;
11}
12_$jscoverage['javascript-throw.js'][1]++;
13try {
14  _$jscoverage['javascript-throw.js'][2]++;
15  throw "x";
16}
17catch (e) {
18  _$jscoverage['javascript-throw.js'][5]++;
19  ;
20}
21_$jscoverage['javascript-throw.js'].source = ["<span class=\"k\">try</span> <span class=\"k\">{</span>","  <span class=\"k\">throw</span> <span class=\"s\">\"x\"</span><span class=\"k\">;</span>","<span class=\"k\">}</span>","<span class=\"k\">catch</span> <span class=\"k\">(</span>e<span class=\"k\">)</span> <span class=\"k\">{</span>","  <span class=\"k\">;</span>","<span class=\"k\">}</span>"];