Skip to content

requirejs support #87

@OlegTsarenko

Description

@OlegTsarenko

i try to use draggabilly with requirejs
but i get undefined instead object.

require.config({
    paths: {
        jquery: 'bower_components/jquery/dist/jquery',
        underscore: 'bower_components/underscore-amd/underscore',
        draggabilly: 'bower_components/draggabilly/dist/draggabilly.pkgd'
    }
});

requirejs(["jquery","underscore", "draggabilly"],
    function($, _, Draggabilly) {
        console.log('log', $,  _, Draggabilly);
    });

Am I doing something wrong?

requirejs-2.1.0
draggabilly-1.2.3

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