Browse Source

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

main
Daniel Lo Nigro 10 years ago
parent
commit
1d0fc1188b
  1. 8
      _js/html-jsx-lib.js

8
_js/html-jsx-lib.js

@ -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.'
);

Loading…
Cancel
Save