Brian Cardarella bcardarella

View example.rb
1 2 3
namespace :thing do
foo :bar
end
View house.js
1 2 3 4 5 6 7 8 9 10
var page = require('webpage').create();
var i = 0;
var houseImage = function(page, i) {
page.render('house/' + i + '.png');
i = i + 1;
setTimeout(houseImage(page, i), 10000);
}
page.open('http://google.com', function() {
houseImage(page, i);
});
View gist:8251177
1 2 3 4 5 6 7 8 9
test("it should wrap context with object controller within a {{with}}", function() {
var Controller = Ember.ObjectController.extend({
controllerName: Ember.computed(function() {
return "controller:"+this.get('content.name');
})
});
 
var person = Ember.Object.create({name: 'Steve Holt'});
var container = new Ember.Container();
View gist:7608646
1 2 3
Ember.EasyForm.TextField = Ember.TextField.extend({
attributeBindings: ['type', 'value', 'size', 'pattern', 'name', 'autocorrect', 'autocapitalize']
});
View node-heroku.md

I have been working with Peter Wagenet from Tilde on getting support for Ember Appkit on Heroku with a Rails app. First some background:

Ember Appkit will Transpile ES6 modules for use as AMDs. To that end I wrote the es6_module_transpiler-rails gem which uses Node and Square's es6-module-transpiler package. That package makes use of Esprima for the parsing. There is an issue of a reserved keyword in older JavaScript runtimes not being quoted properly: https://code.google.com/p/esprima/issues/detail?id=469

On our local machines everything works OK and the transpiling does not bomb out because our versions of Node are recent. However, when we deploy to Heroku and Rails attempts to pre-compile its assets the version of Node that Heroku uses is out of date. Based upon some research it appears by default Heroku is using Node v0.4.7 which is from April 2011. It is easy enough to force Heroku to use a more up to date version of Node: https://devcenter.heroku.com/articles/nodejs-support#versions however it is curr

View markdown.js
1 2 3 4 5 6 7 8 9 10
// Released under MIT license
// Copyright (c) 2009-2010 Dominic Baggott
// Copyright (c) 2009-2010 Ash Berlin
// Copyright (c) 2011 Christoph Dorn <christoph@christophdorn.com> (http://www.christophdorn.com)
 
/*jshint browser:true, devel:true */
 
(function( expose ) {
 
/**
View ember-validations.js
1 2 3 4 5 6 7 8 9 10
// ==========================================================================
// Project: Ember Validations
// Copyright: Copyright 2013 DockYard, LLC. and contributors.
// License: Licensed under MIT license (see license.js)
// ==========================================================================
 
 
// Version: 1.0.0.beta.1
 
(function() {
View ember-easyForm.js
1 2 3 4 5 6 7 8 9 10
// ==========================================================================
// Project: Ember EasyForm
// Copyright: Copyright 2013 DockYard, LLC. and contributors.
// License: Licensed under MIT license (see license.js)
// ==========================================================================
 
 
// Version: 1.0.0.beta.1
 
(function() {
View job.md

Job: Sr. Ruby on Rails Developer

DockYard is looking to hire a Sr. Ruby on Rails developer in the Boston area.

Must haves:

  • Demonstrate strong knowledge in Ruby, Rails (you probably have a GitHub account & Rails contributions, we'll check them out)
  • Willingness to adopt the DockYard toolchain & process (we write a lot of gems)
  • Test Driven Development (we use Minitest + Capybara)
  • Interested in mentoring smart Jr developers
View gist:6814354
1
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.66 Safari/537.36
Something went wrong with that request. Please try again.