class UniformNotifier::JavascriptAlert

def _inline_notify(data)

def _inline_notify(data)
  message = data.values.compact.join("\n")
  options = UniformNotifier.alert.is_a?(Hash) ? UniformNotifier.alert : {}
  script_attributes = options[:attributes] || {}
  wrap_js_association "alert( #{message.inspect} );", script_attributes
end

def active?

def active?
  !!UniformNotifier.alert
end