Skip to content

Commit

Permalink
Fix typo preventing tests from completing. Add readme status badges.
Browse files Browse the repository at this point in the history
  • Loading branch information
lilith committed Jan 7, 2015
1 parent a40b5ac commit d236943
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
## Slimmage - sane & simple responsive images
[![master](https://img.shields.io/travis/imazen/slimmage/master.svg?label=master)](https://travis-ci.org/imazen/slimmage/builds) [![unstable](https://img.shields.io/travis/imazen/slimmage/unstable.svg?label=unstable)](https://travis-ci.org/imazen/slimmage/builds)

Selenium status from most recent test run (may not be a published commit): [![Selenium Test Status](https://saucelabs.com/buildstatus/imazen)](https://saucelabs.com/u/imazen)
[![Selenium Test Status](https://saucelabs.com/browser-matrix/imazen.svg)](https://saucelabs.com/u/imazen)

Your wait for a sane, easily managed path to responsive images has now ended.

**With Slimmage, *CSS* controls which image size is downloaded, not HTML**
Expand Down
2 changes: 1 addition & 1 deletion test/spec/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ describe('slimmage', function () {

var dpr = window.devicePixelRatio || 1;
var info = s.getImageInfo(159/dpr,"im?width=5",0);
expect(info["data-pixel-width"]).to.be(160 * );
expect(info["data-pixel-width"]).to.be(160);

info = s.getImageInfo(1,"im?width=5",0);
expect(info["data-pixel-width"]).to.be(160);
Expand Down

0 comments on commit d236943

Please sign in to comment.