-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Petr Brzek
committed
Jan 31, 2014
1 parent
290c7e2
commit 6ebf795
Showing
9 changed files
with
201 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "lesshat", | ||
"version": "2.0.14", | ||
"version": "2.0.15", | ||
"main": "./build/lesshat.less" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/** | ||
* Hyphens mixin | ||
*/ | ||
|
||
var hyphens = function hyphens(value) { | ||
value = value || 'manual'; | ||
|
||
return value; | ||
}; | ||
|
||
/** | ||
* For which browsers is this mixin specified | ||
*/ | ||
|
||
hyphens.vendors = ['webkit','moz','ms']; | ||
|
||
/** | ||
* Export mixin | ||
*/ | ||
|
||
module.exports = hyphens; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
### <a name="hyphens"></a> • hyphens | ||
**Summary:** | ||
|
||
The hyphens CSS property tells the browser how to go about splitting words to improve the layout of text when line-wrapping. | ||
|
||
Resources: **[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hyphens)** | ||
|
||
**Syntax:** | ||
|
||
Default value: manual | ||
|
||
.hyphens(none | manual | auto) | ||
|
||
**Example:** | ||
|
||
div { | ||
.hyphens(none); | ||
} | ||
|
||
// Result | ||
div { | ||
-webkit-hyphens: none; | ||
-moz-hyphens: none; | ||
-ms-hyphens: none; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
var assert = require('assert'); | ||
|
||
describe('hyphens', function() { | ||
|
||
it('should return the same value', function(done) { | ||
test.hyphens('none', 'none', done); | ||
}); | ||
|
||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters