Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to not always choose the shortest column. #811

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion CONTRIBUTING.mdown → .github/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,17 @@

All bug reports and problem issues require a [**reduced test case**](http://css-tricks.com/reduced-test-cases/). Create one by forking any one of the [CodePen examples](http://codepen.io/desandro/tag/masonry-docs) from [the docs](http://masonry.desanro.com).

**CodePens**

+ [Basic layout](http://codepen.io/desandro/pen/osFxj)
+ [Fluid layout](http://codepen.io/desandro/pen/JFpeg)
+ [imagesLoaded progress](http://codepen.io/desandro/pen/RPKgEN)
+ [layout method](http://codepen.io/desandro/pen/JdEyYQ)

**Test cases**

+ A reduced test case clearly demonstrates the bug or issue.
+ It contains the bare minimum HTML, CSS, and JavaScript required to demonstrate the bug.
+ A link to your production site is **not** a reduced test case.

Providing a reduced test case is the best way to get your issue addressed. Without a reduced test case, your issue may be closed.
Providing a reduced test case is the best way to get your issue addressed. Without a reduced test case, your issue may be closed.
3 changes: 3 additions & 0 deletions .github/issue_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<!-- Thanks for submitting an issue! All bug reports and problem issues require a **reduced test case**. Create one by forking any one of the CodePen examples from the docs. See guidelines link above. -->

**Test case:** http://codepen.io/desandro/pen/osFxj
6 changes: 3 additions & 3 deletions README.mdown → README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ See [masonry.desandro.com](http://masonry.desandro.com) for complete docs and de

### CDN

Link directly to Masonry files on [npmcdn](https://npmcdn.com/).
Link directly to Masonry files on [unpkg](https://unpkg.com/).

``` html
<script src="https://npmcdn.com/masonry-layout@4.0/dist/masonry.pkgd.js"></script>
<script src="https://unpkg.com/masonry-layout@4.1/dist/masonry.pkgd.js"></script>
<!-- or -->
<script src="https://npmcdn.com/masonry-layout@4.0/dist/masonry.pkgd.min.js"></script>
<script src="https://unpkg.com/masonry-layout@4.1/dist/masonry.pkgd.min.js"></script>
```

### Package managers
Expand Down
8 changes: 4 additions & 4 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"description": "Cascading grid layout library",
"main": "masonry.js",
"dependencies": {
"get-size": "~2.0.2",
"outlayer": "~2.0.0"
"get-size": "^2.0.2",
"outlayer": "^2.1.0"
},
"devDependencies": {
"jquery-bridget": "~2.0.0",
Expand All @@ -18,9 +18,9 @@
"test",
"tests",
"sandbox/",
"CONTRIBUTING.mdown",
"gulpfile.js",
"package.json"
"package.json",
"composer.json"
],
"homepage": "http://masonry.desandro.com",
"authors": [
Expand Down
15 changes: 15 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "desandro/masonry",
"description": "Cascading grid layout library",
"type": "component",
"keywords": ["javascript", "library", "grid", "browser", "dom", "layout", "outlayer"],
"homepage": "http://masonry.desandro.com",
"license": "MIT",
"authors": [
{
"name": "David DeSandro",
"homepage": "http://desandro.com/",
"role": "developer"
}
]
}
Loading