Skip to content

Commit

Permalink
Merge pull request diaspora#5123 from svbergerem/remove-unused-code
Browse files Browse the repository at this point in the history
Remove unused code
  • Loading branch information
jhass committed Aug 16, 2014
2 parents 98c3a0a + 022bc10 commit c45f84c
Show file tree
Hide file tree
Showing 17 changed files with 1 addition and 451 deletions.
145 changes: 0 additions & 145 deletions app/assets/javascripts/bootstrap-scrollspy-custom.js

This file was deleted.

17 changes: 0 additions & 17 deletions app/assets/javascripts/contact-edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,6 @@
// licensed under the Affero General Public License version 3 or later. See
// the COPYRIGHT file.

var ContactEdit = {
inviteFriend: function(li, evt) {
$.post('/services/inviter/facebook.json', {
"aspect_id" : li.data("aspect_id"),
"uid" : li.parent().data("service_uid")
}, function(data){
ContactEdit.processSuccess(li, evt, data);
});
}
};

/*
TODO remove me
ContactEdit.toggleCheckbox(li);
Diaspora.page.publish("aspectDropdown/updated", [li.parent().data("person_id"), li.parents(".dropdown").parent(".right").html()]);
*/

/**
* TEMPORARY SOLUTION
* TODO remove me, when the contacts section is done with Backbone.js ...
Expand Down
5 changes: 0 additions & 5 deletions app/assets/javascripts/finder.js

This file was deleted.

25 changes: 0 additions & 25 deletions app/assets/javascripts/friend-finder.js

This file was deleted.

2 changes: 0 additions & 2 deletions app/assets/javascripts/jasmine-load-all.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@
//= require templates
//= require main
//= require home
//= require finder
//= require inbox
//= require mobile
//= require profile
//= require people
//= require photos
//= require sinon
2 changes: 0 additions & 2 deletions app/assets/javascripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
//= require punycode
//= require parse_url
//= require clear-form
//= require validation
//= require app/app
//= require diaspora
//= require_tree ./helpers
Expand All @@ -39,7 +38,6 @@
//= require bootstrap-tooltip
//= require bootstrap-popover
//= require bootstrap-dropdown
//= require bootstrap-scrollspy-custom
//= require bootstrap-modal
//= require osmlocator
//= require flexime
7 changes: 0 additions & 7 deletions app/assets/javascripts/pages/featured-users-index.js

This file was deleted.

7 changes: 0 additions & 7 deletions app/assets/javascripts/pages/services-finder.js

This file was deleted.

72 changes: 0 additions & 72 deletions app/assets/javascripts/photo-show.js

This file was deleted.

5 changes: 0 additions & 5 deletions app/assets/javascripts/photos.js

This file was deleted.

48 changes: 0 additions & 48 deletions app/assets/javascripts/validation.js

This file was deleted.

Loading

0 comments on commit c45f84c

Please sign in to comment.