From 73bd8710e8a40c10010489fe37487cf05dbcedbe Mon Sep 17 00:00:00 2001 From: Daniel Vassallo Date: Sat, 2 Nov 2019 01:03:27 -0700 Subject: [PATCH] Update the tutorial to use the latest SDK changes --- src/pages/docs.html | 56 +++++++++++++++++++-------------------------- 1 file changed, 23 insertions(+), 33 deletions(-) diff --git a/src/pages/docs.html b/src/pages/docs.html index 3916579..3c7ce9c 100644 --- a/src/pages/docs.html +++ b/src/pages/docs.html @@ -24,9 +24,7 @@
     
   
@@ -147,14 +145,12 @@ We're going to load the Userbase SDK from a CDN with a <script> tag in the head of our page: -
+  
     
   
@@ -459,7 +455,7 @@
     
   
-
+

To-Do List

@@ -582,7 +577,7 @@

Then, add code to handle the form submission:

-
+  
     
     <!-- application code -->
     <script type="text/javascript">
@@ -600,8 +595,8 @@
 
       document.getElementById('login-form').addEventListener('submit', handleLogin)
       document.getElementById('signup-form').addEventListener('submit', handleSignUp)
-
       document.getElementById('add-todo-form').addEventListener('submit', addTodoHandler)
+
       document.getElementById('todo-view').style.display = 'none'
       
     </script>
@@ -714,7 +709,7 @@