@samitouri / QOS-React-2 / commits / 6ceb47e8bf

`console.warn` when html-jsx-lib.js is loaded

Daniel Lo Nigro committed Sep 7, 2014 at 15:20 UTC 6ceb47e8bffae9e3832a837dee9fd9699b25239e
1 file changed +7 -1
docs/_js/html-jsx-lib.js
+7 -1
@@ -1 +1,7 @@
1 -// This file has moved to http://reactjs.github.io/react-magic/htmltojsx.min.js
1 +// Ideally it would be nice to just redirect, but Github Pages is very basic and
2 +// lacks that functionality.
3 +console.warn(
4 + 'html-jsx-lib.js has moved to http://reactjs.github.io/react-magic/' +
5 + 'htmltojsx.min.js. If using React-Magic, you are no longer required to ' +
6 + 'link to this file. Please delete its <script> tag.'
7 +);