Skip to content

Commit d34aae5

Browse files
committed
Adjusting deprecation warning
1 parent 8ff60d6 commit d34aae5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

amcharts3-react.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
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");
2+
13
(function () {
24
function getType(x) {
35
// TODO make this faster ?

index.js

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
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");
2-
31
if (typeof window !== "undefined") {
42
window.React = require("react");
53
window.ReactDOM = require("react-dom");

0 commit comments

Comments
 (0)