If the file was not found this should be nothing.
This commit is contained in:
parent
3312387b08
commit
3b5ea88bf5
|
@ -182,7 +182,7 @@ require.setGlobalKeyPath("require");\n\
|
||||||
buffer.push('<style type="text/css">');
|
buffer.push('<style type="text/css">');
|
||||||
for (var i = 0, ii = embededFiles.length; i < ii; i++) {
|
for (var i = 0, ii = embededFiles.length; i < ii; i++) {
|
||||||
var file = embededFiles[i];
|
var file = embededFiles[i];
|
||||||
buffer.push(Ace2Editor.EMBEDED[file].replace(/<\//g, '<\\/'));
|
buffer.push((Ace2Editor.EMBEDED[file] || '').replace(/<\//g, '<\\/'));
|
||||||
}
|
}
|
||||||
buffer.push('<\/style>');
|
buffer.push('<\/style>');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue