Skip to content

Commit

Permalink
Use proper adapter reference
Browse files Browse the repository at this point in the history
  • Loading branch information
jessedijkstra committed Nov 17, 2017
1 parent 5da274a commit c73c043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ex_cell/base.ex
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
defmodule ExCell.Base do
@moduledoc false
@adapter ExCell.Adapters.CellJS
@dialyzer [{:no_match, relative_name: 2}]

def relative_name(module, namespace) do
Expand All @@ -24,6 +23,7 @@ defmodule ExCell.Base do
import ExCell.View
import ExCell.Base

@adapter unquote(opts[:adapter] || ExCell.Adapters.CellJS)
@namespace unquote(opts[:namespace])

@doc """
Expand Down

0 comments on commit c73c043

Please sign in to comment.