Skip to content

Dependencies not working #107

Open
Open

Description

@nachitox

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');
});

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions