Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
7c7ab815
Commit
7c7ab815
authored
May 31, 2016
by
Brian Jacobel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add require_module_async to safe template linter js context trigger
parent
2e4ad45b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
scripts/safe_template_linter.py
+2
-2
No files found.
scripts/safe_template_linter.py
View file @
7c7ab815
...
...
@@ -2376,8 +2376,8 @@ class MakoTemplateLinter(BaseLinter):
r"""
<script.*?> | # script tag start
</script> | # script tag end
<
%
static:require_module
.*?> | # require js script tag start
</
%
static:require_module
> | # require js script tag end
<
%
static:require_module
(_async)?.*?> | # require js script tag start (optionally the _async version)
</
%
static:require_module
(_async)?> | # require js script tag end (optionally the _async version)
<
%
block[ ]*name=['"]requirejs['"]\w*> | # require js tag start
</
%
block> # require js tag end
"""
,
...
...
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