Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove legacy trails #1221

Merged
merged 5 commits into from Feb 19, 2015
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 0 additions & 11 deletions app/assets/javascripts/application.js
Expand Up @@ -4,24 +4,13 @@
//= require prettify/prettify
//= require prettyprint
//= require jquery.jsPlumb-1.4.0-all-min
//= require masonry.min.js
//= require upcase
//= require plans
//= require topics
//= require checkout
//= require autoresize
//= require wistia_helper
//= require headhesive.min.js

$(function() {
if ($('.all-trail-map-steps').length) {
var container = document.querySelector('.all-trail-map-steps');
var msnry = new Masonry(container, {
itemSelector: '.trail-map-steps',
gutter: '.gutter-sizer'
});
}

$('textarea').autosize();

if ($('.landing #header-wrapper').length) {
Expand Down
112 changes: 0 additions & 112 deletions app/assets/javascripts/topics.js.coffee

This file was deleted.

47 changes: 0 additions & 47 deletions app/assets/javascripts/upcase.js

This file was deleted.

2 changes: 1 addition & 1 deletion app/assets/stylesheets/_resources-index.scss
@@ -1,4 +1,4 @@
body.resources-index {
body.topics.topics-show {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoid qualifying class selectors with an element.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ldamon Can you address the comment above por favor?

#header-wrapper {
margin: 0;
}
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/_topics-list.scss
@@ -1,4 +1,4 @@
.topics {
.topics-explore {
margin-bottom: 2em;

.divider {
Expand Down