diff options
author | sotech117 <michael_foiani@brown.edu> | 2024-01-19 13:19:41 -0500 |
---|---|---|
committer | sotech117 <michael_foiani@brown.edu> | 2024-01-19 13:19:41 -0500 |
commit | dcc1dc784dc86c5007f302a607f84289c02020ad (patch) | |
tree | 5aaa10579a69e0b5a236bbe152de64bc4f371510 | |
parent | 11047bb715c3dedf3062091236b61677a751f2bc (diff) |
fix bug with handlers
-rw-r--r-- | .idea/.gitignore | 5 | ||||
-rw-r--r-- | .idea/ABtesting.iml | 12 | ||||
-rw-r--r-- | .idea/modules.xml | 8 | ||||
-rw-r--r-- | .idea/vcs.xml | 6 | ||||
-rw-r--r-- | record.js | 3 |
5 files changed, 33 insertions, 1 deletions
diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..b58b603 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,5 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/.idea/ABtesting.iml b/.idea/ABtesting.iml new file mode 100644 index 0000000..0c8867d --- /dev/null +++ b/.idea/ABtesting.iml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<module type="WEB_MODULE" version="4"> + <component name="NewModuleRootManager"> + <content url="file://$MODULE_DIR$"> + <excludeFolder url="file://$MODULE_DIR$/temp" /> + <excludeFolder url="file://$MODULE_DIR$/.tmp" /> + <excludeFolder url="file://$MODULE_DIR$/tmp" /> + </content> + <orderEntry type="inheritedJdk" /> + <orderEntry type="sourceFolder" forTests="false" /> + </component> +</module>
\ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..f648f9e --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="ProjectModuleManager"> + <modules> + <module fileurl="file://$PROJECT_DIR$/.idea/ABtesting.iml" filepath="$PROJECT_DIR$/.idea/ABtesting.iml" /> + </modules> + </component> +</project>
\ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="VcsDirectoryMappings"> + <mapping directory="" vcs="Git" /> + </component> +</project>
\ No newline at end of file @@ -83,10 +83,11 @@ const fail = event => { did_misclick = true; } +// section for adding/removing handlers const cleanupHandlers = () => { window.removeEventListener('load', recordAction); window.removeEventListener('click', recordAction); - window.addEventListener('pointermove', recordAction); + window.removeEventListener('pointermove', recordAction); window.removeEventListener('beforeunload', recordAction); } |