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

This commit is contained in:
Daniel Lo Nigro
2014-09-07 15:20:42 -07:00
parent 4bfdaa7929
commit 1d0fc1188b

View File

@@ -1 +1,7 @@
// This file has moved to http://reactjs.github.io/react-magic/htmltojsx.min.js
// Ideally it would be nice to just redirect, but Github Pages is very basic and
// lacks that functionality.
console.warn(
'html-jsx-lib.js has moved to http://reactjs.github.io/react-magic/' +
'htmltojsx.min.js. If using React-Magic, you are no longer required to ' +
'link to this file. Please delete its <script> tag.'
);