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 Migrator.Application do | |
| @moduledoc false | |
| use Application | |
| def start(_type, _args) do | |
| set_keyspace = fn conn -> | |
| Xandra.execute!(conn, "USE affiliate_reporting") | |
| end |
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 Robot.SlackRouter do | |
| use Slash | |
| alias Slack.Command | |
| alias Robot.Users | |
| before :load_user | |
| @doc """ | |
| Before handlers receive and return a `%Slash.Command{}`. |
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
| var BaseView = function(options) { | |
| this.bindings = []; | |
| this.views = []; | |
| this.intervals = []; | |
| Backbone.View.apply(this, [options]); | |
| }; | |
| _.extend(BaseView.prototype, Backbone.View.prototype, { | |
| /** |