diff --git a/README.md b/README.md index 63ecd39..56ec583 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Imager.js [![Build Status](https://secure.travis-ci.org/BBC-News/Imager.js.png?branch=master)](http://travis-ci.org/BBC-News/Imager.js) +# Imager.js [![Build Status](https://secure.travis-ci.org/BBC-News/Imager.js.svg?branch=master)](http://travis-ci.org/BBC-News/Imager.js) > Imager.js is an alternative solution to the issue of how to handle responsive image loading, created by developers at [BBC News](http://responsivenews.co.uk/). diff --git a/demos/lazyload/index.html b/demos/lazyload/index.html index 28069af..c20cede 100644 --- a/demos/lazyload/index.html +++ b/demos/lazyload/index.html @@ -15,23 +15,25 @@

Imager.js

We've also set the scrollDelay (i.e. the delay between scrolling and replacing a placeholder with an image) to be very high (two seconds). This is so you can visually see the lazy-loading of images as they happen.

The default value is 250ms but you can override that to your own preference.

-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
diff --git a/package.json b/package.json index 633d68c..aa1c5fe 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "test": "npm run test-pre && ./node_modules/karma/bin/karma start", "test-pre": "jshint Imager.js", - "test-watch": "./node_modules/karma/bin/karma start --auto-watch", + "test-watch": "./node_modules/karma/bin/karma start --auto-watch --no-single-run", "build": "uglifyjs ./Imager.js -c -m -o ./Imager.min.js --source-map ./Imager.map.js && mv -f Imager.{map,min}.js ./dist", "release": "for TASK in (test-pre test-local build changelog changelog-post tag-and-publish); do npm run $TASK; done", "changelog": "github-changes -o BBC-News -r Imager.js -n ${npm_package_version} -a --use-commit-body --only-merges",