search for: widget_properti

Displaying 1 result from an estimated 1 matches for "widget_properti".

Did you mean: widget_properties
2011 Mar 09
1
" instead of " in js code rendered by erb
Having problems rendering javascript in erb file. Thanks for suggestions. //layout erb file (function() { ... var widget_properties = {}; <%= content_for?(:extend_widget) ? "widget_properties = " + yield(:extend_widget) : '''' %> ... })(); //view erb file <% content_for :extend_widget do %> extend = { _init: function() { $("input[type=''checkbox'']&qu...