From: Peter Korsgaard Date: Sat, 28 Apr 2018 09:31:41 +0200 Subject: [Buildroot] [PATCH 1/2] website: footer.html: use 1.7.1 release of clipboard.js In-Reply-To: <20180427195017.18344-1-peter@korsgaard.com> (Peter Korsgaard's message of "Fri, 27 Apr 2018 21:50:16 +0200") References: <20180427195017.18344-1-peter@korsgaard.com> Message-ID: <87sh7fyeg2.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Peter" == Peter Korsgaard writes: > The clipboard javascript code causes an error: > Uncaught TypeError: Illegal constructor > at buildroot.js:58 > Which is caused by a recent change in upstream clipboard.js: > https://github.com/zenorocha/clipboard.js/releases/tag/v2.0.0 > Changes constructor from new Clipboard() to new ClipboardJS() > The issue was that we were using the master version of clipboard.js instead > of a specific release. Fix it by using the 1.7.1 version (latest release > before the constructor change) instead. > Signed-off-by: Peter Korsgaard Committed, thanks. -- Bye, Peter Korsgaard