summaryrefslogtreecommitdiff
path: root/src/static/js/ace.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/static/js/ace.js')
-rw-r--r--src/static/js/ace.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/js/ace.js b/src/static/js/ace.js
index 4d720f59..dabe5595 100644
--- a/src/static/js/ace.js
+++ b/src/static/js/ace.js
@@ -182,7 +182,7 @@ require.setGlobalKeyPath("require");\n\
buffer.push('<style type="text/css">');
for (var i = 0, ii = embededFiles.length; i < ii; i++) {
var file = embededFiles[i];
- buffer.push(Ace2Editor.EMBEDED[file].replace(/<\//g, '<\\/'));
+ buffer.push((Ace2Editor.EMBEDED[file] || '').replace(/<\//g, '<\\/'));
}
buffer.push('<\/style>');
}