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

Simplifying the AMD tree #35

Merged
merged 2 commits into from
Mar 11, 2014
Merged

Simplifying the AMD tree #35

merged 2 commits into from
Mar 11, 2014

Conversation

thom4parisot
Copy link
Contributor

Enables to use peaks with a minimal configuration.

requirejs.config({
  paths: {
    peaks: 'bower_components/peaks.js/src/main'
  }
});

require(['peaks'], function(peaks){
  var p = peaks.init();
});

It should be the same as

require(['bower_components/peaks.js/dist/js/peaks.min'], function(peaks){
  var p = peaks.init();
});

- almond and requirejs as bower dependencies
- updated the build chain
- require(['peaks']) = window.peaks = require('peaks')
thom4parisot pushed a commit that referenced this pull request Mar 11, 2014
@thom4parisot thom4parisot merged commit a574f30 into dev-video Mar 11, 2014
@thom4parisot thom4parisot deleted the feature-simplified-deps branch September 21, 2015 20:01
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.

1 participant