summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew <matthew@matthew-t460p.attlocal.net>2017-06-17 13:49:15 -0700
committerMatthew <matthew@matthew-t460p.attlocal.net>2017-06-17 13:49:15 -0700
commit0bfdcdd0ec2f703a263f0701541cdffc3ee2c567 (patch)
treefc928e33dd263f5b8bff5f377c7a17438d47287c
parent3e30627cbe1dc4c809fd7552c56c44aeb98e83a0 (diff)
Moved files
-rw-r--r--README.md4
-rw-r--r--docs-plus/docs.js (renamed from docs.js)0
-rw-r--r--docs-plus/utils.js (renamed from utils.js)0
-rw-r--r--manifest.json4
-rw-r--r--speechless.js1
5 files changed, 5 insertions, 4 deletions
diff --git a/README.md b/README.md
index 619d3c2..9009d53 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
# speechless
-A time-to-speak counter for Google Docs
+A time-to-speak counter for Google Docs.
-Based on [Docs+](https://github.com/matthewsot/docs-plus)
+This repository is a simple demo for [Docs+](https://github.com/matthewsot/docs-plus), which allows browser extensions to directly interact with the Google Docs Kix editor.
diff --git a/docs.js b/docs-plus/docs.js
index 09df9f3..09df9f3 100644
--- a/docs.js
+++ b/docs-plus/docs.js
diff --git a/utils.js b/docs-plus/utils.js
index 6ab223b..6ab223b 100644
--- a/utils.js
+++ b/docs-plus/utils.js
diff --git a/manifest.json b/manifest.json
index d90f6c7..f1f1233 100644
--- a/manifest.json
+++ b/manifest.json
@@ -14,7 +14,7 @@
"content_scripts": [
{
"matches": ["*://*.google.com/*document/d/*/edit*"],
- "js": ["jquery.min.js", "utils.js", "docs.js", "speechless.js"]
+ "js": ["jquery.min.js", "docs-plus/utils.js", "docs-plus/docs.js", "speechless.js"]
}
]
-} \ No newline at end of file
+}
diff --git a/speechless.js b/speechless.js
index 34a0667..8793e1a 100644
--- a/speechless.js
+++ b/speechless.js
@@ -28,6 +28,7 @@ function refresh() {
}
}
+//Refresh the time-to-speak whenever the user makes a selection or types something
$("body").on("mouseup", ".kix-appview-editor", function (e) {
if (e.which !== 1) return;
refresh();
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback