beautify_js

This commit is contained in:
Ilya Kantor 2015-03-09 18:48:58 +03:00
parent 0febe4f5fd
commit 5c2f32e184
208 changed files with 3891 additions and 1474 deletions

View file

@ -2,18 +2,18 @@ function makeArmy() {
var shooters = [];
for(var i=0; i<10; i++) {
for (var i = 0; i < 10; i++) {
var shooter = (function(x) {
return function() {
alert( x );
alert(x);
};
})(i);
shooters.push(shooter);
shooters.push(shooter);
}
return shooters;
}
return shooters;
}