Skip to content

Commit

Permalink
remove debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
quoideneuf committed Nov 26, 2013
1 parent bf5f442 commit 07c0447
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions app/main.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,26 +87,3 @@
end
end
end


# post '/jobs' do

# Enumerator.new do |y|
# [
# {:type => :status, :body => "Status 1"},
# {:type => :update, :body => "Update 1"},
# {:type => :flash, :body => "Flash 1"},
# {:type => :flash, :body => "Flash 2", :source => 'aspace'},
# {:type => :progress, :ticks => "2", :total => "5"},
# {:type => :progress, :ticks => "4", :total => "5"},
# {:type => :update, :body => "Update 2"},
# {:type => :progress, :ticks => "2", :total => "5"},
# {:type => :progress, :ticks => "4", :total => "5"},
# {:type => :status, :body => "Status 2"},
# {:type => :update, :body => "Update 3"},
# ].each do |msg|
# y << JSON.generate(msg) + "---\n"
# sleep(1.0)
# end
# end
# end

0 comments on commit 07c0447

Please sign in to comment.