lib/mobileesp.rb
def detect_black_berry_high
      # Disambiguate for BlackBerry OS 6 (WebKit) browser
      return false if detect_black_berry_web_kit

      detect_black_berry && (detect_black_berry_touch || !@user_agent.index(DEVICE_BB_BOLD).nil? || !@user_agent.index(DEVICE_BB_TOUR).nil? || !@user_agent.index(DEVICE_BB_CURVE).nil?)
    end
# Detects if the current browser is a BlackBerry device AND
#   has a more capable recent browser.
#   Examples, Storm, Bold, Tour, Curve2
#   Excludes the new BlackBerry OS 6 browser!!
Detects if the current browser is a BlackBerry device AND
has a more capable recent browser.
Examples, Storm, Bold, Tour, Curve2
Excludes the new BlackBerry OS 6 browser
Detects if the current browser is a BlackBerry device AND has a more capable recent browser . Examples Storm Bold Tour Curve2 Excludes the new BlackBerry OS 6 browser
def detect_black_berry_high
      return false if detect_black_berry_web_kit
      detect_black_berry && (detect_black_berry_touch || !@user_agent.index(DEVICE_BB_BOLD).nil? || !@user_agent.index(DEVICE_BB_TOUR).nil? || !@user_agent.index(DEVICE_BB_CURVE).nil?)
    end
def detect_black_berry_high return false if detect_black_berry_web_kit detect_black_berry && ( detect_black_berry_touch || ! @user_agent . index ( DEVICE_BB_BOLD ) . nil? || ! @user_agent . index ( DEVICE_BB_TOUR ) . nil? || ! @user_agent . index ( DEVICE_BB_CURVE ) . nil? ) end
Detects if the current browser is a BlackBerry device AND
has a more capable recent browser.
Detects if the current browser is a BlackBerry device AND has a more capable recent browser .
# Disambiguate for BlackBerry OS 6 (WebKit) browser