Skip to content

Commit 0dfd47b

Browse files
committedFeb 4, 2014
support: add WebSQL check
1 parent 0dcfc89 commit 0dfd47b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎opal/browser/support.rb

+3
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ def self.supports?(feature)
3030
when 'ActiveX'
3131
defined?(`window.ActiveXObject`)
3232

33+
when 'WebSQL'
34+
defined?(`window.openDatabase`)
35+
3336
when 'Query.css'
3437
defined?(`document.querySelectorAll`)
3538

0 commit comments

Comments
 (0)
Please sign in to comment.