Skip to content

Commit

Permalink
Adding in deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Pauan committed Apr 1, 2017
1 parent bd27106 commit df48ccc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
@@ -1,3 +1,5 @@
console.warn("Version 1.0 is outdated. Please upgrade to version 2.0:\nhttps://github.com/amcharts/amcharts3-react/blob/master/documentation/Migrating%20to%202.0.md#migrating-to-amcharts-react-plugin-20");

if (typeof window !== "undefined") {
window.React = require("react");
window.ReactDOM = require("react-dom");
Expand Down

0 comments on commit df48ccc

Please sign in to comment.