Sha256: 306c1e43f85d3dcc5db7a3cd9be1b19aeb551452a832b7e13b0e6e8ca66dc510
Contents?: true
Size: 765 Bytes
Versions: 5
Compression:
Stored size: 765 Bytes
Contents
module UniformNotifier class Base def self.active? false end def self.inline_notify( data ) return unless active? # For compatibility to the old protocol data = { :title => data } if data.is_a?(String) _inline_notify( data ) end def self.out_of_channel_notify( data ) return unless active? # For compatibility to the old protocol data = { :title => data } if data.is_a?(String) _out_of_channel_notify(data) end protected def self._inline_notify( data ) end def self._out_of_channel_notify( data ) end def self.wrap_js_association( code ) <<-CODE <script type="text/javascript">/*<![CDATA[*/ #{code} /*]]>*/</script> CODE end end end
Version data entries
5 entries across 5 versions & 1 rubygems