diff --git a/README.md b/README.md
index 725af10..917cab8 100644
--- a/README.md
+++ b/README.md
@@ -25,7 +25,7 @@ Link directly to Isotope files on [unpkg](https://unpkg.com).
npm: `npm install isotope-layout --save`
-Bower: `bower install isotope --save`
+Bower: `bower install isotope-layout --save`
## License
diff --git a/bower.json b/bower.json
index 691d979..69e4571 100644
--- a/bower.json
+++ b/bower.json
@@ -1,12 +1,12 @@
{
- "name": "isotope",
+ "name": "isotope-layout",
"description": "Filter and sort magical layouts",
"main": "js/isotope.js",
"dependencies": {
"desandro-matches-selector": "^2.0.0",
"fizzy-ui-utils": "^2.0.4",
"get-size": "^2.0.0",
- "masonry": "^4.1.0",
+ "masonry-layout": "^4.1.0",
"outlayer": "^2.1.0"
},
"devDependencies": {
diff --git a/gulpfile.js b/gulpfile.js
index 687c979..2baa8db 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -56,7 +56,7 @@ function addBanner( str ) {
var rjsOptimize = require('gulp-requirejs-optimize');
gulp.task( 'requirejs', function() {
- var definitionRE = /define\(\s*'isotope\/isotope'(.|\n)+\],/;
+ var definitionRE = /define\(\s*'isotope\-layout\/\js\/isotope'(.|\n)+\],/;
var banner = getBanner();
// HACK src is not needed
// should refactor rjsOptimize to produce src
@@ -66,21 +66,20 @@ gulp.task( 'requirejs', function() {
optimize: 'none',
include: [
'jquery-bridget/jquery-bridget',
- 'isotope/isotope'
+ 'isotope-layout/js/isotope'
],
paths: {
- isotope: '../js/',
+ 'isotope-layout': '../',
jquery: 'empty:'
}
}) )
// munge AMD definition
.pipe( replace( definitionRE, function( definition ) {
// remove named module
- return definition.replace( "'isotope/isotope',", '' )
- // use explicit file paths, './item' -> 'isotope/js/item'
- .replace( /'.\//g, "'isotope/js/" );
+ return definition.replace( "'isotope-layout/js/isotope',", '' )
+ // use explicit file paths, './item' -> 'isotope-layout/js/item'
+ .replace( /'.\//g, "'isotope-layout/js/" );
}) )
- .pipe( replace( "define( 'isotope/", "define( 'isotope/js/" ) )
// add banner
.pipe( addBanner( banner ) )
.pipe( rename('isotope.pkgd.js') )
diff --git a/js/isotope.js b/js/isotope.js
index b758e8f..800341f 100644
--- a/js/isotope.js
+++ b/js/isotope.js
@@ -4,7 +4,7 @@
* Licensed GPLv3 for open source use
* or Isotope Commercial License for commercial use
*
- * http://isotope.metafizzy.co
+ * https://isotope.metafizzy.co
* Copyright 2017 Metafizzy
*/
diff --git a/js/layout-modes/masonry.js b/js/layout-modes/masonry.js
index b830e6c..099fa77 100644
--- a/js/layout-modes/masonry.js
+++ b/js/layout-modes/masonry.js
@@ -11,7 +11,7 @@
// AMD
define( [
'../layout-mode',
- 'masonry/masonry'
+ 'masonry-layout/masonry'
],
factory );
} else if ( typeof module == 'object' && module.exports ) {
diff --git a/sandbox/bottom-up.html b/sandbox/bottom-up.html
index 16c7f56..8b0722e 100644
--- a/sandbox/bottom-up.html
+++ b/sandbox/bottom-up.html
@@ -84,7 +84,7 @@
-
+
diff --git a/sandbox/cells-by-row.html b/sandbox/cells-by-row.html
index 9a22ff7..7ef0986 100644
--- a/sandbox/cells-by-row.html
+++ b/sandbox/cells-by-row.html
@@ -151,7 +151,7 @@
-
+
diff --git a/sandbox/combination-filters-inclusive.html b/sandbox/combination-filters-inclusive.html
index dc13e74..ed8d4c4 100644
--- a/sandbox/combination-filters-inclusive.html
+++ b/sandbox/combination-filters-inclusive.html
@@ -205,7 +205,7 @@
-
+
diff --git a/sandbox/combination-filters.html b/sandbox/combination-filters.html
index 632f6f5..eafc90b 100644
--- a/sandbox/combination-filters.html
+++ b/sandbox/combination-filters.html
@@ -205,7 +205,7 @@
-
+
diff --git a/sandbox/fluid.html b/sandbox/fluid.html
index 8be3346..62237bd 100644
--- a/sandbox/fluid.html
+++ b/sandbox/fluid.html
@@ -60,7 +60,7 @@
-
+
diff --git a/sandbox/insert.html b/sandbox/insert.html
index d1f27e5..ef5ffee 100644
--- a/sandbox/insert.html
+++ b/sandbox/insert.html
@@ -36,7 +36,7 @@
-
+
diff --git a/sandbox/masonry.html b/sandbox/masonry.html
index 694c968..ddd662a 100644
--- a/sandbox/masonry.html
+++ b/sandbox/masonry.html
@@ -151,7 +151,7 @@
-
+
diff --git a/sandbox/right-to-left.html b/sandbox/right-to-left.html
index 160cc7e..44f3988 100644
--- a/sandbox/right-to-left.html
+++ b/sandbox/right-to-left.html
@@ -85,7 +85,7 @@
-
+
diff --git a/sandbox/stamps.html b/sandbox/stamps.html
index 5d571e5..a521cca 100644
--- a/sandbox/stamps.html
+++ b/sandbox/stamps.html
@@ -89,7 +89,7 @@
-
+
diff --git a/test/index.html b/test/index.html
index f6509ae..ccfe779 100644
--- a/test/index.html
+++ b/test/index.html
@@ -19,7 +19,7 @@
-
+