     super options, data
 
     loaderEl = @getElement().firstChild
-    { size } = @getOptions()
+    size     = "#{@getOptions().size}px"
 
-    goog.style.setWidth  loaderEl, size
-    goog.style.setHeight loaderEl, size
+    loaderEl.style.width  = size
+    loaderEl.style.height = size
 
 
   ###*

  ###*
    Enum for template configs.

    @enum {string}
    @export
  ###
  @TemplateConfigs =
    'SPINNER'     : { baseClass: 'spinner', itemCount: 12 }
    'CIRCLE'      : { baseClass: 'circle',  itemCount: 3  }
    'BOUNCE'      : { baseClass: 'bounce',  itemCount: 2  }
    'BAR'         : { baseClass: 'bar',     itemCount: 5  }
    'PULSE'       : { baseClass: 'pulse'  }
    'SQUARE'      : { baseClass: 'square' }


  ###*

  ###
  constructor: (options = {}, data) ->

    options.type     or= spark.components.Loader.LoaderTypes.CIRCLE
    options.size      ?= 50
    options.template   = @getLoaderTemplate_ options

    @getCssClass options, 'loader'
