r94852 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94851‎ | r94852 | r94853 >
Date:00:54, 18 August 2011
Author:inez
Status:deferred
Tags:
Comment:
Implement method getIndex() in ListBlockItem
Modified paths:
  • /trunk/parsers/wikidom/lib/es/es.ListBlockItem.js (modified) (history)

Diff [purge]

Index: trunk/parsers/wikidom/lib/es/es.ListBlockItem.js
@@ -49,5 +49,9 @@
5050 this.flow.render();
5151 };
5252
 53+es.ListBlockItem.prototype.getIndex = function( ) {
 54+ return this.list.items.indexOf( this );
 55+};
 56+
5357 /* Inheritance */
5458 es.extend( es.ListBlockItem, es.EventEmitter );
\ No newline at end of file

Status & tagging log