File tree Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 1+ # v0.0.7
2+
3+ ## Added
4+ - ` :embed_by_default ` config option to embed stylesheets by default (/DefactoSoftware/ex_css_modules/pull/#67 ).
5+ - ` :json_library ` config option to specify the JSON library (/DefactoSoftware/ex_css_modules/pull/#75 ).
6+
17# v0.0.6
28
39## Added
4- - Add possiblity to call ` class/3 ` , ` class_name/3 ` and ` class_selector/2 ` with an atom as second argument (#22 ).
5- - Add typespecs to functions in ExCSSModules module (#22 ).
10+ - Add possibility to call ` class/3 ` , ` class_name/3 ` and ` class_selector/2 ` with an atom as second argument (/DefactoSoftware/ex_css_modules/pull/ #22 ).
11+ - Add typespecs to functions in ExCSSModules module (/DefactoSoftware/ex_css_modules/pull/ #22 ).
612
713# v0.0.5
814
915## Added
10- - Add ` class/2 ` for conditional checking (#10 ).
16+ - Add ` class/2 ` for conditional checking (/DefactoSoftware/ex_css_modules/pull/ #10 ).
1117
1218# v0.0.4
1319
1420## Changed
15- - The embed option is now evaluated to allow ` Mix.env == :prod ` and other code that needs to be evaluated (#7 ).
21+ - The embed option is now evaluated to allow ` Mix.env == :prod ` and other code that needs to be evaluated (/DefactoSoftware/ex_css_modules/pull/ #7 ).
1622
1723# v0.0.3
1824
Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ Install from [Hex.pm](https://hex.pm/packages/ex_css_modules):
1616
1717``` ex
1818def deps do
19- [{:ex_css_modules , " ~> 0.0.6 " }]
19+ [{:ex_css_modules , " ~> 0.0.7 " }]
2020end
2121```
2222
2323## Usage
24- To use ExCSSModules in a view compile the CSS file (ie: through brunch of webpack ) and add the following to the view:
24+ To use ExCSSModules in a view compile the CSS file (e.g. through Brunch or Webpack ) and add the following to the view:
2525
2626``` ex
2727defmodule MyApplication .ExampleView do
7777
7878### JSON library selection
7979
80- ExCSSModules needs to parse JSON files in order to read the mappings between the base classe names and the autogenerated
80+ ExCSSModules needs to parse JSON files in order to read the mappings between the base classnames and the autogenerated
8181ones. You can specify which JSON parsing library you wish to use through the ` :json_library ` config option. If your
8282project uses Phoenix, it is recommended to use the same library for both Phoenix and ExCSSModules. ExCSSModules uses
8383[ Poison] ( https://hex.pm/packages/poison ) by default.
Original file line number Diff line number Diff line change 11defmodule ExCSSModules.Mixfile do
22 use Mix.Project
33
4- @ version "0.0.6 "
4+ @ version "0.0.7 "
55
66 def project do
77 [
You can’t perform that action at this time.
0 commit comments