title: Rangy.js - createClassApplier with Multiple Classes
body: <p>I am trying to create a class applier that would wrap the selection in the following element:</p>
  
  <pre><code>&lt;code class="mainClass selector1 selector2"&gt;Selected Content&lt;/code&gt;
  </code></pre>
  
  <p>I am doing the following:</p>
  
  <pre><code>var Applier = rangy.createClassApplier("mainClass",
  {
      elementTagName: "code",
      elementProperties:
      {
          className: [ "selector1", "selector2" ]
      }
  });
  
  Applier.toggleSelection();
  </code></pre>
  
  <p>This yields the following:</p>
  
  <pre><code>&lt;code class="mainClass selector1,selector2"&gt;Selected Content&lt;/code&gt;
  </code></pre>
  
  <p>What is the syntax to create the applier so that it does what I am trying to do?</p>