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
4c39132f
Commit
4c39132f
authored
Jun 12, 2015
by
cahrens
Committed by
Andy Armstrong
Jun 15, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct issue for RequireJS optimizer.
parent
41208c92
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
4 deletions
+1
-4
common/static/js/vendor/requirejs/text.js
+1
-4
No files found.
common/static/js/vendor/requirejs/text.js
View file @
4c39132f
...
...
@@ -8,9 +8,6 @@
define, window, process, Packages,
java, location, Components, FileUtils */
// Added by edX: we namespace requirejs and its associated functions.
var
namespaced_define
=
define
!==
undefined
?
define
:
RequireJS
.
define
;
var
requirejs_text_function
=
function
(
module
)
{
'use strict'
;
...
...
@@ -210,7 +207,7 @@ var requirejs_text_function = function (module) {
if
(
buildMap
.
hasOwnProperty
(
moduleName
))
{
var
content
=
text
.
jsEscape
(
buildMap
[
moduleName
]);
write
.
asModule
(
pluginName
+
"!"
+
moduleName
,
"
namespaced_
define(function () { return '"
+
"define(function () { return '"
+
content
+
"';});
\
n"
);
}
...
...
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