From 02f8c2818bfd33bd02e8b6a64809a114f91c5000 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Fri, 9 Jun 2017 18:18:04 +0100 Subject: htdocs: Add clipboard.js We provide our own, much smaller implementation of this currently. However, we want to be able to implement slightly different variants of this elsewhere and using an existing library helps avoid reinventing the wheel and lets us use already battle-tested code. Signed-off-by: Stephen Finucane Reviewed-by: Andrew Donnellan --- htdocs/README.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'htdocs/README.rst') diff --git a/htdocs/README.rst b/htdocs/README.rst index 513fb24..62f15c2 100644 --- a/htdocs/README.rst +++ b/htdocs/README.rst @@ -65,6 +65,16 @@ js Part of Patchwork. +``clipboard.min.js`` + + Modern copy to clipboard. No Flash. Just 3kb gzipped + + This is used to allow us to "click to copy" various elements in the UI. + + :Website: https://clipboardjs.com/ + :GitHub: https://github.com/zenorocha/clipboard.js/ + :Version: 1.7.1 + ``jquery.js`` jQuery is a fast, small, and feature-rich JavaScript library. It makes things -- cgit v1.2.3