diff options
author | Matthew <matthew@matthew-t460p.attlocal.net> | 2017-06-17 13:49:15 -0700 |
---|---|---|
committer | Matthew <matthew@matthew-t460p.attlocal.net> | 2017-06-17 13:49:15 -0700 |
commit | 0bfdcdd0ec2f703a263f0701541cdffc3ee2c567 (patch) | |
tree | fc928e33dd263f5b8bff5f377c7a17438d47287c | |
parent | 3e30627cbe1dc4c809fd7552c56c44aeb98e83a0 (diff) |
Moved files
-rw-r--r-- | README.md | 4 | ||||
-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.json | 4 | ||||
-rw-r--r-- | speechless.js | 1 |
5 files changed, 5 insertions, 4 deletions
@@ -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(); |