Commit 7c7d1aa1 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_code_mirror] Activate syntax highlight for Test Component

parent 4ee50a57
CACHE MANIFEST CACHE MANIFEST
# generated on Mon, 05 Feb 2018 15:00:00 GMT+0100 # generated on Wed, 16 Jan 2019 15:00:00 GMT+0100
CACHE: CACHE:
favicon.ico favicon.ico
renderjs.js renderjs.js
......
...@@ -79,7 +79,8 @@ ...@@ -79,7 +79,8 @@
mode = 'javascript'; mode = 'javascript';
} else if (options.portal_type === 'Web Style') { } else if (options.portal_type === 'Web Style') {
mode = 'css'; mode = 'css';
} else if (options.portal_type === 'Python Script') { } else if ((options.portal_type === 'Python Script') ||
(options.portal_type === 'Test Component')) {
mode = 'python'; mode = 'python';
} }
state_dict.mode = mode; state_dict.mode = mode;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment