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
import React, { PropTypes } from 'react'; | |
import classNames from 'classnames'; | |
const baseButtonClasses = [ | |
'display-inlineBlock', | |
'borderWidth-0', | |
'outlineStyle-none', | |
'verticalAlign-middle', | |
'appearance-none', | |
'whiteSpace-nowrap', |
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
<div class="ml-s mr-s" data-reactid=".0.3.$0.0.1.0.0"> | |
<a class="fs-s td-underline--hover" href="javascript:void(0)" data-reactid=".0.3.$0.0.1.0.0.0">Link</a> | |
</div> |
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
<div class="position-fixed ta-center" style="width: 200px; height: 200px;"> | |
<div class="verticallyCenter"> | |
<p>I am loading text to let you know the app is loading and will be with you shortly.</p> | |
</div> | |
</div> |
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
Template.create! name: 'Hero #1', tag: 'hero', free: 'true', code: '<section class="bg-gray--1 ptb-xxl cf height-80" style="position: relative;"><div class="verticallyCenter"><div class="pageWrap"><div class="width-40"><div class="mb-xl"><span class="icon--m icon-quote c-white js-highlight"></span></div><h1 class="fs-xl lh-xl c-white mb-m js-contentEditable js-highlight">Find a place that you can call home.</h1><p class="lh-s c-white opacity-70 mb-xl js-contentEditable js-lowlight">Be a yardstick of quality. Some people aren"t used to an environment where excellence is expected.</p><a href="#" class="btn--xl btn--flat">Get started</a></div></div></div><div class="height-100 width-50 posPinTR" style="background-image: url(\"/assets/forest-trees-hiker-hiking.jpg\"); background-size: cover; background-position: center;"></div>' |
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
Template.create! name: 'Hero #1', tag: 'hero', free: 'true', code: %{<section class="bg-gray--1 ptb-xxl cf height-80" style="position: relative;"><div class="verticallyCenter"><div class="pageWrap"><div class="width-40"><div class="mb-xl"><span class="icon--m icon-quote c-white js-highlight"></span></div><h1 class="fs-xl lh-xl c-white mb-m js-contentEditable js-highlight">Find a place that you can call home.</h1><p class="lh-s c-white opacity-70 mb-xl js-contentEditable js-lowlight">Be a yardstick of quality. Some people aren"t used to an environment where excellence is expected.</p><a href="#" class="btn--xl btn--flat">Get started</a></div></div></div><div class="height-100 width-50 posPinTR" style="background-image: url("/assets/forest-trees-hiker-hiking.jpg"); background-size: cover; background-position: center;></div>} |
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
/Users/colmtuite/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/dependency.rb:315:in `to_specs': Could not find 'railties' (>= 0) among 6 total gem(s) (Gem::LoadError) | |
Checked in 'GEM_PATH=/Users/colmtuite/.gem/ruby/2.2.0:/Users/colmtuite/.rvm/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0', execute `gem env` for more information | |
from /Users/colmtuite/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/dependency.rb:324:in `to_spec' | |
from /Users/colmtuite/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_gem.rb:64:in `gem' | |
from /Users/colmtuite/.rvm/gems/ruby-2.2.0/bin/rails:22:in `<main>' | |
Colms-MacBook-Air:generator colmtuite$ |
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
colmtuite 468 0.0 0.1 849880 3000 ?? S Thu03am 0:28.31 /Applications/Utilities/Adobe Creative Cloud/HEX/Adobe CEF Helper.app/Contents/MacOS/Adobe CEF Helper --type=renderer --no-sandbox --user-agent=Mozilla/5.0 (Macintosh) AppleWebKit/537.36 (KHTML, like Gecko) Safari/537.36 CreativeCloud/1.9.1.474 --lang=en-US --lang=en-US --log-severity=disable --disable-accelerated-video-decode --channel=371.0.66053191 | |
source 'https://rubygems.org' | |
# Needed by heroku | |
ruby '2.2.0' | |
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | |
gem 'rails', '4.2.0' |
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
Hello word |
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
>> Listening on localhost:3000, CTRL+C to stop | |
Exiting | |
/Users/colmtuite/.rvm/gems/ruby-2.2.0/gems/eventmachine-1.0.5/lib/eventmachine.rb:526:in `start_tcp_server': no acceptor (port is in use or requires root privileges) (RuntimeError) | |
from /Users/colmtuite/.rvm/gems/ruby-2.2.0/gems/eventmachine-1.0.5/lib/eventmachine.rb:526:in `start_server' | |
from /Users/colmtuite/.rvm/gems/ruby-2.2.0/gems/thin-1.5.1/lib/thin/backends/tcp_server.rb:16:in `connect' | |
from /Users/colmtuite/.rvm/gems/ruby-2.2.0/gems/thin-1.5.1/lib/thin/backends/base.rb:55:in `block in start' | |
from /Users/colmtuite/.rvm/gems/ruby-2.2.0/gems/eventmachine-1.0.5/lib/eventmachine.rb:187:in `call' | |
from /Users/colmtuite/.rvm/gems/ruby-2.2.0/gems/eventmachine-1.0.5/lib/eventmachine.rb:187:in `run_machine' | |
from /Users/colmtuite/.rvm/gems/ruby-2.2.0/gems/eventmachine-1.0.5/lib/eventmachine.rb:187:in `run' | |
from /Users/colmtuite/.rvm/gems/ruby-2.2.0/gems/thin-1.5.1/lib/thin/backends/base.rb:63:in `start' |
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
Started DELETE "/comments/4" for 127.0.0.1 at 2015-05-02 19:30:44 +0100 | |
Processing by CommentsController#destroy as JS | |
Parameters: {"id"=>"4"} | |
Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" = ? LIMIT 1 [["id", "4"]] | |
Rendered comments/destroy.js.erb (1.0ms) | |
Completed 500 Internal Server Error in 6ms | |
ActionView::Template::Error (undefined method `gsub' for 4:Fixnum): | |
1: var element = document.getElementById("<%=j @comment.id %>"); |