This file contains hidden or 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
| # what's the expectation for the require within constant (non global state) | |
| # like this? | |
| require "mary.rb" | |
| Bob = Module.new {} | |
This file contains hidden or 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 HelloPhoenix.Memcached.Supervisor do | |
| use Supervisor | |
| def start_link do | |
| Supervisor.start_link(__MODULE__, []) | |
| end | |
| def init([]) do | |
| pool_options = [ | |
| name: {:local, :memcached_pool}, |
This file contains hidden or 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
| $('#someSpecialLinkToBasket').on('click', function(e) { | |
| fbq('track', 'InitiateCheckout', { | |
| basket_value: 1000, | |
| }); | |
| }); |
OlderNewer