Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Make sure we use the wrapper NodeList in querySelector.js
Browse files Browse the repository at this point in the history
  • Loading branch information
arv committed Apr 9, 2014
1 parent a86a1b9 commit d445b21
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/querySelector.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
(function(scope) {
'use strict';

var NodeList = scope.wrappers.NodeList;

function findOne(node, selector) {
var m, el = node.firstElementChild;
while (el) {
Expand Down

0 comments on commit d445b21

Please sign in to comment.