inhabit-module-base
Advanced tools
Comparing version 1.3.10 to 1.3.11
@@ -7,5 +7,2 @@ "use strict"; | ||
function InhabitModuleEvents() { | ||
this.interfaceMethod = function interfaceMethod() { | ||
console.log("this is interface method would be implemented later through the core"); | ||
}; | ||
/** | ||
@@ -32,3 +29,3 @@ * Configuration that will be passed to the analytics | ||
*/ | ||
ready: undefined.interfaceMethod, | ||
ready: interfaceMethod, | ||
/** | ||
@@ -38,18 +35,21 @@ * In case of any error happens inside interactive, fire this event, this will trigger sequence that will hide current | ||
*/ | ||
error: undefined.interfaceMethod, | ||
error: interfaceMethod, | ||
/** | ||
* Fire this event when user started his interaction with you module. This event should be triggered once per lifetime | ||
*/ | ||
interactionStart: undefined.interfaceMethod, | ||
interactionStart: interfaceMethod, | ||
/** | ||
* Trigger this event when user starts new sequence in your module. | ||
*/ | ||
cycleStart: undefined.interfaceMethod, | ||
cycleStart: interfaceMethod, | ||
/** | ||
* Trigger this event when users completes cycle and about to start new one | ||
*/ | ||
cycleEnd: undefined.interfaceMethod | ||
cycleEnd: interfaceMethod | ||
}; | ||
function interfaceMethod() { | ||
console.log("this is interface method would be implemented later through the core"); | ||
} | ||
module.exports = InhabitModuleEvents; |
{ | ||
"name": "inhabit-module-base", | ||
"version": "1.3.10", | ||
"version": "1.3.11", | ||
"description": "A Base Module class for InHabit.", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -6,5 +6,2 @@ "use strict"; | ||
function InhabitModuleEvents() { | ||
this.interfaceMethod = function interfaceMethod() { | ||
console.log("this is interface method would be implemented later through the core"); | ||
}; | ||
/** | ||
@@ -32,3 +29,3 @@ * Configuration that will be passed to the analytics | ||
*/ | ||
ready: this.interfaceMethod, | ||
ready: interfaceMethod, | ||
/** | ||
@@ -38,19 +35,22 @@ * In case of any error happens inside interactive, fire this event, this will trigger sequence that will hide current | ||
*/ | ||
error: this.interfaceMethod, | ||
error: interfaceMethod, | ||
/** | ||
* Fire this event when user started his interaction with you module. This event should be triggered once per lifetime | ||
*/ | ||
interactionStart: this.interfaceMethod, | ||
interactionStart: interfaceMethod, | ||
/** | ||
* Trigger this event when user starts new sequence in your module. | ||
*/ | ||
cycleStart: this.interfaceMethod, | ||
cycleStart: interfaceMethod, | ||
/** | ||
* Trigger this event when users completes cycle and about to start new one | ||
*/ | ||
cycleEnd: this.interfaceMethod | ||
cycleEnd: interfaceMethod | ||
}; | ||
function interfaceMethod() { | ||
console.log("this is interface method would be implemented later through the core"); | ||
} | ||
module.exports = InhabitModuleEvents; |
Sorry, the diff of this file is not supported yet
43685