the editable site (validation-lab)
This commit is contained in:
commit
3ac81d5a52
13454 files changed
+2227005
No files matched your search
+15
@@ -0,0 +1,15 @@
|
||||
"use strict";
|
||||
|
||||
// No support for subclassing array, return an actual Array object.
|
||||
function item(i) {
|
||||
/* jshint validthis: true */
|
||||
return this[i] || null;
|
||||
}
|
||||
|
||||
function NodeList(a) {
|
||||
if (!a) a = [];
|
||||
a.item = item;
|
||||
return a;
|
||||
}
|
||||
|
||||
module.exports = NodeList;
|
||||
Reference in new issue
Block a user