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
<div class="clearfix" id="ticker"> | |
<p class="tick tick-scroll">23,948,611</p> | |
</div> |
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
/* Ticker Fixes */ | |
#ticker { | |
margin: 0 auto; | |
width: 100%; | |
} | |
.demo-box.demo-4 p.tick { | |
display: inline-block; | |
overflow: hidden; | |
padding: 0 10px; |
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
# Here is an example order/cart that would need to be sent | |
{ | |
"number" => "311174282", | |
"email" => "spree@example.com", | |
"currency" => "USD", | |
"user_id" => "123", | |
"visit_id" => "6590869538865152", | |
"visitor_id" => "3821811678576640", | |
"pageview_id" => "0", | |
"placed_on" => "2013-07-30T19:19:05Z", |
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
{ | |
"carts": [ | |
{ | |
"id": "TESTJIRAFECART2", | |
"number": "TESTJIRAFECART2", | |
"email": "spree@example.com", | |
"currency": "USD", | |
"user_id": "123", | |
"visit_id": "2457020145860608", | |
"visitor_id": "3821811678576640", |
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
Backbone.Router.extend({ | |
routes: 'users/index', | |
index: function() { | |
var component, users; | |
users = Users.fetch(); | |
component = UsersIndex({ | |
model: users | |
}); | |
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
var CommentBox = React.createClass({ | |
render: function() { | |
return ( | |
<div className="commentBox"> | |
Hello, world! I am a CommentBox. | |
</div> | |
); | |
} | |
}); | |
React.renderComponent( |
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
var CommentBox = React.createClass({ | |
render: function() { | |
return ( | |
React.DOM.div({ | |
className: 'commentBox', | |
children: 'Hello, world! I am a CommentBox.' | |
}) | |
); | |
} | |
}); |
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
#!/usr/bin/env ruby | |
$stdout.sync = true | |
require File.join(File.expand_path('../..', __FILE__), %w[lib falkor]) | |
puts 'You should not run this command with any worker running. Are all workers stopped [y/n]?' | |
exit 0 unless 'y' == gets.chomp.downcase | |
puts 'Update all legacy transforms [y/n]?' |
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
if source.split("\n")[0] =~ /nomustache/ or source.empty? | |
context.eval(source) | |
context.eval('JSON.stringify(payload)') | |
else | |
context['source'] = source | |
output = context.eval('Mustache.render(source, payload)') | |
JSON.parse(output) | |
output | |
end |
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
#!/usr/bin/env ruby | |
$stdout.sync = true | |
require File.join(File.expand_path('../..', __FILE__), %w[lib falkor]) | |
puts 'You should not run this command with any worker running. Are all workers stopped [y/n]?' | |
exit 0 unless 'y' == gets.chomp.downcase | |
puts 'Update all legacy transforms [y/n]?' |
OlderNewer