Skip to content
This repository
Browse code

include privacy policy and terms of service (examples). closes #11

  • Loading branch information...
commit 25a3afd6353b37764a10274d5f200ccca0e82748 1 parent 5dd88f6
Lloyd Hilaiel authored April 27, 2012
1  .gitignore
... ...
@@ -1 +1,2 @@
1 1
 /node_modules
  2
+*~
2  static/123done.js
@@ -233,6 +233,8 @@ $(document).ready(function() {
233 233
       // or if the user cancels the dialog.
234 234
       $("button").attr('disabled', 'disabled').css('opacity', '0.5');
235 235
       navigator.id.request({
  236
+        tosURL: '/tos.txt',
  237
+        privacyURL: '/pp.txt',
236 238
         oncancel: function() {
237 239
           // when the user cancels the persona dialog, let's re-enable the
238 240
           // sign-in button
7  static/pp.txt
... ...
@@ -0,0 +1,7 @@
  1
+This is a Privacy Policy document for 123done.org.  If this were a
  2
+real site, it would give you the policies which we adhere to as we 
  3
+deal with your personal, private data.  Policies that you must accept
  4
+in order to use the site.
  5
+
  6
+But this is not a real site, it's a demonstration.  So this document
  7
+isn't really all that useful.
6  static/tos.txt
... ...
@@ -0,0 +1,6 @@
  1
+This is a Terms Of Service document for 123done.org.  If this were a
  2
+real site, it would give you the terms of service that you must accept
  3
+to use the site.
  4
+
  5
+But this is not a real site, it's a demonstration.  So this document
  6
+isn't really all that useful.

0 notes on commit 25a3afd

Please sign in to comment.
Something went wrong with that request. Please try again.