This file contains 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
before_save :new_gist | |
after_save :refresh_content_cache |
This file contains 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
Test! |
This file contains 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
$('.remote_form').submit(function() { | |
var form = $(this); | |
var data = form.serializeArray(); | |
data.push({authenticity_token: AUTH_TOKEN}); | |
$.ajax({ | |
url : form.attr('action'), | |
type : form.attr('method') || 'GET', | |
data : data, | |
success: function(response) { | |
// do replacement |
This file contains 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
#content_wrap #info_column #remix_leaderboard { | |
border:5px solid #d19c86; | |
background-color:#a95035; | |
color:#fff; | |
margin-bottom:10px; | |
} | |
#content_wrap #info_column #remix_leaderboard h3 { padding:10px 20px; } | |
#content_wrap #info_column #remix_leaderboard ul { } | |
#content_wrap #info_column #remix_leaderboard ul li { | |
border-top:1px solid #d19c86; |
This file contains 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
def test | |
end |
NewerOlder