mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 07:00:11 +01:00
Move simpleserver script off of gulp
This commit is contained in:
parent
a06e20f8fe
commit
240b684846
34 changed files with 219 additions and 208 deletions
157
build/simpleserver.js
Normal file
157
build/simpleserver.js
Normal file
|
|
@ -0,0 +1,157 @@
|
||||||
|
/*---------------------------------------------------------------------------------------------
|
||||||
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||||
|
*--------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
//@ts-check
|
||||||
|
|
||||||
|
const fs = require('fs');
|
||||||
|
const path = require('path');
|
||||||
|
const http = require('http');
|
||||||
|
const yaserver = require('yaserver');
|
||||||
|
const { REPO_ROOT } = require('./utils');
|
||||||
|
|
||||||
|
const WEBSITE_GENERATED_PATH = path.join(REPO_ROOT, 'monaco-editor/website/playground/new-samples');
|
||||||
|
|
||||||
|
generateTestSamplesTask();
|
||||||
|
|
||||||
|
const SERVER_ROOT = path.normalize(path.join(REPO_ROOT, '../'));
|
||||||
|
createSimpleServer(SERVER_ROOT, 8080);
|
||||||
|
createSimpleServer(SERVER_ROOT, 8088);
|
||||||
|
|
||||||
|
function generateTestSamplesTask() {
|
||||||
|
const sampleNames = fs.readdirSync(path.join(REPO_ROOT, 'monaco-editor/test/samples'));
|
||||||
|
const samples = sampleNames.map((sampleName) => {
|
||||||
|
const samplePath = path.join(REPO_ROOT, 'monaco-editor/test/samples', sampleName);
|
||||||
|
const sampleContent = fs.readFileSync(samplePath).toString();
|
||||||
|
return {
|
||||||
|
name: sampleName,
|
||||||
|
content: sampleContent
|
||||||
|
};
|
||||||
|
});
|
||||||
|
const prefix =
|
||||||
|
'//This is a generated file via `npm run simpleserver`\ndefine([], function() { return';
|
||||||
|
const suffix = '; });';
|
||||||
|
fs.writeFileSync(
|
||||||
|
path.join(REPO_ROOT, 'monaco-editor/test/samples-all.generated.js'),
|
||||||
|
prefix + JSON.stringify(samples, null, '\t') + suffix
|
||||||
|
);
|
||||||
|
|
||||||
|
/** @type {{ chapter: string; name: string; id: string; path: string; }[]} */
|
||||||
|
const PLAY_SAMPLES = require(path.join(WEBSITE_GENERATED_PATH, 'all.js')).PLAY_SAMPLES;
|
||||||
|
/** @type {{ path: string; name: string; }[]} */
|
||||||
|
const locations = [];
|
||||||
|
for (let i = 0; i < PLAY_SAMPLES.length; i++) {
|
||||||
|
const sample = PLAY_SAMPLES[i];
|
||||||
|
const sampleId = sample.id;
|
||||||
|
const samplePath = path.join(WEBSITE_GENERATED_PATH, sample.path);
|
||||||
|
|
||||||
|
const html = fs.readFileSync(path.join(samplePath, 'sample.html'));
|
||||||
|
const js = fs.readFileSync(path.join(samplePath, 'sample.js'));
|
||||||
|
const css = fs.readFileSync(path.join(samplePath, 'sample.css'));
|
||||||
|
|
||||||
|
const result = [
|
||||||
|
'<!DOCTYPE html>',
|
||||||
|
'<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->',
|
||||||
|
'<html>',
|
||||||
|
'<head>',
|
||||||
|
' <base href="..">',
|
||||||
|
' <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />',
|
||||||
|
'</head>',
|
||||||
|
'<body>',
|
||||||
|
'<style>',
|
||||||
|
'/*----------------------------------------SAMPLE CSS START*/',
|
||||||
|
'',
|
||||||
|
css,
|
||||||
|
'',
|
||||||
|
'/*----------------------------------------SAMPLE CSS END*/',
|
||||||
|
'</style>',
|
||||||
|
'<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>',
|
||||||
|
'THIS IS A GENERATED FILE VIA `npm run simpleserver`',
|
||||||
|
'',
|
||||||
|
'<div id="bar" style="margin-bottom: 6px;"></div>',
|
||||||
|
'',
|
||||||
|
'<div style="clear:both"></div>',
|
||||||
|
'<div id="outer-container" style="width:800px;height:450px;border: 1px solid grey">',
|
||||||
|
'<!-- ----------------------------------------SAMPLE HTML START-->',
|
||||||
|
'',
|
||||||
|
html,
|
||||||
|
'',
|
||||||
|
'<!-- ----------------------------------------SAMPLE HTML END-->',
|
||||||
|
'</div>',
|
||||||
|
'<div style="clear:both"></div>',
|
||||||
|
'',
|
||||||
|
'<script src="../../metadata.js"></script>',
|
||||||
|
'<script src="dev-setup.js"></script>',
|
||||||
|
'<script>',
|
||||||
|
'loadEditor(function() {',
|
||||||
|
'/*----------------------------------------SAMPLE JS START*/',
|
||||||
|
'',
|
||||||
|
js,
|
||||||
|
'',
|
||||||
|
'/*----------------------------------------SAMPLE JS END*/',
|
||||||
|
'});',
|
||||||
|
'</script>',
|
||||||
|
'</body>',
|
||||||
|
'</html>'
|
||||||
|
];
|
||||||
|
fs.writeFileSync(
|
||||||
|
path.join(REPO_ROOT, 'monaco-editor/test/playground.generated/' + sampleId + '.html'),
|
||||||
|
result.join('\n')
|
||||||
|
);
|
||||||
|
locations.push({
|
||||||
|
path: sampleId + '.html',
|
||||||
|
name: sample.chapter + ' > ' + sample.name
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
const index = [
|
||||||
|
'<!DOCTYPE html>',
|
||||||
|
'<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->',
|
||||||
|
'<html>',
|
||||||
|
'<head>',
|
||||||
|
' <base href="..">',
|
||||||
|
'</head>',
|
||||||
|
'<body>',
|
||||||
|
'<a class="loading-opts" href="index.html">[<< BACK]</a><br/>',
|
||||||
|
'THIS IS A GENERATED FILE VIA `npm run simpleserver`<br/><br/>',
|
||||||
|
locations
|
||||||
|
.map(function (location) {
|
||||||
|
return (
|
||||||
|
'<a class="loading-opts" href="playground.generated/' +
|
||||||
|
location.path +
|
||||||
|
'">' +
|
||||||
|
location.name +
|
||||||
|
'</a>'
|
||||||
|
);
|
||||||
|
})
|
||||||
|
.join('<br/>\n'),
|
||||||
|
'<script src="../../metadata.js"></script>',
|
||||||
|
'<script src="dev-setup.js"></script>',
|
||||||
|
'</body>',
|
||||||
|
'</html>'
|
||||||
|
];
|
||||||
|
fs.writeFileSync(
|
||||||
|
path.join(REPO_ROOT, 'monaco-editor/test/playground.generated/index.html'),
|
||||||
|
index.join('\n')
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param {string} rootDir
|
||||||
|
* @param {number} port
|
||||||
|
*/
|
||||||
|
function createSimpleServer(rootDir, port) {
|
||||||
|
yaserver
|
||||||
|
.createServer({
|
||||||
|
rootDir: rootDir
|
||||||
|
})
|
||||||
|
.then((staticServer) => {
|
||||||
|
const server = http.createServer((request, response) => {
|
||||||
|
return staticServer.handle(request, response);
|
||||||
|
});
|
||||||
|
server.listen(port, '127.0.0.1', () => {
|
||||||
|
console.log(`Running at http://127.0.0.1:${port}`);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
145
gulpfile.js
145
gulpfile.js
|
|
@ -4,13 +4,10 @@ const path = require('path');
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const rimraf = require('rimraf');
|
const rimraf = require('rimraf');
|
||||||
const cp = require('child_process');
|
const cp = require('child_process');
|
||||||
const yaserver = require('yaserver');
|
|
||||||
const http = require('http');
|
|
||||||
const CleanCSS = require('clean-css');
|
const CleanCSS = require('clean-css');
|
||||||
const uncss = require('uncss');
|
const uncss = require('uncss');
|
||||||
const File = require('vinyl');
|
const File = require('vinyl');
|
||||||
|
|
||||||
const WEBSITE_GENERATED_PATH = path.join(__dirname, 'monaco-editor/website/playground/new-samples');
|
|
||||||
/** @type {string} */
|
/** @type {string} */
|
||||||
const MONACO_EDITOR_VERSION = (function () {
|
const MONACO_EDITOR_VERSION = (function () {
|
||||||
const packageJsonPath = path.join(__dirname, 'package.json');
|
const packageJsonPath = path.join(__dirname, 'package.json');
|
||||||
|
|
@ -254,145 +251,3 @@ gulp.task('prepare-website-branch', async function () {
|
||||||
});
|
});
|
||||||
console.log('RUN monaco-editor-website>git push origin gh-pages --force');
|
console.log('RUN monaco-editor-website>git push origin gh-pages --force');
|
||||||
});
|
});
|
||||||
|
|
||||||
const generateTestSamplesTask = function () {
|
|
||||||
var sampleNames = fs.readdirSync(path.join(__dirname, 'monaco-editor/test/samples'));
|
|
||||||
var samples = sampleNames.map(function (sampleName) {
|
|
||||||
var samplePath = path.join(__dirname, 'monaco-editor/test/samples', sampleName);
|
|
||||||
var sampleContent = fs.readFileSync(samplePath).toString();
|
|
||||||
return {
|
|
||||||
name: sampleName,
|
|
||||||
content: sampleContent
|
|
||||||
};
|
|
||||||
});
|
|
||||||
var prefix =
|
|
||||||
'//This is a generated file via gulp generate-test-samples\ndefine([], function() { return';
|
|
||||||
var suffix = '; });';
|
|
||||||
fs.writeFileSync(
|
|
||||||
path.join(__dirname, 'monaco-editor/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 = [];
|
|
||||||
for (var i = 0; i < PLAY_SAMPLES.length; i++) {
|
|
||||||
var sample = PLAY_SAMPLES[i];
|
|
||||||
var sampleId = sample.id;
|
|
||||||
var samplePath = path.join(WEBSITE_GENERATED_PATH, sample.path);
|
|
||||||
|
|
||||||
var html = fs.readFileSync(path.join(samplePath, 'sample.html'));
|
|
||||||
var js = fs.readFileSync(path.join(samplePath, 'sample.js'));
|
|
||||||
var css = fs.readFileSync(path.join(samplePath, 'sample.css'));
|
|
||||||
|
|
||||||
var result = [
|
|
||||||
'<!DOCTYPE html>',
|
|
||||||
'<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->',
|
|
||||||
'<html>',
|
|
||||||
'<head>',
|
|
||||||
' <base href="..">',
|
|
||||||
' <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />',
|
|
||||||
'</head>',
|
|
||||||
'<body>',
|
|
||||||
'<style>',
|
|
||||||
'/*----------------------------------------SAMPLE CSS START*/',
|
|
||||||
'',
|
|
||||||
css,
|
|
||||||
'',
|
|
||||||
'/*----------------------------------------SAMPLE CSS END*/',
|
|
||||||
'</style>',
|
|
||||||
'<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>',
|
|
||||||
'THIS IS A GENERATED FILE VIA gulp generate-test-samples',
|
|
||||||
'',
|
|
||||||
'<div id="bar" style="margin-bottom: 6px;"></div>',
|
|
||||||
'',
|
|
||||||
'<div style="clear:both"></div>',
|
|
||||||
'<div id="outer-container" style="width:800px;height:450px;border: 1px solid grey">',
|
|
||||||
'<!-- ----------------------------------------SAMPLE HTML START-->',
|
|
||||||
'',
|
|
||||||
html,
|
|
||||||
'',
|
|
||||||
'<!-- ----------------------------------------SAMPLE HTML END-->',
|
|
||||||
'</div>',
|
|
||||||
'<div style="clear:both"></div>',
|
|
||||||
'',
|
|
||||||
'<script src="../../metadata.js"></script>',
|
|
||||||
'<script src="dev-setup.js"></script>',
|
|
||||||
'<script>',
|
|
||||||
'loadEditor(function() {',
|
|
||||||
'/*----------------------------------------SAMPLE JS START*/',
|
|
||||||
'',
|
|
||||||
js,
|
|
||||||
'',
|
|
||||||
'/*----------------------------------------SAMPLE JS END*/',
|
|
||||||
'});',
|
|
||||||
'</script>',
|
|
||||||
'</body>',
|
|
||||||
'</html>'
|
|
||||||
];
|
|
||||||
fs.writeFileSync(
|
|
||||||
path.join(__dirname, 'monaco-editor/test/playground.generated/' + sampleId + '.html'),
|
|
||||||
result.join('\n')
|
|
||||||
);
|
|
||||||
locations.push({
|
|
||||||
path: sampleId + '.html',
|
|
||||||
name: sample.chapter + ' > ' + sample.name
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
var index = [
|
|
||||||
'<!DOCTYPE html>',
|
|
||||||
'<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->',
|
|
||||||
'<html>',
|
|
||||||
'<head>',
|
|
||||||
' <base href="..">',
|
|
||||||
'</head>',
|
|
||||||
'<body>',
|
|
||||||
'<a class="loading-opts" href="index.html">[<< BACK]</a><br/>',
|
|
||||||
'THIS IS A GENERATED FILE VIA gulp generate-test-samples<br/><br/>',
|
|
||||||
locations
|
|
||||||
.map(function (location) {
|
|
||||||
return (
|
|
||||||
'<a class="loading-opts" href="playground.generated/' +
|
|
||||||
location.path +
|
|
||||||
'">' +
|
|
||||||
location.name +
|
|
||||||
'</a>'
|
|
||||||
);
|
|
||||||
})
|
|
||||||
.join('<br/>\n'),
|
|
||||||
'<script src="../../metadata.js"></script>',
|
|
||||||
'<script src="dev-setup.js"></script>',
|
|
||||||
'</body>',
|
|
||||||
'</html>'
|
|
||||||
];
|
|
||||||
fs.writeFileSync(
|
|
||||||
path.join(__dirname, 'monaco-editor/test/playground.generated/index.html'),
|
|
||||||
index.join('\n')
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
function createSimpleServer(rootDir, port) {
|
|
||||||
yaserver
|
|
||||||
.createServer({
|
|
||||||
rootDir: rootDir
|
|
||||||
})
|
|
||||||
.then((staticServer) => {
|
|
||||||
const server = http.createServer((request, response) => {
|
|
||||||
return staticServer.handle(request, response);
|
|
||||||
});
|
|
||||||
server.listen(port, '127.0.0.1', () => {
|
|
||||||
console.log(`Running at http://127.0.0.1:${port}`);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
gulp.task('generate-test-samples', taskSeries(generateTestSamplesTask));
|
|
||||||
|
|
||||||
gulp.task(
|
|
||||||
'simpleserver',
|
|
||||||
taskSeries(generateTestSamplesTask, function () {
|
|
||||||
const SERVER_ROOT = path.normalize(path.join(__dirname, '../'));
|
|
||||||
createSimpleServer(SERVER_ROOT, 8080);
|
|
||||||
createSimpleServer(SERVER_ROOT, 8088);
|
|
||||||
})
|
|
||||||
);
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->
|
<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<base href="..">
|
<base href="..">
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
/*----------------------------------------SAMPLE CSS END*/
|
/*----------------------------------------SAMPLE CSS END*/
|
||||||
</style>
|
</style>
|
||||||
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
||||||
THIS IS A GENERATED FILE VIA gulp generate-test-samples
|
THIS IS A GENERATED FILE VIA `npm run simpleserver`
|
||||||
|
|
||||||
<div id="bar" style="margin-bottom: 6px;"></div>
|
<div id="bar" style="margin-bottom: 6px;"></div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->
|
<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<base href="..">
|
<base href="..">
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
/*----------------------------------------SAMPLE CSS END*/
|
/*----------------------------------------SAMPLE CSS END*/
|
||||||
</style>
|
</style>
|
||||||
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
||||||
THIS IS A GENERATED FILE VIA gulp generate-test-samples
|
THIS IS A GENERATED FILE VIA `npm run simpleserver`
|
||||||
|
|
||||||
<div id="bar" style="margin-bottom: 6px;"></div>
|
<div id="bar" style="margin-bottom: 6px;"></div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->
|
<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<base href="..">
|
<base href="..">
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
/*----------------------------------------SAMPLE CSS END*/
|
/*----------------------------------------SAMPLE CSS END*/
|
||||||
</style>
|
</style>
|
||||||
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
||||||
THIS IS A GENERATED FILE VIA gulp generate-test-samples
|
THIS IS A GENERATED FILE VIA `npm run simpleserver`
|
||||||
|
|
||||||
<div id="bar" style="margin-bottom: 6px;"></div>
|
<div id="bar" style="margin-bottom: 6px;"></div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->
|
<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<base href="..">
|
<base href="..">
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
/*----------------------------------------SAMPLE CSS END*/
|
/*----------------------------------------SAMPLE CSS END*/
|
||||||
</style>
|
</style>
|
||||||
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
||||||
THIS IS A GENERATED FILE VIA gulp generate-test-samples
|
THIS IS A GENERATED FILE VIA `npm run simpleserver`
|
||||||
|
|
||||||
<div id="bar" style="margin-bottom: 6px;"></div>
|
<div id="bar" style="margin-bottom: 6px;"></div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->
|
<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<base href="..">
|
<base href="..">
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
/*----------------------------------------SAMPLE CSS END*/
|
/*----------------------------------------SAMPLE CSS END*/
|
||||||
</style>
|
</style>
|
||||||
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
||||||
THIS IS A GENERATED FILE VIA gulp generate-test-samples
|
THIS IS A GENERATED FILE VIA `npm run simpleserver`
|
||||||
|
|
||||||
<div id="bar" style="margin-bottom: 6px;"></div>
|
<div id="bar" style="margin-bottom: 6px;"></div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->
|
<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<base href="..">
|
<base href="..">
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
/*----------------------------------------SAMPLE CSS END*/
|
/*----------------------------------------SAMPLE CSS END*/
|
||||||
</style>
|
</style>
|
||||||
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
||||||
THIS IS A GENERATED FILE VIA gulp generate-test-samples
|
THIS IS A GENERATED FILE VIA `npm run simpleserver`
|
||||||
|
|
||||||
<div id="bar" style="margin-bottom: 6px;"></div>
|
<div id="bar" style="margin-bottom: 6px;"></div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->
|
<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<base href="..">
|
<base href="..">
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
/*----------------------------------------SAMPLE CSS END*/
|
/*----------------------------------------SAMPLE CSS END*/
|
||||||
</style>
|
</style>
|
||||||
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
||||||
THIS IS A GENERATED FILE VIA gulp generate-test-samples
|
THIS IS A GENERATED FILE VIA `npm run simpleserver`
|
||||||
|
|
||||||
<div id="bar" style="margin-bottom: 6px;"></div>
|
<div id="bar" style="margin-bottom: 6px;"></div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->
|
<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<base href="..">
|
<base href="..">
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
/*----------------------------------------SAMPLE CSS END*/
|
/*----------------------------------------SAMPLE CSS END*/
|
||||||
</style>
|
</style>
|
||||||
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
||||||
THIS IS A GENERATED FILE VIA gulp generate-test-samples
|
THIS IS A GENERATED FILE VIA `npm run simpleserver`
|
||||||
|
|
||||||
<div id="bar" style="margin-bottom: 6px;"></div>
|
<div id="bar" style="margin-bottom: 6px;"></div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->
|
<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<base href="..">
|
<base href="..">
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
/*----------------------------------------SAMPLE CSS END*/
|
/*----------------------------------------SAMPLE CSS END*/
|
||||||
</style>
|
</style>
|
||||||
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
||||||
THIS IS A GENERATED FILE VIA gulp generate-test-samples
|
THIS IS A GENERATED FILE VIA `npm run simpleserver`
|
||||||
|
|
||||||
<div id="bar" style="margin-bottom: 6px;"></div>
|
<div id="bar" style="margin-bottom: 6px;"></div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->
|
<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<base href="..">
|
<base href="..">
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
/*----------------------------------------SAMPLE CSS END*/
|
/*----------------------------------------SAMPLE CSS END*/
|
||||||
</style>
|
</style>
|
||||||
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
||||||
THIS IS A GENERATED FILE VIA gulp generate-test-samples
|
THIS IS A GENERATED FILE VIA `npm run simpleserver`
|
||||||
|
|
||||||
<div id="bar" style="margin-bottom: 6px;"></div>
|
<div id="bar" style="margin-bottom: 6px;"></div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->
|
<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<base href="..">
|
<base href="..">
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
/*----------------------------------------SAMPLE CSS END*/
|
/*----------------------------------------SAMPLE CSS END*/
|
||||||
</style>
|
</style>
|
||||||
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
||||||
THIS IS A GENERATED FILE VIA gulp generate-test-samples
|
THIS IS A GENERATED FILE VIA `npm run simpleserver`
|
||||||
|
|
||||||
<div id="bar" style="margin-bottom: 6px;"></div>
|
<div id="bar" style="margin-bottom: 6px;"></div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->
|
<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<base href="..">
|
<base href="..">
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
/*----------------------------------------SAMPLE CSS END*/
|
/*----------------------------------------SAMPLE CSS END*/
|
||||||
</style>
|
</style>
|
||||||
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
||||||
THIS IS A GENERATED FILE VIA gulp generate-test-samples
|
THIS IS A GENERATED FILE VIA `npm run simpleserver`
|
||||||
|
|
||||||
<div id="bar" style="margin-bottom: 6px;"></div>
|
<div id="bar" style="margin-bottom: 6px;"></div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->
|
<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<base href="..">
|
<base href="..">
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
/*----------------------------------------SAMPLE CSS END*/
|
/*----------------------------------------SAMPLE CSS END*/
|
||||||
</style>
|
</style>
|
||||||
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
||||||
THIS IS A GENERATED FILE VIA gulp generate-test-samples
|
THIS IS A GENERATED FILE VIA `npm run simpleserver`
|
||||||
|
|
||||||
<div id="bar" style="margin-bottom: 6px;"></div>
|
<div id="bar" style="margin-bottom: 6px;"></div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->
|
<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<base href="..">
|
<base href="..">
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
/*----------------------------------------SAMPLE CSS END*/
|
/*----------------------------------------SAMPLE CSS END*/
|
||||||
</style>
|
</style>
|
||||||
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
||||||
THIS IS A GENERATED FILE VIA gulp generate-test-samples
|
THIS IS A GENERATED FILE VIA `npm run simpleserver`
|
||||||
|
|
||||||
<div id="bar" style="margin-bottom: 6px;"></div>
|
<div id="bar" style="margin-bottom: 6px;"></div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->
|
<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<base href="..">
|
<base href="..">
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
/*----------------------------------------SAMPLE CSS END*/
|
/*----------------------------------------SAMPLE CSS END*/
|
||||||
</style>
|
</style>
|
||||||
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
||||||
THIS IS A GENERATED FILE VIA gulp generate-test-samples
|
THIS IS A GENERATED FILE VIA `npm run simpleserver`
|
||||||
|
|
||||||
<div id="bar" style="margin-bottom: 6px;"></div>
|
<div id="bar" style="margin-bottom: 6px;"></div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->
|
<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<base href="..">
|
<base href="..">
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
/*----------------------------------------SAMPLE CSS END*/
|
/*----------------------------------------SAMPLE CSS END*/
|
||||||
</style>
|
</style>
|
||||||
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
||||||
THIS IS A GENERATED FILE VIA gulp generate-test-samples
|
THIS IS A GENERATED FILE VIA `npm run simpleserver`
|
||||||
|
|
||||||
<div id="bar" style="margin-bottom: 6px;"></div>
|
<div id="bar" style="margin-bottom: 6px;"></div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->
|
<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<base href="..">
|
<base href="..">
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
/*----------------------------------------SAMPLE CSS END*/
|
/*----------------------------------------SAMPLE CSS END*/
|
||||||
</style>
|
</style>
|
||||||
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
||||||
THIS IS A GENERATED FILE VIA gulp generate-test-samples
|
THIS IS A GENERATED FILE VIA `npm run simpleserver`
|
||||||
|
|
||||||
<div id="bar" style="margin-bottom: 6px;"></div>
|
<div id="bar" style="margin-bottom: 6px;"></div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->
|
<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<base href="..">
|
<base href="..">
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
/*----------------------------------------SAMPLE CSS END*/
|
/*----------------------------------------SAMPLE CSS END*/
|
||||||
</style>
|
</style>
|
||||||
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
||||||
THIS IS A GENERATED FILE VIA gulp generate-test-samples
|
THIS IS A GENERATED FILE VIA `npm run simpleserver`
|
||||||
|
|
||||||
<div id="bar" style="margin-bottom: 6px;"></div>
|
<div id="bar" style="margin-bottom: 6px;"></div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->
|
<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<base href="..">
|
<base href="..">
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
/*----------------------------------------SAMPLE CSS END*/
|
/*----------------------------------------SAMPLE CSS END*/
|
||||||
</style>
|
</style>
|
||||||
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
||||||
THIS IS A GENERATED FILE VIA gulp generate-test-samples
|
THIS IS A GENERATED FILE VIA `npm run simpleserver`
|
||||||
|
|
||||||
<div id="bar" style="margin-bottom: 6px;"></div>
|
<div id="bar" style="margin-bottom: 6px;"></div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->
|
<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<base href="..">
|
<base href="..">
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
/*----------------------------------------SAMPLE CSS END*/
|
/*----------------------------------------SAMPLE CSS END*/
|
||||||
</style>
|
</style>
|
||||||
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
||||||
THIS IS A GENERATED FILE VIA gulp generate-test-samples
|
THIS IS A GENERATED FILE VIA `npm run simpleserver`
|
||||||
|
|
||||||
<div id="bar" style="margin-bottom: 6px;"></div>
|
<div id="bar" style="margin-bottom: 6px;"></div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->
|
<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<base href="..">
|
<base href="..">
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
/*----------------------------------------SAMPLE CSS END*/
|
/*----------------------------------------SAMPLE CSS END*/
|
||||||
</style>
|
</style>
|
||||||
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
||||||
THIS IS A GENERATED FILE VIA gulp generate-test-samples
|
THIS IS A GENERATED FILE VIA `npm run simpleserver`
|
||||||
|
|
||||||
<div id="bar" style="margin-bottom: 6px;"></div>
|
<div id="bar" style="margin-bottom: 6px;"></div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->
|
<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<base href="..">
|
<base href="..">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<a class="loading-opts" href="index.html">[<< BACK]</a><br/>
|
<a class="loading-opts" href="index.html">[<< BACK]</a><br/>
|
||||||
THIS IS A GENERATED FILE VIA gulp generate-test-samples<br/><br/>
|
THIS IS A GENERATED FILE VIA `npm run simpleserver`<br/><br/>
|
||||||
<a class="loading-opts" href="playground.generated/creating-the-editor-hello-world.html">Creating the editor > Hello world!</a><br/>
|
<a class="loading-opts" href="playground.generated/creating-the-editor-hello-world.html">Creating the editor > Hello world!</a><br/>
|
||||||
<a class="loading-opts" href="playground.generated/creating-the-editor-editor-basic-options.html">Creating the editor > Editor basic options</a><br/>
|
<a class="loading-opts" href="playground.generated/creating-the-editor-editor-basic-options.html">Creating the editor > Editor basic options</a><br/>
|
||||||
<a class="loading-opts" href="playground.generated/creating-the-editor-hard-wrapping.html">Creating the editor > Hard wrapping</a><br/>
|
<a class="loading-opts" href="playground.generated/creating-the-editor-hard-wrapping.html">Creating the editor > Hard wrapping</a><br/>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->
|
<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<base href="..">
|
<base href="..">
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
/*----------------------------------------SAMPLE CSS END*/
|
/*----------------------------------------SAMPLE CSS END*/
|
||||||
</style>
|
</style>
|
||||||
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
||||||
THIS IS A GENERATED FILE VIA gulp generate-test-samples
|
THIS IS A GENERATED FILE VIA `npm run simpleserver`
|
||||||
|
|
||||||
<div id="bar" style="margin-bottom: 6px;"></div>
|
<div id="bar" style="margin-bottom: 6px;"></div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->
|
<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<base href="..">
|
<base href="..">
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
/*----------------------------------------SAMPLE CSS END*/
|
/*----------------------------------------SAMPLE CSS END*/
|
||||||
</style>
|
</style>
|
||||||
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
||||||
THIS IS A GENERATED FILE VIA gulp generate-test-samples
|
THIS IS A GENERATED FILE VIA `npm run simpleserver`
|
||||||
|
|
||||||
<div id="bar" style="margin-bottom: 6px;"></div>
|
<div id="bar" style="margin-bottom: 6px;"></div>
|
||||||
|
|
||||||
|
|
@ -85,7 +85,6 @@ editor.addAction({
|
||||||
// @param editor The editor instance is passed in as a convenience
|
// @param editor The editor instance is passed in as a convenience
|
||||||
run: function (ed) {
|
run: function (ed) {
|
||||||
alert("i'm running => " + ed.getPosition());
|
alert("i'm running => " + ed.getPosition());
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->
|
<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<base href="..">
|
<base href="..">
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
/*----------------------------------------SAMPLE CSS END*/
|
/*----------------------------------------SAMPLE CSS END*/
|
||||||
</style>
|
</style>
|
||||||
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
||||||
THIS IS A GENERATED FILE VIA gulp generate-test-samples
|
THIS IS A GENERATED FILE VIA `npm run simpleserver`
|
||||||
|
|
||||||
<div id="bar" style="margin-bottom: 6px;"></div>
|
<div id="bar" style="margin-bottom: 6px;"></div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->
|
<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<base href="..">
|
<base href="..">
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
/*----------------------------------------SAMPLE CSS END*/
|
/*----------------------------------------SAMPLE CSS END*/
|
||||||
</style>
|
</style>
|
||||||
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
||||||
THIS IS A GENERATED FILE VIA gulp generate-test-samples
|
THIS IS A GENERATED FILE VIA `npm run simpleserver`
|
||||||
|
|
||||||
<div id="bar" style="margin-bottom: 6px;"></div>
|
<div id="bar" style="margin-bottom: 6px;"></div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->
|
<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<base href="..">
|
<base href="..">
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
/*----------------------------------------SAMPLE CSS END*/
|
/*----------------------------------------SAMPLE CSS END*/
|
||||||
</style>
|
</style>
|
||||||
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
||||||
THIS IS A GENERATED FILE VIA gulp generate-test-samples
|
THIS IS A GENERATED FILE VIA `npm run simpleserver`
|
||||||
|
|
||||||
<div id="bar" style="margin-bottom: 6px;"></div>
|
<div id="bar" style="margin-bottom: 6px;"></div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->
|
<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<base href="..">
|
<base href="..">
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
/*----------------------------------------SAMPLE CSS END*/
|
/*----------------------------------------SAMPLE CSS END*/
|
||||||
</style>
|
</style>
|
||||||
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
||||||
THIS IS A GENERATED FILE VIA gulp generate-test-samples
|
THIS IS A GENERATED FILE VIA `npm run simpleserver`
|
||||||
|
|
||||||
<div id="bar" style="margin-bottom: 6px;"></div>
|
<div id="bar" style="margin-bottom: 6px;"></div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->
|
<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<base href="..">
|
<base href="..">
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
/*----------------------------------------SAMPLE CSS END*/
|
/*----------------------------------------SAMPLE CSS END*/
|
||||||
</style>
|
</style>
|
||||||
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
||||||
THIS IS A GENERATED FILE VIA gulp generate-test-samples
|
THIS IS A GENERATED FILE VIA `npm run simpleserver`
|
||||||
|
|
||||||
<div id="bar" style="margin-bottom: 6px;"></div>
|
<div id="bar" style="margin-bottom: 6px;"></div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->
|
<!-- THIS IS A GENERATED FILE VIA `npm run simpleserver` -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<base href="..">
|
<base href="..">
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
/*----------------------------------------SAMPLE CSS END*/
|
/*----------------------------------------SAMPLE CSS END*/
|
||||||
</style>
|
</style>
|
||||||
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>
|
||||||
THIS IS A GENERATED FILE VIA gulp generate-test-samples
|
THIS IS A GENERATED FILE VIA `npm run simpleserver`
|
||||||
|
|
||||||
<div id="bar" style="margin-bottom: 6px;"></div>
|
<div id="bar" style="margin-bottom: 6px;"></div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
//This is a generated file via gulp generate-test-samples
|
//This is a generated file via `npm run simpleserver`
|
||||||
define([], function() { return[
|
define([], function() { return[
|
||||||
{
|
{
|
||||||
"name": "run-editor-failing-js.txt",
|
"name": "run-editor-failing-js.txt",
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
"prettier": "prettier --write .",
|
"prettier": "prettier --write .",
|
||||||
"pretty-quick": "pretty-quick --staged",
|
"pretty-quick": "pretty-quick --staged",
|
||||||
"release": "node ./build/build.js && node ./build/release.js && node ./build/importEditorWebpackPlugin.js",
|
"release": "node ./build/build.js && node ./build/release.js && node ./build/importEditorWebpackPlugin.js",
|
||||||
"simpleserver": "gulp simpleserver",
|
"simpleserver": "node ./build/simpleserver",
|
||||||
"smoketest-debug": "node ./test/smoke/runner.js --debug-tests",
|
"smoketest-debug": "node ./test/smoke/runner.js --debug-tests",
|
||||||
"smoketest": "node ./test/smoke/runner.js",
|
"smoketest": "node ./test/smoke/runner.js",
|
||||||
"test": "node ./test/unit/all.js",
|
"test": "node ./test/unit/all.js",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue