mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 08:10:11 +01:00
0.8.3. prep
This commit is contained in:
parent
cd24ba4660
commit
3d272380ab
5 changed files with 8 additions and 4 deletions
|
|
@ -28,7 +28,7 @@ define(['./samples-all.generated'], function(ALL_SAMPLES) {
|
|||
name: name,
|
||||
mimeType: mimeType,
|
||||
loadText: function() {
|
||||
return monaco.Promise.as(XHR_SAMPLES[modelUrl]);
|
||||
return monaco.Promise.as(XHR_SAMPLES[modelUrl]).then(textModifier);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
@ -66,6 +66,7 @@ define(['./samples-all.generated'], function(ALL_SAMPLES) {
|
|||
addXHRSample('Z___jquery-min.js', 'run-editor-jquery-min-js.txt', 'text/javascript');
|
||||
|
||||
addXHRSample('Z___scrolling-strategy.js', 'run-editor-sample-js.txt', 'text/plain', function(text) {
|
||||
console.log('here I am');
|
||||
var lines = text.split('\n');
|
||||
var newLines = lines.slice(0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue