Skip to content

Instantly share code, notes, and snippets.

View BlakeWilliams's full-sized avatar
💭
building things, probably

Blake Williams BlakeWilliams

💭
building things, probably
View GitHub Profile
- run: echo 'export PRONTO_PULL_REQUEST_ID=$CIRCLE_PR_NUMBER' >> $BASH_ENV
- run: if [ $PRONTO_PULL_REQUEST_ID != false ]; then pronto run -f github_pr_review -c origin/master; fi
group :development, :test do
gem 'rubocop', '~> 0.55.0', require: false
end
group :test do
gem 'pronto'
gem 'pronto-rubocop', require: false
end
alert('hi');
diff --git a/brunch-config.js b/brunch-config.js
deleted file mode 100644
index 28a5d35..0000000
--- a/brunch-config.js
+++ /dev/null
@@ -1,58 +0,0 @@
-exports.config = {
- // See http://brunch.io/#documentation for docs.
- files: {
- javascripts: {
<%= if Map.has_key?(assigns, :other_template) do %>
<%= render_existing view_module(@conn), assigns[:other_template], assigns %>
<% end %>
const json = '[]'; // pretend this is the result of some api request
let jsonValue = JSON.parse(json);
if (json === null) {
jsonValue = [];
}
export default function socketUpdates(dispatch) {
socket.connect({ token: localStorage.token });
const channel = socket.channel('update');
channel.on('model:add', model => {
dispatch(addModel(model));
});
});
var webpack = require('webpack');
var WebpackDevServer = require('webpack-dev-server');
var config = require('./webpack.config');
var port = 8000;
config.entry.unshift("webpack-dev-server/client?http://localhost:" + port);
config.entry.unshift("webpack/hot/dev-server");
config.plugins.push(
new webpack.HotModuleReplacementPlugin()
class RecipeCreator
attr_reader :recipe
def initialize(params)
@recipe = Recipe.new(params)
end
def save
saved = recipes.save