react-dynamic-help
Advanced tools
Comparing version 2.1.3 to 2.1.4
@@ -90,4 +90,3 @@ "use strict"; | ||
// It doesn't matter if these are called: all APIs will be re-called after the API initialised, due to the resulting App re-render. | ||
// Some will certainly be called before intialisation, due to render sequence. | ||
// Others... it would be suprising. They are the "console.warn" ones. | ||
// Some will certainly be called before intialisation, due to render sequence, and depending what is on the initial page | ||
{ | ||
@@ -99,3 +98,3 @@ registerTargetItem: (id) => ({ | ||
used: () => { | ||
console.warn("Warning: a target signalled used before controller initialized", id); | ||
(0, DynamicHelp_1.log)(debug, "Warning: a target signalled used before controller initialized", id); | ||
}, | ||
@@ -110,3 +109,3 @@ }), | ||
signalUsed: (target) => { | ||
console.warn("Warning: signalUsed called before controller initialized", target); | ||
(0, DynamicHelp_1.log)(debug, "Warning: signalUsed called before controller initialized", target); | ||
}, | ||
@@ -113,0 +112,0 @@ getFlowInfo: () => { |
@@ -64,4 +64,3 @@ var __rest = (this && this.__rest) || function (s, e) { | ||
// It doesn't matter if these are called: all APIs will be re-called after the API initialised, due to the resulting App re-render. | ||
// Some will certainly be called before intialisation, due to render sequence. | ||
// Others... it would be suprising. They are the "console.warn" ones. | ||
// Some will certainly be called before intialisation, due to render sequence, and depending what is on the initial page | ||
{ | ||
@@ -73,3 +72,3 @@ registerTargetItem: (id) => ({ | ||
used: () => { | ||
console.warn("Warning: a target signalled used before controller initialized", id); | ||
log(debug, "Warning: a target signalled used before controller initialized", id); | ||
}, | ||
@@ -84,3 +83,3 @@ }), | ||
signalUsed: (target) => { | ||
console.warn("Warning: signalUsed called before controller initialized", target); | ||
log(debug, "Warning: signalUsed called before controller initialized", target); | ||
}, | ||
@@ -87,0 +86,0 @@ getFlowInfo: () => { |
{ | ||
"name": "react-dynamic-help", | ||
"description": "React Dynamic Help - Create flows of helpful popups in your React App", | ||
"version": "2.1.3", | ||
"version": "2.1.4", | ||
"repository": { | ||
@@ -19,4 +19,3 @@ "type": "git", | ||
"help", | ||
"tour", | ||
"guide", | ||
"tour", "guide", | ||
"popup", | ||
@@ -23,0 +22,0 @@ "onboarding", |
@@ -10,3 +10,3 @@ # react-dynamic-help | ||
V 2.1.3 - As integrated with [online-go.com](https://online-go.com). | ||
V 2.1.4 - As integrated with [online-go.com](https://online-go.com). | ||
@@ -13,0 +13,0 @@ Demo at https://github.com/GreenAsJade/react-dynamic-help-demo |
116714
2507