OLD | NEW |
1 /* | 1 /* |
2 * This file is part of Adblock Plus <http://adblockplus.org/>, | 2 * This file is part of Adblock Plus <http://adblockplus.org/>, |
3 * Copyright (C) 2006-2014 Eyeo GmbH | 3 * Copyright (C) 2006-2014 Eyeo GmbH |
4 * | 4 * |
5 * Adblock Plus is free software: you can redistribute it and/or modify | 5 * Adblock Plus is free software: you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 3 as | 6 * it under the terms of the GNU General Public License version 3 as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
8 * | 8 * |
9 * Adblock Plus is distributed in the hope that it will be useful, | 9 * Adblock Plus is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 } | 62 } |
63 for (var _loopIndex9 = 0; _loopIndex9 < fooList.length; ++_loopIndex9) | 63 for (var _loopIndex9 = 0; _loopIndex9 < fooList.length; ++_loopIndex9) |
64 { | 64 { |
65 k = fooList[_loopIndex9]; | 65 k = fooList[_loopIndex9]; |
66 alert(k); | 66 alert(k); |
67 } | 67 } |
68 var a = function() | 68 var a = function() |
69 { | 69 { |
70 return 1; | 70 return 1; |
71 }; | 71 }; |
72 var b = | 72 var b = { |
73 { | |
74 get foo() | 73 get foo() |
75 { | 74 { |
76 return 1; | 75 return 1; |
77 } | 76 } |
78 }; | 77 }; |
| 78 |
| 79 function foo() |
| 80 { |
| 81 return { |
| 82 foo: 1, |
| 83 bar: 2 |
| 84 }; |
| 85 } |
79 if (a == b) | 86 if (a == b) |
80 { | 87 { |
81 foo(); | 88 foo(); |
82 } | 89 } |
83 else if (a == c) | 90 else if (a == c) |
84 { | 91 { |
85 bar(); | 92 bar(); |
86 } | 93 } |
87 else | 94 else |
88 { | 95 { |
89 bas(); | 96 bas(); |
90 } | 97 } |
91 if (a == b){} | 98 if (a == b) |
| 99 {} |
92 for (var a = 0; a < b.length; a++) | 100 for (var a = 0; a < b.length; a++) |
93 { | 101 { |
94 foo(); | 102 foo(); |
95 } | 103 } |
96 for (var a = 0; a < b.length; a++){} | 104 for (var a = 0; a < b.length; a++) |
| 105 {} |
97 for (var a in b) | 106 for (var a in b) |
98 { | 107 { |
99 foo(); | 108 foo(); |
100 } | 109 } |
101 for (var a in b){} | 110 for (var a in b) |
| 111 {} |
102 while (a == b) | 112 while (a == b) |
103 { | 113 { |
104 foo(); | 114 foo(); |
105 } | 115 } |
106 while (a == b){} | 116 while (a == b) |
| 117 {} |
107 | 118 |
108 function genFunc() | 119 function genFunc() |
109 { | 120 { |
110 var _generatorResult10 = []; | 121 var _generatorResult10 = []; |
111 for (var i = 0; i < 10; i++) | 122 for (var i = 0; i < 10; i++) |
112 { | 123 { |
113 _generatorResult10.push(i); | 124 _generatorResult10.push(i); |
114 } | 125 } |
115 return _generatorResult10; | 126 return _generatorResult10; |
116 } | 127 } |
117 var a = function() | 128 var a = function() |
118 { | 129 { |
119 var _generatorResult10 = []; | 130 var _generatorResult10 = []; |
120 for (var i = 0; i < 10; i++) | 131 for (var i = 0; i < 10; i++) |
121 { | 132 { |
122 _generatorResult10.push(i); | 133 _generatorResult10.push(i); |
123 } | 134 } |
124 return _generatorResult10; | 135 return _generatorResult10; |
125 }; | 136 }; |
126 return exports; | 137 return exports; |
127 })(); | 138 })(); |
OLD | NEW |