Joined July 2012
·
C32f157280a66059b1270f29fd5563da

Ibragimov "MpaK" Renat

AOmega
AOmega
·
Thailand, Koh Samui
·
·

hm... smells bad
- Sinatra has inline templates http://www.sinatrarb.com/intro.html#Inline%20Templates and it's really better
- Why you using ajax when Sinatra can streaming and server events, here is my old code https://github.com/mpakus/simplestreamchat
- for constructions like this last = "<span data-last=\"#{chat.size}\"></span>" it's better to use last = %Q{ ..... #{chat.size} }

thank you, very useful manual!

Achievements
72 Karma
0 Total ProTip Views