Skip to content

Commit

Permalink
support: add WebSQL check
Browse files Browse the repository at this point in the history
  • Loading branch information
meh committed Feb 4, 2014
1 parent 0dcfc89 commit 0dfd47b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions opal/browser/support.rb
Expand Up @@ -30,6 +30,9 @@ def self.supports?(feature)
when 'ActiveX'
defined?(`window.ActiveXObject`)

when 'WebSQL'
defined?(`window.openDatabase`)

when 'Query.css'
defined?(`document.querySelectorAll`)

Expand Down

0 comments on commit 0dfd47b

Please sign in to comment.