Run website out of dev

pull/237/head
Alex Dima 9 years ago
parent 8a31f7f50e
commit 300fe6ab69

@ -348,7 +348,7 @@ gulp.task('website', ['clean-website', 'playground-samples'], function() {
}
var contents = data.contents.toString();
contents = contents.replace(/\.\.\/release\/min/g, 'node_modules/monaco-editor/min');
contents = contents.replace(/\.\.\/release\/dev/g, 'node_modules/monaco-editor/min');
// contents = contents.replace('© 2016 Microsoft', '© 2016 Microsoft [' + builtTime + ']');
data.contents = new Buffer(contents);

@ -140,11 +140,11 @@
<script src="./lib/bootstrap.min.js"></script>
<script src="./lib/bootstrap-select.min.js" type="text/javascript"></script>
<script type="text/javascript" src="../release/min/vs/loader.js"></script>
<script type="text/javascript" src="../release/dev/vs/loader.js"></script>
<script type="text/javascript">
require.config({
paths: {
vs: '../release/min/vs'
vs: '../release/dev/vs'
}
});
</script>

@ -1,4 +1,4 @@
@import url('//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,300,400,600,700');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,300,400,600,700');
/*!
* Bootstrap v2.3.0

@ -4295,11 +4295,11 @@ return {
<script src="./lib/jquery-1.9.1.min.js" type="text/javascript"></script>
<script src="./lib/bootstrap.min.js"></script>
<script type="text/javascript" src="../release/min/vs/loader.js"></script>
<script type="text/javascript" src="../release/dev/vs/loader.js"></script>
<script type="text/javascript">
require.config({
paths: {
vs: "../release/min/vs"
vs: "../release/dev/vs"
}
});
</script>

@ -65,11 +65,11 @@
<script src="./lib/jquery-1.9.1.min.js" type="text/javascript"></script>
<script src="./lib/bootstrap.min.js"></script>
<script type="text/javascript" src="../release/min/vs/loader.js"></script>
<script type="text/javascript" src="../release/dev/vs/loader.js"></script>
<script type="text/javascript">
require.config({
paths: {
vs: "../release/min/vs"
vs: "../release/dev/vs"
}
});
</script>

@ -9,7 +9,7 @@
.monaco-editor { overflow: hidden; }
</style>
<script type="text/javascript" src="../../release/min/vs/loader.js"></script>
<script type="text/javascript" src="../../release/dev/vs/loader.js"></script>
<script type="text/javascript">
var geval = eval;
@ -24,7 +24,7 @@
require.config({
paths: {
vs: "../../release/min/vs"
vs: "../../release/dev/vs"
}
});

Loading…
Cancel
Save