Skip to content

Commit

Permalink
Merge branch 'release/0.4.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
firede committed Aug 5, 2014
2 parents ab0c1e8 + 2a0160c commit cd13de7
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 13 deletions.
8 changes: 7 additions & 1 deletion History.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@

0.4.0 / 2014-06-13
0.4.2 / 2014-08-05
==================

* **增加** `nav` 元素的 `tap-highlight` 修复
* 升级开发依赖并测试,其中将 `stylus` 升级至 `0.47.3`

0.4.0 / 2014-06-13
==================

* **修复** breakpoint 对切片边界值的处理
Expand Down
4 changes: 2 additions & 2 deletions demo/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function compile(str, filePath) {
}

function prefixer(err, css) {
return ap('android >= 2.3', 'ios >= 5', 'ie 10').process(css).css;
return ap('Android >= 2.3', 'iOS >= 5', 'ExplorerMobile >= 10').process(css).css;
}

app.set('views', path.join(__dirname, '/views'));
Expand All @@ -36,7 +36,7 @@ app.get('/:page?', function (req, res) {
res.render(page);
}
else {
res.send(404);
res.status(404).end();
}
});

Expand Down
2 changes: 1 addition & 1 deletion doc/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ normalize-form()
```haml
.box
margin: _ 5px
// => margin-right: 5px; padding-left: 5px;
// => margin-right: 5px; margin-left: 5px;
```

### border-color: border-top-color border-right-color border-bottom-color border-left-color
Expand Down
2 changes: 1 addition & 1 deletion lib/rider/animate.styl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

animate($name, $duration = 1s, $fill-mode = both)
/
@require(pathjoin('animate', $name))
@require pathjoin('animate', $name)

if mixin != 'root'
$fill-mode = unquote($fill-mode) if typeof($fill-mode) == 'string'
Expand Down
7 changes: 4 additions & 3 deletions lib/rider/initialize.styl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// initialize
//
//
// @author firede(firede@firede.us)


Expand Down Expand Up @@ -104,7 +104,7 @@ initialize()
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
figure, figcaption, footer, header, hgroup,
menu, nav, ruby, section, summary,
time, mark, audio, video
reset-box-model()
Expand Down Expand Up @@ -157,7 +157,8 @@ initialize()

// tap highlight color
if $-prevent-tap-highlight == true
a
a,
nav
-webkit-tap-highlight-color: rgba(0, 0, 0, 0)
-webkit-tap-highlight-color: transparent

Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "rider",
"version": "0.4.0",
"version": "0.4.2",
"description": "Rider is a CSS library to focus on Mobile Web, build on top of Stylus.",
"maintainers": [
{ "name": "Firede", "email": "firede@firede.us" }
],
"devDependencies": {
"autoprefixer": "~1.2.0",
"stylus": "~0.46.3",
"express": "~4.4.3",
"autoprefixer": "~2.2.0",
"stylus": "~0.47.3",
"express": "~4.7.4",
"ejs": "~1.0.0",
"mocha": "~1.20.1",
"mocha": "~1.21.3",
"should": "~4.0.4"
},
"scripts": {
Expand Down

0 comments on commit cd13de7

Please sign in to comment.