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 "Asynchronous Module Definition" (AMD) support (piwik.js) #3352

Closed
robocoder opened this issue Aug 28, 2012 · 4 comments
Closed

Add "Asynchronous Module Definition" (AMD) support (piwik.js) #3352

robocoder opened this issue Aug 28, 2012 · 4 comments
Assignees
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone

Comments

@robocoder
Copy link
Contributor

Reference: https://github.com/amdjs/amdjs-api/wiki/AMD

@robocoder
Copy link
Contributor Author

We have two routes here:

@mattab
Copy link
Member

mattab commented Sep 5, 2012

Do you have a good use case for it? maybe we should ask for users who are interested in the feature and comment...?

@anonymous-matomo-user
Copy link

+1 for this issue.
We are developing modular web-apps with highly usage of AMD.
It would be awsome to being able to use the piwik-js api as a module,
rather then referencing the global Piwik Object.

It would also make it easier to embed "tracked/tracking/trackable" js-widgets in whitelabel environments.

+1 again ;)

PS: the first route is the one to go :)

@robocoder
Copy link
Contributor Author

In 2eed2eb: fixes #3352 - expose Piwik as an AMD module (uses the jQuery approach for backward compatibility)

@robocoder robocoder added this to the 1.12 - The Great 1.x Backlog milestone Jul 8, 2014
@robocoder robocoder self-assigned this Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

3 participants