Created
January 13, 2012 02:07
-
-
Save ahomu/1604242 to your computer and use it in GitHub Desktop.
iが大事なとき
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// hayate.js内の関数から改変 | |
function toArrayCopy(list) { | |
var rv= new Array(list.length), i = 0, iz = list.length; | |
for (; i<iz; i++) { | |
rv[i]= list[i]; | |
} | |
return rv; | |
} | |
var NodeList = document.getElementsByTagName('div'); | |
toArrayCopy(NodeList); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment