title: Mootools 1.4.5 + Fail to execute the initialize method of a subclass
body: <p>I have migrated a Joomla 1.5 website to Joomla 2.5.</p>
  
  <p>The Joomla 1.5 website uses Mootools 1.11.<br>
  The Joomla 2.5 website uses Mootools 1.4.5.<br>
  The website contains a specific functionality named annuary.</p>
  
  <p>The annuary requires some JavaScript files which are based on Mootools 1.11.<br>
  I need to adapt some instructions in these files to Mootools 1.4.5.<br>
  One of these JavaScript files is Autocompleter.js.<br>
  Here is an extract from Autocompleter.js :</p>
  
  <pre><code>var Autocompleter = {};
  
  Autocompleter.Base = new Class({
  
      ...
  
      initialize: function(el, options) {
  
          this.setOptions(options);
          this.element = $(el);
          this.build();
          this.observer = new Observer(this.element, this.prefetch.bind(this), $merge({
          delay: 400
          }, this.options.observerOptions));
          this.value = this.observer.value;
          this.queryValue = null;
      },
  
      ...
  
  });
  
  Autocompleter.Base.implement(new Events);
  
  Autocompleter.Base.implement(new Options);
  
  Autocompleter.Local = Autocompleter.Base.extend({
  
      ...
  
      initialize: function(el, tokens, options) {
  
          this.parent(el, options);
          this.tokens = tokens;
          if (this.options.filterTokens) this.filterTokens = this.options.filterTokens.bind(this);
      },
  
      ...
  
  });
  </code></pre>
  
  <p>I have noticed that the following JavaScript instruction relative to annuary does not work as expected anymore :</p>
  
  <pre><code>new Autocompleter.Local(idChamp, tabValues, {
  
      'delay': 100,
      'injectChoice': function(choice) {
          var el = new Element('li')
          .setHTML(this.markQueryValue(choice[0]))
          .adopt(new Element('span', {'class': 'example-info'}).setHTML(this.markQueryValue(choice[1])));
          el.inputValue = choice[0];
          this.addChoiceEvents(el).injectInside(this.choices);
      }
  });
  </code></pre>
  
  <p>The initialize function of Autocompleter.Base is executed.<br>
  But the initialize function of Autocompleter.Local is not.<br>
  Could someone explain me why ?<br>
  I am convinced the problem is caused by the use of Mootools 1.4.5.</p>