Skip to content

Commit ec9bc7b

Browse files
committed
Merge pull request Crowdtilt#93 from Crowdtilt/selfcrowd
Changing app references from Selfstarter to Crowdhoster
2 parents 01780f5 + 3e128b3 commit ec9bc7b

File tree

15 files changed

+25
-25
lines changed

15 files changed

+25
-25
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
require File.expand_path('../config/application', __FILE__)
66

7-
Selfstarter::Application.load_tasks
7+
Crowdhoster::Application.load_tasks

app/assets/javascripts/admin.js.coffee

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Selfstarter.admin =
1+
Crowdhoster.admin =
22

33
init: ->
44

@@ -137,7 +137,7 @@ Selfstarter.admin =
137137
jqXHR.setRequestHeader('X-CSRF-Token', $('meta[name="csrf-token"]').attr('content'))
138138
success: (data) ->
139139
if(data == "success")
140-
Selfstarter.admin.createBankAccount($form)
140+
Crowdhoster.admin.createBankAccount($form)
141141
else
142142
$('#errors').append('<p>An error occurred, please re-enter your account information</p>')
143143
$('.loader').hide()
@@ -164,7 +164,7 @@ Selfstarter.admin =
164164
$('#account_number').attr('name', 'account_number');
165165
else
166166
user_id = $form.find('#ct_user_id').val()
167-
crowdtilt.bank.create(user_id, bankData, Selfstarter.admin.bankResponseHandler)
167+
crowdtilt.bank.create(user_id, bankData, Crowdhoster.admin.bankResponseHandler)
168168

169169

170170
bankResponseHandler: (response) ->

app/assets/javascripts/campaigns.js.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Selfstarter.campaigns =
1+
Crowdhoster.campaigns =
22

33
init: ->
44

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
window.Selfstarter =
1+
window.Crowdhoster =
22

33
init: ->
44
$('.show_loader').on "click", ->
@@ -9,9 +9,9 @@ window.Selfstarter =
99
$('.show_tooltip').tooltip()
1010

1111
$ ->
12-
Selfstarter.init()
13-
Selfstarter.admin.init()
14-
Selfstarter.campaigns.init()
15-
Selfstarter.theme.init()
12+
Crowdhoster.init()
13+
Crowdhoster.admin.init()
14+
Crowdhoster.campaigns.init()
15+
Crowdhoster.theme.init()
1616

1717
CKEDITOR.config.allowedContent = true

app/assets/javascripts/validate.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ $( document ).ready(function() {
55

66
// custom handler to call named function ""
77
submitHandler: function (form) {
8-
Selfstarter.admin.submitWebsiteForm(form);
8+
Crowdhoster.admin.submitWebsiteForm(form);
99
},
1010

1111
// validate the previously selected element when the user clicks out
@@ -51,7 +51,7 @@ $( document ).ready(function() {
5151

5252
// custom handler to call named function ""
5353
submitHandler: function (form) {
54-
Selfstarter.admin.submitCampaignForm(form);
54+
Crowdhoster.admin.submitCampaignForm(form);
5555
},
5656

5757
// validate the previously selected element when the user clicks out
@@ -147,7 +147,7 @@ $( document ).ready(function() {
147147

148148
// custom handler to call named function ""
149149
submitHandler: function (form) {
150-
Selfstarter.admin.submitBankForm(form);
150+
Crowdhoster.admin.submitBankForm(form);
151151
},
152152

153153
// validate the previously selected element when the user clicks out
@@ -212,7 +212,7 @@ $( document ).ready(function() {
212212

213213
// custom handler to call named function "do_payment"
214214
submitHandler: function(form) {
215-
Selfstarter.campaigns.submitPaymentForm(form);
215+
Crowdhoster.campaigns.submitPaymentForm(form);
216216
},
217217

218218
// validate the previously selected element when the user clicks out
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Selfstarter.theme =
1+
Crowdhoster.theme =
22

33
init: ->
44
return

config.ru

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
require ::File.expand_path('../config/environment', __FILE__)
44
use Rack::Deflater
5-
run Selfstarter::Application
5+
run Crowdhoster::Application

config/application.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Bundler.require(*Rails.groups(:assets => %w(development test)))
88
end
99

10-
module Selfstarter
10+
module Crowdhoster
1111

1212
class Application < Rails::Application
1313
config.assets.paths << Rails.root.join("app", "views", "theme", "assets", "images")

config/environment.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
require File.expand_path('../application', __FILE__)
33

44
# Initialize the rails application
5-
Selfstarter::Application.initialize!
5+
Crowdhoster::Application.initialize!

config/environments/development.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Selfstarter::Application.configure do
1+
Crowdhoster::Application.configure do
22
# Settings specified here will take precedence over those in config/application.rb
33

44
# In the development environment your application's code is reloaded on

0 commit comments

Comments
 (0)