Sha256: c5ef70df97c4359983a51228058cec4a347ab3cd3d21ecefb5fbb17fcb1ae7eb

Contents?: true

Size: 293 Bytes

Versions: 2

Compression:

Stored size: 293 Bytes

Contents

module Apotomo
  
  ### TODO: if a state doesn't return anything, the view-finding is invoked, which
  ###   is nonsense in a JS widget. current work-around: return render :js => ""
  
  class JavaScriptWidget < StatefulWidget
    def frame_content(content)
      content
    end
  end
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
apotomo-0.1.2 app/cells/apotomo/java_script_widget.rb
apotomo-0.1.1 app/cells/apotomo/java_script_widget.rb