Permalink
Browse files

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

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

0 comments on commit 25a3afd

Please sign in to comment.