mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 07:00:11 +01:00
Make it clear that samples-all is generated
This commit is contained in:
parent
af1a2ba847
commit
077be8bd68
4 changed files with 3 additions and 3 deletions
|
|
@ -270,7 +270,7 @@ gulp.task('generate-test-samples', function() {
|
|||
});
|
||||
var prefix = '//This is a generated file via gulp generate-test-samples\ndefine([], function() { return';
|
||||
var suffix = '; });'
|
||||
fs.writeFileSync(path.join(__dirname, 'test/samples-all.js'), prefix + JSON.stringify(samples, null, '\t') + suffix );
|
||||
fs.writeFileSync(path.join(__dirname, 'test/samples-all.generated.js'), prefix + JSON.stringify(samples, null, '\t') + suffix );
|
||||
|
||||
var PLAY_SAMPLES = require(path.join(WEBSITE_GENERATED_PATH, 'all.js')).PLAY_SAMPLES;
|
||||
var locations = [];
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/// <reference path="../node_modules/monaco-editor-core/monaco.d.ts" />
|
||||
|
||||
define(['./samples-all'], function(ALL_SAMPLES) {
|
||||
define(['./samples-all.generated'], function(ALL_SAMPLES) {
|
||||
|
||||
var XHR_SAMPLES = {};
|
||||
ALL_SAMPLES.forEach(function(sample) {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/// <reference path="../node_modules/monaco-editor-core/monaco.d.ts" />
|
||||
define(['./samples-all'], function(ALL_SAMPLES) {
|
||||
define(['./samples-all.generated'], function(ALL_SAMPLES) {
|
||||
|
||||
var XHR_SAMPLES = {};
|
||||
ALL_SAMPLES.forEach(function(sample) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue