diff options
author | Matthew S <matthewsot@outlook.com> | 2017-05-20 10:46:50 -0700 |
---|---|---|
committer | Matthew S <matthewsot@outlook.com> | 2017-05-20 10:46:50 -0700 |
commit | d77d80a1d7bd7ec4333d0c658332c121d7d91390 (patch) | |
tree | e12c5d429e8fbe21f9785683a6048fb7279e8966 | |
parent | aa02796b6129ac5233f2ad0f28da0fcfab3c32b8 (diff) |
fixed insertion code
apparently tihs didn't get updated with the utils -> docs.utils update
-rw-r--r-- | docs.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -54,6 +54,7 @@ docs.getSelection = docs.getSelectionWithObserver; docs.runWithCreateKeyboard = function (strToRun, funcName, params) { var toRun = "var utils = {};utils.createKeyboardEvent = " + utils.createKeyboardEvent.toString() + ";"; + var toRun = "var utils = {};utils.createKeyboardEvent = " + docs.utils.createKeyboardEvent.toString() + ";"; toRun += strToRun; @@ -131,7 +132,7 @@ docs.backspace = function (counts) { var secondsTimeout = secondsSinceLastBackspace < 1 ? (1 - secondsSinceLastBackspace) : 0; - var toRun = "var utils = {};utils.createKeyboardEvent = " + utils.createKeyboardEvent.toString() + ";"; + var toRun = "var utils = {};utils.createKeyboardEvent = " + docs.utils.createKeyboardEvent.toString() + ";"; toRun += doBackspace.toString(); |