This is an automated email from the ASF dual-hosted git repository.

poorejc pushed a commit to branch FLAGON-469
in repository https://gitbox.apache.org/repos/asf/incubator-flagon-useralejs.git

commit b792ddada98ed69a86ac63c9a700a17bb5d2b33a
Author: poorejc <[email protected]>
AuthorDate: Mon Dec 9 23:40:27 2019 -0500

    [FLAGON-468] added tuning  packageLog example
---
 example/aleAPI.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/example/aleAPI.js b/example/aleAPI.js
index e28da8b..e11673d 100644
--- a/example/aleAPI.js
+++ b/example/aleAPI.js
@@ -25,7 +25,7 @@ window.userale.options({
 
 /**Try out the 'Filter' API to eliminate the logs that you don't want!*/
 window.userale.filter(function (log) {
-    var type_array = ['mouseup', 'mouseover', 'mousedown', 'keydown', 
'dblclick', 'blur', 'focus', 'input'];
+    var type_array = ['mouseup', 'mouseover', 'mousedown', 'keydown', 
'dblclick', 'blur', 'focus'];
     var logType_array = ['interval'];
     return !type_array.includes(log.type) && 
!logType_array.includes(log.logType);
 });
@@ -66,6 +66,7 @@ document.addEventListener('change', function(e) {
             sessionID: window.userale.options().sessionID,
             customLabel: "(custom) log Example!"
         });
+        window.alert()
     }
 });
 
@@ -82,7 +83,7 @@ document.addEventListener('change', function(e){
             }
         });
       //  todo figure out passing details output to packagelog 
window.userale.details(window.userale.options());
-        window.userale.packageLog(e, events['change']);
+        window.userale.packageLog(e, function(){return 'add additional details 
here!'});
     } else {
         return false
     }

Reply via email to