Skip to content

Commit acf172c

Browse files
committed
Fix bug where if breakAt was not defined then it would throw an error
1 parent 6cd67fb commit acf172c

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "macy",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"homepage": "http://macyjs.com/",
55
"author": {
66
"name": "Big Bite Creative",

dist/macy.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "macy",
33
"description": "Macy is a lightweight, dependency free, masonry layout library",
4-
"version": "2.1.0",
4+
"version": "2.1.1",
55
"author": {
66
"name": "Big Bite Creative",
77
"url": "http://bigbitecreative.com",

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ let buildObj = {
77
entry: 'src/macy.js',
88
format: 'umd',
99
moduleName: 'Macy',
10-
banner: '/* Macy.js - v2.1.0 */',
10+
banner: '/* Macy.js - v2.1.1 */',
1111
plugins: [
1212
eslint(),
1313
babel(),

src/macy.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ const defaults = {
1010
columns: 4,
1111
margin: 2,
1212
trueOrder: true,
13-
waitForImages: false
13+
waitForImages: false,
14+
breakAt: {}
1415
};
1516

1617
/**

0 commit comments

Comments
 (0)