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

Add AMD support. Fixes #50 #51

Merged
merged 1 commit into from
Apr 28, 2015
Merged

Add AMD support. Fixes #50 #51

merged 1 commit into from
Apr 28, 2015

Conversation

priyajeet
Copy link
Contributor

Usage

<script src='require.js'></script>
<script>
    require(['/path/to/t3'], function(Box) {
        console.log(Box);
    });
</script>

or

<script src='require.js'></script>
<script src='path/to/t3.js'></script>
<script>
    require(['t3'], function(Box) {
        console.log(Box);
    });
</script>

@boxcla
Copy link

boxcla commented Apr 27, 2015

Verified that @priyajeet has signed the CLA. Thanks for the pull request!

@nzakas
Copy link
Contributor

nzakas commented Apr 27, 2015

+1

@j3tan
Copy link
Contributor

j3tan commented Apr 27, 2015

+2

nzakas added a commit that referenced this pull request Apr 28, 2015
@nzakas nzakas merged commit bedf873 into box:master Apr 28, 2015
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

Successfully merging this pull request may close these issues.

4 participants