From 612a6ac06103fb289cdfff91c9adc219fb1331b0 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Thu, 15 May 2014 11:54:56 -0700 Subject: Fix #16: correct examples in README --- README.md | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 404b5ae..dafefbb 100644 --- a/README.md +++ b/README.md @@ -33,11 +33,12 @@ In your project's Gruntfile, add a section named `cssflip` to the data object pa ```js grunt.initConfig({ cssflip: { - options: { - // Task-specific options go here. - }, your_target: { // Target-specific file lists and/or options go here. + options: { + ... + }, + files: ... } } }); @@ -68,10 +69,12 @@ In this example, two CSS files are flipped using css-flip's default settings. ```js grunt.initConfig({ cssflip: { - options: {}, - files: { - 'flipped-one.css': 'original-one.css', - 'flipped-two.css': 'original-two.css' + my_target: { + options: {}, + files: { + 'flipped-one.css': 'original-one.css', + 'flipped-two.css': 'original-two.css' + } } } }); @@ -83,12 +86,14 @@ In this example, the resulting flipped CSS files will also be slightly compresse ```js grunt.initConfig({ cssflip: { - options: { - compress: true - }, - files: { - 'flipped-one.min.css': 'original-one.css', - 'flipped-two.min.css': 'original-two.css' + my_target: { + options: { + compress: true + }, + files: { + 'flipped-one.min.css': 'original-one.css', + 'flipped-two.min.css': 'original-two.css' + } } } }); -- cgit v1.2.3