PageRenderTime 364ms CodeModel.GetById 180ms app.highlight 4ms RepoModel.GetById 178ms app.codeStats 0ms

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

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs
JavaScript | 30 lines | 29 code | 0 blank | 1 comment | 2 complexity | d3f1d2575b63f9cae673664d273df9b4 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-with.js']) {
 7  _$jscoverage['javascript-with.js'] = [];
 8  _$jscoverage['javascript-with.js'][1] = 0;
 9  _$jscoverage['javascript-with.js'][2] = 0;
10  _$jscoverage['javascript-with.js'][4] = 0;
11  _$jscoverage['javascript-with.js'][5] = 0;
12  _$jscoverage['javascript-with.js'][8] = 0;
13  _$jscoverage['javascript-with.js'][9] = 0;
14}
15_$jscoverage['javascript-with.js'][1]++;
16function f() {
17}
18_$jscoverage['javascript-with.js'][2]++;
19var x = {};
20_$jscoverage['javascript-with.js'][4]++;
21with (x) {
22  _$jscoverage['javascript-with.js'][5]++;
23  f();
24}
25_$jscoverage['javascript-with.js'][8]++;
26with (x) {
27  _$jscoverage['javascript-with.js'][9]++;
28  f();
29}
30_$jscoverage['javascript-with.js'].source = ["<span class=\"k\">function</span> f<span class=\"k\">()</span> <span class=\"k\">{}</span>","<span class=\"k\">var</span> x <span class=\"k\">=</span> <span class=\"k\">{}</span><span class=\"k\">;</span>","","<span class=\"k\">with</span> <span class=\"k\">(</span>x<span class=\"k\">)</span> <span class=\"k\">{</span>","  f<span class=\"k\">();</span>","<span class=\"k\">}</span>","","<span class=\"k\">with</span> <span class=\"k\">(</span>x<span class=\"k\">)</span>","  f<span class=\"k\">();</span>"];