   touchSensitivity: .7
 
 
-class window.Hexaflip
-
-  className: baseName
+class window.HexaFlip
+
+  className: baseName.toLowerCase()
   _urlRx: /^((https?:)?\/\/)|(data:)/
   _faceNames: ['front', 'bottom', 'back', 'top', 'left', 'right']
   _faceSequence: @::_faceNames.slice 0, 4



if window.jQuery? or window.$?.data?
  $.fn.hexaflip = (sets, options) ->
    return @ unless css.transform

    if typeof sets is 'string'
      methodName = sets
      unless typeof Hexaflip::[methodName] is 'function'
        console.warn "#{ baseName }: No such method `#{ methodName }`" if devMode
        return @


        if instance = $.data el, baseName
          return instance
        else
          $.data el, baseName, new HexaFlip el, sets, options

