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

Dependencies not working #107

Open
nachitox opened this issue Mar 28, 2017 · 0 comments
Open

Dependencies not working #107

nachitox opened this issue Mar 28, 2017 · 0 comments

Comments

@nachitox
Copy link

nachitox commented Mar 28, 2017

Hi,
I'm having problems with the library.

On https://www.sitejabber.com/reviews/www.sitejabber.com we have:

<script type="text/javascript">
$script.ready('jquery', function() {
    $script('https://static3.sitejabber.com/js/fileuploader.min.1476819401.js', 'fileUploader');
});
$script.ready('fileUploader', function() {
    $script('https://static3.sitejabber.com/js/upload.min.1476819401.js', 'uploadHelper');
});
</script>

But this error shows up:
ReferenceError: qq is not defined
qq is defined in fileuploader.js and use by upload.js

Shouldn't the library avoid this issues ?

EDIT:
Tried with with $script.order but the problem persist!

$script.ready('jquery', function() {
    $script.order(['https://static3.sitejabber.com/js/fileuploader.min.1476819401.js', 'https://static3.sitejabber.com/js/upload.min.1476819401.js'], 'uploadHelper');
});
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

1 participant