Skip to content

Commit

Permalink
Fix bug where if breakAt was not defined then it would throw an error
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmd committed Sep 1, 2017
1 parent 6cd67fb commit acf172c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "macy",
"version": "2.1.0",
"version": "2.1.1",
"homepage": "http://macyjs.com/",
"author": {
"name": "Big Bite Creative",
Expand Down
2 changes: 1 addition & 1 deletion dist/macy.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "macy",
"description": "Macy is a lightweight, dependency free, masonry layout library",
"version": "2.1.0",
"version": "2.1.1",
"author": {
"name": "Big Bite Creative",
"url": "http://bigbitecreative.com",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let buildObj = {
entry: 'src/macy.js',
format: 'umd',
moduleName: 'Macy',
banner: '/* Macy.js - v2.1.0 */',
banner: '/* Macy.js - v2.1.1 */',
plugins: [
eslint(),
babel(),
Expand Down
3 changes: 2 additions & 1 deletion src/macy.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ const defaults = {
columns: 4,
margin: 2,
trueOrder: true,
waitForImages: false
waitForImages: false,
breakAt: {}
};

/**
Expand Down

0 comments on commit acf172c

Please sign in to comment.