Skip to content

Commit 1ff87a1

Browse files
committed
📝 use major version in CDN
1 parent 8b46d49 commit 1ff87a1

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ See [isotope.metafizzy.co](http://isotope.metafizzy.co) for complete docs and de
1616
Link directly to Isotope files on [unpkg](https://unpkg.com).
1717

1818
``` html
19-
<script src="https://unpkg.com/isotope-layout@3.0/dist/isotope.pkgd.min.js"></script>
19+
<script src="https://unpkg.com/isotope-layout@3/dist/isotope.pkgd.min.js"></script>
2020
<!-- or -->
21-
<script src="https://unpkg.com/isotope-layout@3.0/dist/isotope.pkgd.js"></script>
21+
<script src="https://unpkg.com/isotope-layout@3/dist/isotope.pkgd.js"></script>
2222
```
2323

2424
### Package managers

gulpfile.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,6 @@ gulp.task( 'version', function() {
127127
gulp.src( [ 'package.json' ] )
128128
.pipe( replace( /"version": "\d\.\d+\.\d+"/, '"version": "' + version + '"' ) )
129129
.pipe( gulp.dest('.') );
130-
// replace CDN links in README
131-
var minorVersion = version.match( /^\d\.\d+/ )[0];
132-
gulp.src('README.md')
133-
.pipe( replace( /isotope-layout@\d\.\d+/g, 'isotope-layout@' + minorVersion ))
134-
.pipe( gulp.dest('.') );
135130
});
136131

137132
// ----- default ----- //

0 commit comments

Comments
 (0)