Permalink
Browse files

remove trailing spaces

  • Loading branch information...
1 parent 6190e3a commit b1738d6ed970a6c1c5f9db9912cd00aa05a03300 @mockdeep mockdeep committed Jan 24, 2013
View
@@ -1,6 +1,6 @@
{
- "push_branch": null,
- "application": "tithe",
- "version": "0.9.1",
+ "push_branch": null,
+ "application": "tithe",
+ "version": "0.9.1",
"push_protocol": "rsync"
-}
+}
View
@@ -1,10 +1,10 @@
== Welcome to Tithe.org
-Tithe is a web application that connects citizens with the government agencies and services that they care most about.
+Tithe is a web application that connects citizens with the government agencies and services that they care most about.
The term "tithe" is derived from Old English and in olden times meant a one-tenth part of something, paid as a contribution to a religious organization or compulsory tax to government.
-Tithe.org was created over Startup Weekend (Sept 21-23) in lovely San Francisco, California.
+Tithe.org was created over Startup Weekend (Sept 21-23) in lovely San Francisco, California.
Contributors: Robert Fletcher, David Lee, Sung Choi, Jessie Young
@@ -11,19 +11,19 @@ transaction =
false
else
true
-
+
processCard: ->
card =
number: $('#card_number').val()
cvc: $('#card_code').val()
expMonth: $('#card_month').val()
expYear: $('#card_year').val()
Stripe.createToken(card, transaction.handleStripeResponse)
-
+
handleStripeResponse: (status, response) ->
if status == 200
$('#transaction_stripe_card_token').val(response.id)
$('#new_transaction')[0].submit()
else
$('#stripe_error').text(response.error.message)
- $('input[type=submit]').attr('disabled', false)
+ $('input[type=submit]').attr('disabled', false)
View
@@ -1,13 +1,13 @@
class User < ActiveRecord::Base
has_secure_password
-
+
attr_accessible :email, :first_name, :last_name, :password, :password_confirmation
has_many :transactions
has_many :organizations
validates :email, :uniqueness => true
-
+
def self.authenticate(email, password)
find_by_email(email).try(:authenticate, password)
end
-
+
end
@@ -13,7 +13,7 @@
<body>
<%= render 'layouts/header' %>
-
+
<div class="container">
<div class="content">
<% flash.each do |key,value| %>
@@ -26,7 +26,7 @@
</div><!--/row-->
</div><!--/content-->
</br></br>
-
+
<%= render 'layouts/footer' %>
</div> <!-- /container -->
@@ -13,7 +13,7 @@
<h3>Step 2</h3>
<p>Tithe's easy-to-use interface allows you to make a one-time contribution or a monthly payment. Cancel at anytime.</p>
</div>
-
+
<div class="span1">
<%= image_tag("icon.png") %>
</div>
@@ -22,4 +22,4 @@
<p>Receive regular updates on how your supported organizations are doing. Meet and communicate with others who share similar interests.</p>
</div>
</div>
- <p></p>
+ <p></p>
@@ -13,7 +13,7 @@
<% end %>
<%= f.hidden_field :organization_id %>
- <%= f.hidden_field :user_id %>
+ <%= f.hidden_field :user_id %>
<%= f.hidden_field :stripe_card_token %>
<div class="field">
View
@@ -2,5 +2,5 @@ www:
type: ruby
postbuild: ./postbuild.sh
postinstall: ./postinstall.sh
-db:
- type: postgresql
+db:
+ type: postgresql
View
@@ -2,7 +2,7 @@
describe User do
let(:user) { FactoryGirl.create(:user) }
-
+
it { should have_many(:organizations) }
it { should have_many(:transactions) }
it { should validate_uniqueness_of(:email) }

0 comments on commit b1738d6

Please sign in to comment.