Sha256: 6c50ad00b04235c127d13adc1b4a162e597378248b5a8dcd87f1136f8d587dea
Contents?: true
Size: 578 Bytes
Versions: 86
Compression:
Stored size: 578 Bytes
Contents
#This files makes the framework able to receive calls from the Rhodes framework from RhoMobile. class KnjController < Rho::RhoController #GET /Server def index render end def html_links System.open_url(@params["url"]) end def callback block = $rhodes.callbacks(@params["callback_id"]) block.call(:params => @params) end def youtube_embed @iframe_height = System.get_property("screen_height").to_i - 40 render :file => "Knj/rhodes/youtube_embed.erb" end def youtube_open render :file => "Knj/rhodes/youtube_open.erb" end end
Version data entries
86 entries across 86 versions & 1 rubygems