title: javascript/jquery error "invalid object initializer"
body: <p>I'm calling a function like this: </p>
  
  <pre><code>myfunc($tab, {'top-left', 'bottom-left'}, defaults.tabRounded);
  </code></pre>
  
  <p>The function definition is: </p>
  
  <pre><code>function myfunc(obj, properties, value) {
  </code></pre>
  
  <p>Yet I get the error "Invalid object initializer". Is this because of the json argument? Or something else?</p>