Skip to content

Commit 65a03da

Browse files
committed
📦 change package name to isotope-layout all over
ref #1129
1 parent d24baab commit 65a03da

15 files changed

+21
-22
lines changed

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Link directly to Isotope files on [unpkg](https://unpkg.com).
2525

2626
npm: `npm install isotope-layout --save`
2727

28-
Bower: `bower install isotope --save`
28+
Bower: `bower install isotope-layout --save`
2929

3030
## License
3131

‎bower.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"name": "isotope",
2+
"name": "isotope-layout",
33
"description": "Filter and sort magical layouts",
44
"main": "js/isotope.js",
55
"dependencies": {
66
"desandro-matches-selector": "^2.0.0",
77
"fizzy-ui-utils": "^2.0.4",
88
"get-size": "^2.0.0",
9-
"masonry": "^4.1.0",
9+
"masonry-layout": "^4.1.0",
1010
"outlayer": "^2.1.0"
1111
},
1212
"devDependencies": {

‎gulpfile.js‎

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function addBanner( str ) {
5656
var rjsOptimize = require('gulp-requirejs-optimize');
5757

5858
gulp.task( 'requirejs', function() {
59-
var definitionRE = /define\(\s*'isotope\/isotope'(.|\n)+\],/;
59+
var definitionRE = /define\(\s*'isotope\-layout\/\js\/isotope'(.|\n)+\],/;
6060
var banner = getBanner();
6161
// HACK src is not needed
6262
// should refactor rjsOptimize to produce src
@@ -66,21 +66,20 @@ gulp.task( 'requirejs', function() {
6666
optimize: 'none',
6767
include: [
6868
'jquery-bridget/jquery-bridget',
69-
'isotope/isotope'
69+
'isotope-layout/js/isotope'
7070
],
7171
paths: {
72-
isotope: '../js/',
72+
'isotope-layout': '../',
7373
jquery: 'empty:'
7474
}
7575
}) )
7676
// munge AMD definition
7777
.pipe( replace( definitionRE, function( definition ) {
7878
// remove named module
79-
return definition.replace( "'isotope/isotope',", '' )
80-
// use explicit file paths, './item' -> 'isotope/js/item'
81-
.replace( /'.\//g, "'isotope/js/" );
79+
return definition.replace( "'isotope-layout/js/isotope',", '' )
80+
// use explicit file paths, './item' -> 'isotope-layout/js/item'
81+
.replace( /'.\//g, "'isotope-layout/js/" );
8282
}) )
83-
.pipe( replace( "define( 'isotope/", "define( 'isotope/js/" ) )
8483
// add banner
8584
.pipe( addBanner( banner ) )
8685
.pipe( rename('isotope.pkgd.js') )

‎js/isotope.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Licensed GPLv3 for open source use
55
* or Isotope Commercial License for commercial use
66
*
7-
* http://isotope.metafizzy.co
7+
* https://isotope.metafizzy.co
88
* Copyright 2017 Metafizzy
99
*/
1010

‎js/layout-modes/masonry.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// AMD
1212
define( [
1313
'../layout-mode',
14-
'masonry/masonry'
14+
'masonry-layout/masonry'
1515
],
1616
factory );
1717
} else if ( typeof module == 'object' && module.exports ) {

‎sandbox/bottom-up.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ <h1>bottom up</h1>
8484
<script src="../bower_components/fizzy-ui-utils/utils.js"></script>
8585
<script src="../bower_components/outlayer/item.js"></script>
8686
<script src="../bower_components/outlayer/outlayer.js"></script>
87-
<script src="../bower_components/masonry/masonry.js"></script>
87+
<script src="../bower_components/masonry_layout/masonry.js"></script>
8888

8989
<script src="../js/item.js"></script>
9090
<script src="../js/layout-mode.js"></script>

‎sandbox/cells-by-row.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ <h2 class="name">Actinium</h2>
151151
<script src="../bower_components/fizzy-ui-utils/utils.js"></script>
152152
<script src="../bower_components/outlayer/item.js"></script>
153153
<script src="../bower_components/outlayer/outlayer.js"></script>
154-
<script src="../bower_components/masonry/masonry.js"></script>
154+
<script src="../bower_components/masonry_layout/masonry.js"></script>
155155

156156
<script src="../js/item.js"></script>
157157
<script src="../js/layout-mode.js"></script>

‎sandbox/combination-filters-inclusive.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ <h3>Shape</h3>
205205
<script src="../bower_components/fizzy-ui-utils/utils.js"></script>
206206
<script src="../bower_components/outlayer/item.js"></script>
207207
<script src="../bower_components/outlayer/outlayer.js"></script>
208-
<script src="../bower_components/masonry/masonry.js"></script>
208+
<script src="../bower_components/masonry_layout/masonry.js"></script>
209209

210210
<script src="../js/item.js"></script>
211211
<script src="../js/layout-mode.js"></script>

‎sandbox/combination-filters.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ <h3>Shape</h3>
205205
<script src="../bower_components/fizzy-ui-utils/utils.js"></script>
206206
<script src="../bower_components/outlayer/item.js"></script>
207207
<script src="../bower_components/outlayer/outlayer.js"></script>
208-
<script src="../bower_components/masonry/masonry.js"></script>
208+
<script src="../bower_components/masonry_layout/masonry.js"></script>
209209

210210
<script src="../js/item.js"></script>
211211
<script src="../js/layout-mode.js"></script>

‎sandbox/fluid.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ <h1>fluid</h1>
6060
<script src="../bower_components/fizzy-ui-utils/utils.js"></script>
6161
<script src="../bower_components/outlayer/item.js"></script>
6262
<script src="../bower_components/outlayer/outlayer.js"></script>
63-
<script src="../bower_components/masonry/masonry.js"></script>
63+
<script src="../bower_components/masonry_layout/masonry.js"></script>
6464

6565
<script src="../js/layout-mode.js"></script>
6666
<script src="../js/item.js"></script>

0 commit comments

Comments
 (0)