       yLast: 0
       el: document.createElement 'div'
 
-    cube.el.className = "#{ @baseName }-cube #{ @baseName }-cube-#{ set }"
+    cube.el.className = "#{ @className }-cube #{ @className }-cube-#{ set }"
 
     for side in @_faceNames
       cube[side] = document.createElement 'div'
-      cube[side].className = @baseName + '-' + side
+      cube[side].className = @className + '-' + side
       cube.el.appendChild cube[side]
 
     for eventType in ['MouseDown', 'MouseMove', 'MouseUp', 'MouseOut'] then do (eventType) =>

# http://oxism.com
# Copyright 2013, MIT License


testEl = document.createElement 'div'
prefixList = ['Webkit', 'Moz', 'O', 'ms']
transform = do ->


class window.Hexaflip

  className: baseName
  _touchCoefficient: .7
  _faceNames: ['front', 'bottom', 'back', 'top', 'left', 'right']
  _faceSequence: @::_faceNames.slice 0, 4
