Skip to content
New issue

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

When using head.load(array), the callback is not executed as documented #324

Open
asantos opened this issue Feb 1, 2015 · 2 comments
Open

Comments

@asantos
Copy link

asantos commented Feb 1, 2015

I'm using head.load with an array of javascript urls. For some reason, the callback is not executed, ever. It does work when using a simple string instead of the array.

var urls = [];
urls.push('item1.js');
urls.push('item2.js');
head.load(urls, function(){
    console.log('hello world');
});

In my example, the scripts are executed, but hello world is never logged.

@asantos asantos changed the title When using head.load(array) callback don't work When using head.load(array), the callback is not executed as documented Feb 3, 2015
@filidorwiese
Copy link

+1

@eugeniob
Copy link

eugeniob commented Nov 15, 2017

I'm using version v1.0.3 and having the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants