diff --git a/package.json b/package.json index 3d3b9c11c..1ae0e7f68 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "axios": "^0.16.1", "babel-polyfill": "^6.23.0", "babel-preset-es2015": "^6.24.1", - "clipboard": "^1.5.16", + "clipboard": "^1.7.1", "codemirror": "^5.26.0", "dropzone": "^4.0.1", "gulp-util": "^3.0.8", diff --git a/readme.md b/readme.md index 6067fbb94..5d099ad5f 100644 --- a/readme.md +++ b/readme.md @@ -79,7 +79,7 @@ These are the great open-source projects used to help build BookStack: * [jQuery Sortable](https://johnny.github.io/jquery-sortable/) * [Material Design Iconic Font](http://zavoloklom.github.io/material-design-iconic-font/icons.html) * [Dropzone.js](http://www.dropzonejs.com/) -* [ZeroClipboard](http://zeroclipboard.org/) +* [clipboard.js](https://clipboardjs.com/) * [TinyColorPicker](http://www.dematte.at/tinyColorPicker/index.html) * [markdown-it](https://github.com/markdown-it/markdown-it) and [markdown-it-task-lists](https://github.com/revin/markdown-it-task-lists) * [Moment.js](http://momentjs.com/) diff --git a/resources/assets/js/pages/page-show.js b/resources/assets/js/pages/page-show.js index 020229d2f..7754840af 100644 --- a/resources/assets/js/pages/page-show.js +++ b/resources/assets/js/pages/page-show.js @@ -1,5 +1,3 @@ -"use strict"; -// Configure ZeroClipboard const Clipboard = require("clipboard"); const Code = require('../code');