Sha256: 04e1bbe667c10ccb2ca165042ce86eb70c398dce14d1ece960302e080cc37d0f

Contents?: true

Size: 579 Bytes

Versions: 10

Compression:

Stored size: 579 Bytes

Contents

module Browsed
  class Constants
    
    BROWSERS  =   [
      :chrome,
      :firefox,
      :phantomjs
    ]
    
    RESOLUTIONS = {
      desktop: [
        [1920, 1080], #17%
        [1366, 768], #35%
        [1280, 1024], #5%
        [1280, 800], #4%
        [1024, 768] #3%
      ],
    
      phone:
      {
        '4'   =>  [320, 480],
        '5'   =>  [320, 568],
        '6'   =>  [375, 667],
        '6+'  =>  [414, 736]
      },
    
      tablet:
      {
        'standard'  =>  [1024, 768],
        'retina'    =>  [2048, 1536]
      }
    }
        
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
browsed-0.3.6 lib/browsed/constants.rb
browsed-0.3.5 lib/browsed/constants.rb
browsed-0.3.4 lib/browsed/constants.rb
browsed-0.3.3 lib/browsed/constants.rb
browsed-0.3.1 lib/browsed/constants.rb
browsed-0.3.0 lib/browsed/constants.rb
browsed-0.2.9 lib/browsed/constants.rb
browsed-0.2.8 lib/browsed/constants.rb
browsed-0.2.7 lib/browsed/constants.rb
browsed-0.2.6 lib/browsed/constants.rb