diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-11-23 06:27:50 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-11-23 06:27:50 +0400 |
commit | be3f817ecb0297e2f06d94e198d476374b09743a (patch) | |
tree | 1477229088899e550ea7a5c19f959cbda5cbfec1 /plugins/Morpheus | |
parent | ce90029718501c1cc4fd231e20531210c7372c54 (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.json | 5 |
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 |