We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In this function
function injectScript(src){ var s, t; s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = src; t = document.getElementsByTagName('script')[0]; t.parentNode.insertBefore(s,t); }
t is currently 'Undefined' so I cannot get the parentNode of it.
I am trying to use it like this
define([ 'jquery', 'jasmineJquery', 'require', 'async!http://maps.google.com/maps/api/js?sensor=false'], function(){ describe("Google test", function () { it("should not throw exception ", function () { ................. }) }) });
and run using sbt jasmine command
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In this function
function injectScript(src){
var s, t;
s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = src;
t = document.getElementsByTagName('script')[0];
t.parentNode.insertBefore(s,t);
}
t is currently 'Undefined' so I cannot get the parentNode of it.
I am trying to use it like this
define([ 'jquery', 'jasmineJquery', 'require', 'async!http://maps.google.com/maps/api/js?sensor=false'], function(){
describe("Google test", function () {
it("should not throw exception ", function () {
.................
})
})
});
and run using sbt jasmine command
The text was updated successfully, but these errors were encountered: