what is this ? Mootools class or object?
<p>I view a file and see that</p>

<pre><code>var Modal = {
  presets: {....},
  initialize: function(){...},
  addClick: function(){...},
  extend: $extend
}
Modal.extend(Events.prototype);
Modal.extend(Options.prototype);
Modal.extend(Chain.prototype);
</code></pre>

<p>i think Modal is a object.</p>

<p>addClick key with value is a function</p>

<p>i call it like addClick function.</p>

<p>in this function have a line </p>

<p>this.setOptions();</p>

<p>and i catch a error : this.setOptions is not a function</p>
