Commit 8652422c authored by Jérome Perrin's avatar Jérome Perrin

testXHTML: do not jslint erp5_ace_editor

parent 7c758fd9
...@@ -169,7 +169,8 @@ class TestXHTMLMixin(ERP5TypeTestCase): ...@@ -169,7 +169,8 @@ class TestXHTMLMixin(ERP5TypeTestCase):
for script_path, script in skins_tool.ZopeFind( for script_path, script in skins_tool.ZopeFind(
skins_tool, obj_metatypes=['File','DTML Method','DTML Document'], search_sub=1): skins_tool, obj_metatypes=['File','DTML Method','DTML Document'], search_sub=1):
is_required_check_path = True is_required_check_path = True
ignore_bts = ['erp5_jquery','erp5_fckeditor','erp5_xinha_editor', 'erp5_jquery_ui'] ignore_bts = ['erp5_jquery','erp5_fckeditor','erp5_xinha_editor',
'erp5_jquery_ui', 'erp5_ace_editor']
if script_path.endswith('.js'): if script_path.endswith('.js'):
for ignore_bt_name in ignore_bts: for ignore_bt_name in ignore_bts:
if script_path.startswith(ignore_bt_name): if script_path.startswith(ignore_bt_name):
......
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