README.md in slim-grunt-helpers-0.2.1 vs README.md in slim-grunt-helpers-0.3.0
- old
+ new
@@ -66,10 +66,11 @@
```html
<!-- build:<type>(alternate search path) <path> -->
```
The `:alt` argument is optional and it's the `alternate search path`.
+The `:absolute` argument is optional and if true, it will append '/' in tags to file paths when printing html.
An object `usemin` will be yielded to the block which has only one method: **<<**.
This method requires first argument which is path to your css file (http path) and the second argument is a
hash of options which are appended as attributes to the link tag. Notice that on `link` tag,
`rel="stylesheet"` is automatically appended (and can be overwritten by specifying a `rel` key in options).
Additionally, notice that attributes with `nil` or `false` as value are not set (so you can remove `rel`), while those with `true` are set but without value and without `=""`.
@@ -78,10 +79,9 @@
`require` allows to include files only if they are not already included. Uses same params as `include`.
`require_tree` instead, require an entire directory tree, using [Dir glob](http://ruby-doc.org/core-1.9.3/Dir.html#method-c-glob) pattern. It accepts the following parameters:
- `root_path` which is the path will be used as base directory (and **omitted in tags**)
- `pattern` which is the pattern accepted by [Dir glob](http://ruby-doc.org/core-1.9.3/Dir.html#method-c-glob), used to search files
-- `relative` which if it's true, ensures file path won't start with `/` when printed in html
- `options` which are directly passed to `require`
## Contributing
1. Fork it