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
(function with_global_attributes(alert) { | |
alert('hello world'); | |
})(window.alert); |
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
this.$button.on('click', $.proxy(function(event) { | |
event.preventDefault(); | |
log(this, newLink(this), "Reservations Link"); | |
this.open(newLink(this)); | |
}, this)); |
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 Swarmsimulatorelixir do | |
use Hound.Helpers | |
def start do | |
Hound.start_session | |
end | |
end | |
defmodule Commander do | |
use Hound.Helpers |
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 Swarmsimulatorelixir do | |
use Hound.Helpers | |
def start do | |
Hound.start_session | |
end | |
end | |
defmodule Commander do | |
use Hound.Helpers |
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
diff --git a/mix.exs b/mix.exs | |
index 7790faf..e681ddd 100644 | |
--- a/mix.exs | |
+++ b/mix.exs | |
@@ -29,6 +29,7 @@ defmodule Swarmsimulatorbot.Mixfile do | |
defp deps do | |
[ | |
{:hound, "~> 0.8"}, | |
+ {:exvcr, "~> 0.7", only: :test} | |
] |
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
# Installation | |
Put these files in your `.git/hooks` directory and make them executable. | |
# Changelog | |
## 1.2 | |
* Check for RuboCop updates |
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
diff --git a/config/config.exs b/config/config.exs | |
index 9346d58..36340d7 100644 | |
--- a/config/config.exs | |
+++ b/config/config.exs | |
@@ -3,6 +3,9 @@ | |
use Mix.Config | |
config :hound, driver: "phantomjs" |
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
diff --git a/lib/swarmsimulatorbot.ex b/lib/swarmsimulatorbot.ex | |
index 4f696fe..8499dde 100644 | |
--- a/lib/swarmsimulatorbot.ex | |
+++ b/lib/swarmsimulatorbot.ex | |
@@ -3,8 +3,6 @@ defmodule Swarmsimulatorbot do | |
use GenServer | |
@swarm_url "https://swarmsim.github.io" |
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
diff --git a/lib/swarmsimulatorbot/cli.ex b/lib/swarmsimulatorbot/cli.ex | |
index aa5b2eb..f76267a 100644 | |
--- a/lib/swarmsimulatorbot/cli.ex | |
+++ b/lib/swarmsimulatorbot/cli.ex | |
@@ -8,6 +8,7 @@ defmodule Swarmsimulatorbot.Cli do | |
end | |
def init(_) 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
diff --git a/lib/swarmsimulatorbot.ex b/lib/swarmsimulatorbot.ex | |
index 1101af9..4f696fe 100644 | |
--- a/lib/swarmsimulatorbot.ex | |
+++ b/lib/swarmsimulatorbot.ex | |
@@ -22,36 +22,36 @@ defmodule Swarmsimulatorbot do | |
end | |
def dummy_grow do |
OlderNewer