vendor/documentation/javascript/dev/campaign.js.html in retreaverjs-rails-0.2.22 vs vendor/documentation/javascript/dev/campaign.js.html in retreaverjs-rails-0.2.23
- old
+ new
@@ -72,11 +72,11 @@
self.primary_key('campaign_key');
self.numbers = [];
self.handle_true_call_integration = function(number) {
const trueCallConfig = number.get("integrations")["truecall.com"];
-
+ // debugger
if (typeof(trueCallConfig) == 'undefined') {
return;
}
// Load the trueCall script into the page it it's missing
@@ -149,13 +149,15 @@
self.set('number_matching_tags', tags);
// request the number
new RequestNumber(self.get('campaign_key', 'number_matching_tags')).perform(function(data) {
// did retreaver return a valid number?
if (typeof(data) !== 'undefined' && typeof(data.number) !== 'undefined' && data.number !== '') {
- // initialize number
var number = new Retreaver.Number(data.number);
-
+ number.add_tags({"gosho": "123"}, function(data){
+ console.log("tagged");
+ })
+ // initialize number
try {
self.handle_true_call_integration(number);
} catch (e) {
console.error("Could not integrate with truecall.com, ", e);
}
@@ -257,10 +259,10 @@
</nav>
<br clear="both">
<footer>
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Tue Jul 23 2024 10:47:40 GMT+0300 (EEST)
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Mon Jun 17 2024 14:31:15 GMT+0300 (EEST)
</footer>
<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>