Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Lu Xu
erp5
Commits
8652422c
Commit
8652422c
authored
Dec 16, 2014
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testXHTML: do not jslint erp5_ace_editor
parent
7c758fd9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
product/ERP5/tests/testXHTML.py
product/ERP5/tests/testXHTML.py
+2
-1
No files found.
product/ERP5/tests/testXHTML.py
View file @
8652422c
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment