1
0
Fork 0
forked from 0x2620/oxjs

use native forEach

This commit is contained in:
rlx 2011-04-19 14:11:04 +00:00
commit ddf22df242
5 changed files with 3741 additions and 4134 deletions

View file

@ -88,12 +88,12 @@ $(function() {
var counter = 0,
length = 0,
src = {};
$.each(userAgents, function(name, link) {
Ox.forEach(userAgents, function(link, name) {
if (link) {
length++;
}
});
$.each(userAgents, function(name, link) {
Ox.forEach(userAgents, function(link, name) {
var image;
if (link) {
image = new Image();