2018 -> 2019

This commit is contained in:
Alex Dima 2019-03-01 22:48:57 +01:00
parent 5c2439210d
commit 78076d9bf8
5 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2018 Microsoft Corporation Copyright (c) 2019 Microsoft Corporation
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View file

@ -547,7 +547,7 @@ gulp.task('build-website', ['clean-website'], function() {
var contents = data.contents.toString(); var contents = data.contents.toString();
contents = contents.replace(/\.\.\/release\/dev/g, 'node_modules/monaco-editor/min'); contents = contents.replace(/\.\.\/release\/dev/g, 'node_modules/monaco-editor/min');
contents = contents.replace(/{{version}}/g, MONACO_EDITOR_VERSION); contents = contents.replace(/{{version}}/g, MONACO_EDITOR_VERSION);
// contents = contents.replace('© 2017 Microsoft', '© 2017 Microsoft [' + builtTime + ']'); contents = contents.replace(/{{year}}/g, new Date().getFullYear());
// Preload xhr contents // Preload xhr contents
contents = replaceWithRelativeResource(data.path, contents, /<pre data-preload="([^"]+)".*/g, function(m0, fileContents) { contents = replaceWithRelativeResource(data.path, contents, /<pre data-preload="([^"]+)".*/g, function(m0, fileContents) {

View file

@ -154,7 +154,7 @@
<img src="https://opensource.microsoft.com/img/microsoft.png" alt="Microsoft" style="max-height:23px;margin-bottom:12px;"> <img src="https://opensource.microsoft.com/img/microsoft.png" alt="Microsoft" style="max-height:23px;margin-bottom:12px;">
</a> </a>
<br/> <br/>
<small>&copy; <script>document.write(new Date().getFullYear())</script> Microsoft</small> <small>&copy; {{year}} Microsoft</small>
</p> </p>
</footer> </footer>

View file

@ -4517,7 +4517,7 @@ return {
<footer class="container"> <footer class="container">
<hr> <hr>
<p class="text-center"> <p class="text-center">
<small>&copy; 2018 Microsoft</small> <small>&copy; {{year}} Microsoft</small>
</p> </p>
</footer> </footer>

View file

@ -67,7 +67,7 @@
<footer class="container"> <footer class="container">
<hr> <hr>
<p class="text-center"> <p class="text-center">
<small>&copy; 2018 Microsoft</small> <small>&copy; {{year}} Microsoft</small>
</p> </p>
</footer> </footer>