We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 57113a8 + 318fe2b commit f7418ddCopy full SHA for f7418dd
lib/ex_css_modules/view.ex
@@ -21,7 +21,7 @@ defmodule ExCSSModules.View do
21
defmacro __using__(opts \\ []) do
22
{filename, [file: relative_to]} = Code.eval_quoted(opts[:stylesheet], file: __CALLER__.file)
23
24
- embed =
+ embed_stylesheet? =
25
Keyword.get(
26
opts,
27
:embed_stylesheet,
@@ -32,7 +32,7 @@ defmodule ExCSSModules.View do
32
33
quote do
34
@stylesheet unquote(
35
- if embed do
+ if embed_stylesheet? do
36
Macro.escape(ExCSSModules.stylesheet(filename))
37
else
38
Macro.escape(filename)
0 commit comments