Sha256: 04b883bbc6c145b57d213342d46edf91b1e2f56e7e48cdc9f65c36fae0e8c20f

Contents?: true

Size: 433 Bytes

Versions: 5

Compression:

Stored size: 433 Bytes

Contents

module Facades
  module Helpers
    ##
    # Helper methods for mobile tags and attributes
    module Mobile
      
      def mobile_meta_tags
        [ tag(:meta, {"http-equiv" => 'cleartype', 'content' => 'on' }), # IE Cleartype
          meta_tag('HandheldFriendly', 'True'),
          meta_tag('viewport', "width=device-width, minimum-scale=1.0, initial-scale=1.0")
        ].join("\n")        
      end
      
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
facades-0.0.7 lib/facades/helpers/mobile.rb
facades-0.0.6 lib/facades/helpers/mobile.rb
facades-0.0.5 lib/facades/helpers/mobile.rb
facades-0.0.4 lib/facades/helpers/mobile.rb
facades-0.0.3 lib/facades/helpers/mobile.rb