Skip to content

Commit

Permalink
Fixes #68
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammadYounes committed Apr 25, 2016
1 parent d92003d commit 28e864e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ module.exports = {
'action': function (prop, value, context) {
if (this.cache === null) {
this.cache = {
'replace': /\b([news]{1,4})-resize/ig,
'replace': /\b(ne|nw|se|sw|nesw|nwse)-resize/ig,
'url': /^url/i,
'e': /e/i,
'w': /w/i,
Expand Down
6 changes: 3 additions & 3 deletions test/data/values.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ module.exports = [
'reversable': true
},
{
'should': 'Should keep property value as is: cursor ns',
'expected': 'div { cursor:ns-resize; }',
'input': 'div { cursor:ns-resize; }',
'should': 'Should keep property value as is: cursor ew',
'expected': 'div { cursor:ew-resize; }',
'input': 'div { cursor:ew-resize; }',
'reversable': false
},
{
Expand Down

0 comments on commit 28e864e

Please sign in to comment.