Skip to content

Instantly share code, notes, and snippets.

View reinaldob's full-sized avatar

Reinaldo Braga reinaldob

View GitHub Profile
//nomustache
for(x in payload.shipment.items){
payload.shipment.items[x].line_number = x;
}
payload.shipment.status= "ready";
payload.shipment
<section class='dashboard'>
<%= raw botao_add_to_page %>
</section>
<script>
$(function () {
$('#app_request').click(function () {
FB.ui({
method: 'apprequests',
message: 'You should learn more about this awesome game.',
module ConcursoCulturalVideoVagas
module VideosHelper
def botao_add_to_page
url_da_app = "#{FACEBOOK_CONFIG['facebook_url']}"
app_id = FACEBOOK_CONFIG['app_id']
"<div style='margin: 15px'>
<h3>App Concurso Cultural</h3>
<br/>
<br/>