Skip to content
This repository has been archived by the owner on Jun 6, 2022. It is now read-only.

Commit

Permalink
fix doc, add more test
Browse files Browse the repository at this point in the history
  • Loading branch information
yisibl committed May 7, 2015
1 parent 6e0c90c commit d4580b0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ a:visited {
var fs = require('fs')
var chokidar = require('chokidar')
var postcss = require('postcss')
var selector = require('postcss-custom-selector')
var selector = require('postcss-custom-selectors')

var src = 'input.css'

Expand Down Expand Up @@ -186,7 +186,7 @@ module.exports = function(grunt) {
var gulp = require('gulp');
var rename = require('gulp-rename');
var postcss = require('gulp-postcss');
var selector = require('postcss-custom-selector')
var selector = require('postcss-custom-selectors')
var autoprefixer = require('autoprefixer-core')

gulp.task('default', function () {
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Dependence [chokidar](https://github.com/paulmillr/chokidar) module.
var fs = require('fs')
var chokidar = require('chokidar')
var postcss = require('postcss')
var selector = require('postcss-custom-selector')
var selector = require('postcss-custom-selectors')

var src = 'input.css'

Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/multiline.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@custom-selector :--multiline
.foo
;
.foo,
.bar > .baz;

:--multiline {
display: block;
Expand Down
3 changes: 2 additions & 1 deletion test/fixtures/multiline.expected.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.foo {
.foo,
.bar > .baz {
display: block;
}

0 comments on commit d4580b0

Please sign in to comment.