 # http://oxism.com
 # Copyright 2013, MIT License
 
-
+baseName = 'hexaflip'
+className = baseName[0].toUpperCase() + baseName.slice 1
 testEl = document.createElement 'div'
 prefixList = ['Webkit', 'Moz', 'O', 'ms']
 transform = do ->

      @_cubes[key].front.innerHTML = set[0]
      cubeFragment.appendChild @_cubes[key].el

    @el.classList.add @baseName
    @el.appendChild cubeFragment



      yLast: 0
      el: document.createElement 'div'

    cube.el.className = "#{ @className }-cube #{ @className }-cube-#{ set }"

    for side in @_faceNames
      cube[side] = document.createElement 'div'
      cube[side].className = @className + '-' + side
      cube.el.appendChild cube[side]

    for eventType in ['MouseDown', 'MouseMove', 'MouseUp', 'MouseOut'] then do (eventType) =>
