From 451e05d6683bb80b67e1b2f5ace83c43f851fbc8 Mon Sep 17 00:00:00 2001 From: David DeSandro Date: Mon, 4 Jan 2016 17:05:11 -0500 Subject: [PATCH] README: use npmcdn, mention Draggabilly v1 for IE8 --- README.md | 16 +++++++++++----- gulpfile.js | 3 +-- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index c266d53..93ae364 100644 --- a/README.md +++ b/README.md @@ -15,18 +15,18 @@ Grab a packaged source file: ### Package managers -Install with [Bower](http://bower.io): `bower install draggabilly` - Install with [npm](https://www.npmjs.com/package/draggabilly): `npm install draggabilly` +Install with [Bower](http://bower.io): `bower install draggabilly` + ### CDN -Link directly to [Draggabilly files on cdnjs](https://cdnjs.com/libraries/draggabilly). +Link directly to Draggabilly files on [npmcdn.com](https://npmcdn.com). ``` html - + - + ``` ## Usage @@ -414,6 +414,12 @@ $.bridget( 'draggabilly', Draggabilly ); $('.draggable').draggabilly({...}) ``` +## Browser support + +IE10+, Android 4+, iOS 6+, and all modern browsers + +Use [Draggabilly v1 for IE8 & 9, and Android 2.3+ support](http://draggabilly.desandro.com/v1) + ## License Draggabilly is released under the [MIT License](http://desandro.mit-license.org/). Have at it. diff --git a/gulpfile.js b/gulpfile.js index 8820791..ffd79ff 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -155,8 +155,7 @@ gulp.task( 'version', function() { .pipe( gulp.dest('.') ); // replace CDN links in README gulp.src('README.md') - .pipe( replace( /ajax\/libs\/draggabilly\/\d\.\d\.\d/g, - 'ajax/libs/draggabilly/' + version )) + .pipe( replace( /draggabilly@\d\.\d\.\d/g, 'draggabilly@' + version ) ) .pipe( gulp.dest('.') ); });