forked from 0x2620/oxjs
use native forEach
This commit is contained in:
parent
6aeb19bc81
commit
ddf22df242
5 changed files with 3741 additions and 4134 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue