This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule MyApp.Encoder do | |
@moduledoc """ | |
General implementation for the Jason encoder to be used in Ecto schemas | |
""" | |
defmacro __using__(opts) do | |
drop_fields = Keyword.get(opts, :drop, []) | |
quote do | |
defimpl Jason.Encoder, for: [__MODULE__] do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../notification-elements/notification-alert.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-scroll-header-panel/core-scroll-header-panel.html"> | |
<link rel="import" href="../paper-tabs/paper-tabs.html"> | |
<link rel="import" href="../paper-tabs/paper-tab.html"> | |
<link rel="import" href="../smoothie-chart/smoothie-chart.html"> | |
<link rel="import" href="../code-mirror/code-mirror.html"> | |
<link rel="import" href="../chart-js/chart-js.html"> |