Skip to content

Commit 53ff972

Browse files
author
Johnie Hjelm
committed
Merge branch 'all-props'
2 parents 4965106 + 74f4902 commit 53ff972

6 files changed

Lines changed: 11 additions & 50 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 1.0.1 - 2015-07-31
2+
3+
* Refactored to use [`crip-css-properties`](https://github.com/johnie/crip-css-properties) module
4+
15
# 1.0.0 - 2015-07-26
26

37
* First release

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ body{
7878
}
7979
```
8080

81+
#### [See the full list of abbrivations](https://github.com/johnie/crip-css-properties)
82+
8183
## Options
8284

8385
_(default: `{}`)_

crip-properties.json

Lines changed: 0 additions & 46 deletions
This file was deleted.

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module.exports = postcss.plugin('postcss-crip', function (options) {
55

66
options = options || {};
77

8-
var DEFAULTS = require('./crip-properties.json');
8+
var DEFAULTS = require('crip-css-properties');
99

1010
var PROPS = objectMerge(DEFAULTS, options);
1111

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "postcss-crip",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "PostCSS plugin Shorthand properties for Crips too lazy to write",
55
"keywords": [
66
"postcss",
@@ -20,6 +20,7 @@
2020
},
2121
"homepage": "https://github.com/johnie/postcss-crip",
2222
"dependencies": {
23+
"crip-css-properties": "^1.0.1",
2324
"object-merge": "^2.5.1",
2425
"postcss": "^4.1.13"
2526
},

test/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ describe('postcss-crip', function () {
8989
});
9090

9191
it('handles list-style', function (done) {
92-
test('h1 { lis: inside; }', 'h1 { list-style: inside; }', { }, done);
92+
test('h1 { li-s: inside; }', 'h1 { list-style: inside; }', { }, done);
9393
});
9494

9595
it('handles max-height', function (done) {
@@ -174,7 +174,7 @@ describe('postcss-crip', function () {
174174
});
175175

176176
it('handles vertical-align', function (done) {
177-
test('h1 { vv: middle; }', 'h1 { vertical-align: middle; }', { }, done);
177+
test('h1 { va: middle; }', 'h1 { vertical-align: middle; }', { }, done);
178178
});
179179

180180
it('handles visibility', function (done) {

0 commit comments

Comments
 (0)