freefcw / hustoj

the online judge system for acm/icpc
http://www.hustoj.org
265 stars 64 forks source link

fix Google Analytics workaround code latent risk #31

Closed dotkrnl closed 10 years ago

dotkrnl commented 10 years ago

use for (var index = 0; index < scripts.length; index++) instead of for (item in scripts) on NodeList. 不应在 NodeList 上使用 for .. in .. 方法。