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

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

3 participants

@robocoder

We have two routes here:

@mattab
Piwik Open Source Analytics member

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

@anonymous-piwik-user

+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

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