mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Error if no jQuery and no querySelectorAll (IE 7)
This commit is contained in:
@@ -5,6 +5,12 @@ DomUtils = {};
|
||||
(function () {
|
||||
|
||||
var qsaFindAllBySelector = function (selector, contextNode) {
|
||||
if (! document.querySelectorAll)
|
||||
// IE 7
|
||||
throw new Error(
|
||||
"This browser doesn't support querySelectorAll. " +
|
||||
"You need Sizzle or jQuery (`meteor add jquery`).");
|
||||
|
||||
// the search is constrained to descendants of `ancestor`,
|
||||
// but it doesn't affect the scope of the query.
|
||||
var ancestor = contextNode;
|
||||
|
||||
Reference in New Issue
Block a user