Sorry to write about multiple things concurrently, but I also hit this in the xqsuperschool code. Interesting.. it's expecting document.head.querySelector so that it can query for metas by selector syntax. I don't know why it needs to be called on document.head, when metas by definition will only be in head.

getConfig: function(name) {
var element;
element = document.head.querySelector("meta[name='action-cable-" + name + "']");
return element != null ? element.getAttribute("content") : void 0;
},

I have been banging my brains on it for a while. Is there a proper place to add functions to document.head? I tried adding it at the very bottom, after document.querySelector, and it wasn't recognizing document.head unless I am misinterpreting messages.

Does this need to take place after third.js has run? No.. it doesn't, right? Otherwise you wouldn't be able to define document.querySelector either.

thanks
Kevin

_______________________________________________
Edbrowse-dev mailing list
[email protected]
http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev

Reply via email to