Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2013-11-23 06:27:50 +0400
committermattab <matthieu.aubry@gmail.com>2013-11-23 06:27:50 +0400
commitbe3f817ecb0297e2f06d94e198d476374b09743a (patch)
tree1477229088899e550ea7a5c19f959cbda5cbfec1 /plugins/Morpheus
parentce90029718501c1cc4fd231e20531210c7372c54 (diff)
Refs #4127 #3942 Allow plugins to define one or several javascript that the theme should include, directly from the plugin.json file.
It is better than asking Theme designers to create a .php file that defines the hook "AssetManager.getJavaScriptFiles"
Diffstat (limited to 'plugins/Morpheus')
-rw-r--r--plugins/Morpheus/plugin.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/Morpheus/plugin.json b/plugins/Morpheus/plugin.json
index ed9f182955..7005ecfba2 100644
--- a/plugins/Morpheus/plugin.json
+++ b/plugins/Morpheus/plugin.json
@@ -1,6 +1,7 @@
{
"name": "Morpheus",
- "description": "Morpheus is the default theme of Piwik 2 designed to help you focus on your analytics reports. In Greek mythology, Morpheus is the God of dreams. In the Matrix movie, Morpheus is the leader of the rebel forces who fight to awaken humans from a dreamlike reality called The Matrix. ",
+ "description": "Morpheus is the default theme of Piwik 2 designed to help you focus on your analytics. In Greek mythology, Morpheus is the God of dreams. In the Matrix movie, Morpheus is the leader of the rebel forces who fight to awaken humans from a dreamlike reality called The Matrix. ",
"theme": true,
- "stylesheet": "stylesheets/theme.less"
+ "stylesheet": "stylesheets/theme.less",
+ "javascript": ["javascripts/morpheus.js", "javascripts/example.js"]
} \ No newline at end of file