   @method addClass
   @param  {string} Name of stylesheet class
   ###
-  $$.fn.addClass = (name) ->
-    @each -> @classList.add name
+  $$.fn.addClass = (values) ->
+    @each -> @classList.add value for value in values.split " "
 
 
   ###

  @method addClass
  @param  {string} Name of stylesheet class
  ###
  $$.fn.removeClass = (name) ->
    @each -> @classList.remove name


  ###

  @method addClass
  @param  {string} Name of stylesheet class
  ###
  $$.fn.toggleClass = (values) ->
    @each -> @classList.toggle value for value in values.split " "


  ###
