From 982130894d22401902734f1ec0467f92aef8eb01 Mon Sep 17 00:00:00 2001 From: Stephan Klinger Date: Mon, 14 Jul 2014 17:06:08 +0200 Subject: [PATCH 1/2] Replaced flickholdr.com-URL with holderjs http://flickholdr.com/${w}/${h}/fixie was not working anymore. I replaced it with holder.js as suggested in https://github.com/ryhan/fixie/issues/43. --- sample.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sample.html b/sample.html index 2250a9e..24c6ea5 100644 --- a/sample.html +++ b/sample.html @@ -35,9 +35,9 @@

+ From 6df0bd2d798f0af6e6be9bea6c6778e4863e9cfe Mon Sep 17 00:00:00 2001 From: Stephan Klinger Date: Mon, 14 Jul 2014 17:15:29 +0200 Subject: [PATCH 2/2] Updated README Removed references to http://fixiejs.com/ since the page doesn't offer the original content anymore. Updated the part about setImagePlaceholder to a working site for placeholder images. --- Readme.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Readme.md b/Readme.md index 457fdf2..4efd9a9 100644 --- a/Readme.md +++ b/Readme.md @@ -2,14 +2,12 @@ Fixie is an open source tool that that automatically adds filler content to HTML documents. It's very simple, and we welcome contributions. -To learn more, check out [fixiejs.com](http://www.fixiejs.com "fixiejs") - ### Why use Fixie? When designing and developing websites, it's often useful to add lorem ipsum text to see what your page will look like without worrying about your final content. Unfortunately, adding lots of filler content involves lots of copy-pasting and manual editing, and also makes your HTML unwieldy. -[Fixie.js](http://www.fixiejs.com "fixiejs") makes filler content succinct, making it faster and easier to test out your designs. +Fixie.js makes filler content succinct, making it faster and easier to test out your designs. ## Instructions @@ -58,9 +56,9 @@ Fixie inserts the right type of content based on the tag name. Here are some maj ### Change the default image placeholder service Use `fixie.setImagePlaceholder(source)`. -For example, to pull images from Flickr using http://flickholdr.com/, call +For example, to pull images a placeholder image service, e.g. http://lorempixel.com/, call ``` -fixie.setImagePlaceholder('http://flickholdr.com/${w}/${h}/canon').init(); +fixie.setImagePlaceholder('http://lorempixel.com/${w}/${h}').init(); ``` ### Add class fixie to containers