forked from rebillar/site-accueil-insa
13 lines
No EOL
414 B
JavaScript
13 lines
No EOL
414 B
JavaScript
(function () {
|
|
angular.module('piwikApp.config', []);
|
|
|
|
if ('undefined' === (typeof piwik) || !piwik) {
|
|
return;
|
|
}
|
|
|
|
var piwikAppConfig = angular.module('piwikApp.config');
|
|
// we probably want this later as a separate config file, till then it serves as a "bridge"
|
|
for (var index in piwik.config) {
|
|
piwikAppConfig.constant(index.toUpperCase(), piwik.config[index]);
|
|
}
|
|
})(); |