title: Meteor-Jade and object literals?
body: <p>I use Jade in Meteor and want to set a placeholder in <code>EasySearch.Input</code> like this:</p>
  
  <pre><code>+EasySearch.Input(index=objects_index attributes={placeholder: 'sample'})
  </code></pre>
  
  <p>At least the documentation suggests this way:</p>
  
  <blockquote>
    <p><strong>attributes</strong>: Object containing input attributes (e.g. { placeholder: "Search..." })</p>
  </blockquote>
  
  <p>I tried this in a naive way, and client crashed:</p>
  
  <pre><code> While processing files with mquandalle:jade (for target web.browser):
   client/objlist.jade: Jade syntax error: Expected IDENTIFIER
   ...ch.Input attributes=('placeholder': 'samp...
                      ^
   client/objlist.jade: Jade syntax error: Cannot read property 'head' of undefined
  </code></pre>
  
  <p>I tried a solution from github issues:</p>
  
  <pre><code>+EasySearch.Input(attributes="{{{placeholder: 'sample'}}}" index=objects_index)
  </code></pre>
  
  <p>Still this didn't work.</p>
  
  <blockquote>
    <p>html.js:232 Uncaught Error: Illegal HTML attribute name: 0</p>
  </blockquote>
  
  <p>Should I publish a variable or make another helper for this?</p>