From d1c028e7d4a4ddb743be059dba47ee24ae6e8dba Mon Sep 17 00:00:00 2001 From: Tom Byers Date: Thu, 21 Mar 2019 16:51:27 +0000 Subject: [PATCH] Add library for tracking carets in textareas --- gulpfile.babel.js | 3 ++- package.json | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gulpfile.babel.js b/gulpfile.babel.js index 9c4100cb4..1e68636df 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -88,7 +88,8 @@ gulp.task('javascripts', () => gulp paths.npm + 'jquery/dist/jquery.min.js', paths.npm + 'query-command-supported/dist/queryCommandSupported.min.js', paths.npm + 'diff-dom/diffDOM.js', - paths.npm + 'timeago/jquery.timeago.js' + paths.npm + 'timeago/jquery.timeago.js', + paths.npm + 'textarea-caret/index.js' ])) .pipe(plugins.uglify()) .pipe(plugins.concat('all.js')) diff --git a/package.json b/package.json index 41b06c707..3e81dc120 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,7 @@ "hogan": "1.0.2", "jquery": "1.12.4", "query-command-supported": "1.0.0", + "textarea-caret": "^3.1.0", "timeago": "1.6.1" }, "devDependencies": {