Alex Dima пре 6 година
родитељ
комит
78076d9bf8
5 измењених фајлова са 5 додато и 5 уклоњено
  1. 1 1
      LICENSE.md
  2. 1 1
      gulpfile.js
  3. 1 1
      website/index.html
  4. 1 1
      website/monarch.html
  5. 1 1
      website/playground.html

+ 1 - 1
LICENSE.md

@@ -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

+ 1 - 1
gulpfile.js

@@ -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) {

+ 1 - 1
website/index.html

@@ -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>
 
 

+ 1 - 1
website/monarch.html

@@ -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>
 
 

+ 1 - 1
website/playground.html

@@ -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>