poorejc commented on pull request #234: URL: https://github.com/apache/incubator-flagon-useralejs/pull/234#issuecomment-1078622365
Have been doing some testing... confirm that below is broken for .options API in .js context (checked using webpackexample): ``` userale.options({ autostart:false }); ``` however below works for .html context: ``` <script src="../build/userale-2.2.0.min.js" data-autostart="false" ></script> ``` This is a bug! for .js context (e.g., usage with NPM module) intended workflow should be: ``` import * as userale from 'flagon-userale'; userale.options({ 'autostart': false )} userale.start(); ``` that being said, we've debated whether this should be intended workflow or whether 'autostart' should default to 'false'. also, I can't get .stop() to work in either module or script-tag. 'userale.stop()' should halt the logging process. Not sure how unit tests are passing--they look right. Really good ticket. I'll test out this branch now and see if new merge ops work. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@flagon.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org