rpg-convers
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -71,3 +71,2 @@ const generateStyle = require("./tools/generateStyle.js") | ||
if(!this.mainContainer) this.applyStartingStyle() | ||
console.log(callback) | ||
this.open() | ||
@@ -98,8 +97,6 @@ const {name, message, isLeft, btnName,imageDirectory } = messages[startsInArrayOf] | ||
if(!messages[nextPageNum]){ | ||
console.log("proceed call back") | ||
console.log(callback) | ||
if(callback) callback() | ||
return this.close({name, message, isLeft }) | ||
} | ||
this.startConversation(messages, nextPageNum) | ||
this.startConversation(messages, nextPageNum, callback) | ||
} | ||
@@ -106,0 +103,0 @@ } |
{ | ||
"name": "rpg-convers", | ||
"version": "1.0.4", | ||
"description": "", | ||
"version": "1.0.5", | ||
"description": "An rpg conversation maker, To use first call new Conversation([{name: '', message: '', isLeft: bool}], howfast The speaker is in miliseconds, callback function ) ", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7494
149