Revision 2000,
460 bytes
checked in by amuller, 15 years ago
(diff) |
Ticket #597 - Implementação do módulo gerenciador de arquivos
|
Rev | Line | |
---|
[2000] | 1 | /*
|
---|
| 2 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
|
---|
| 3 | For licensing, see LICENSE.html or http://ckeditor.com/license
|
---|
| 4 | */
|
---|
| 5 |
|
---|
| 6 | CKEDITOR.dom.nodeList = function( nativeList )
|
---|
| 7 | {
|
---|
| 8 | this.$ = nativeList;
|
---|
| 9 | };
|
---|
| 10 |
|
---|
| 11 | CKEDITOR.dom.nodeList.prototype =
|
---|
| 12 | {
|
---|
| 13 | count : function()
|
---|
| 14 | {
|
---|
| 15 | return this.$.length;
|
---|
| 16 | },
|
---|
| 17 |
|
---|
| 18 | getItem : function( index )
|
---|
| 19 | {
|
---|
| 20 | var $node = this.$[ index ];
|
---|
| 21 | return $node ? new CKEDITOR.dom.node( $node ) : null;
|
---|
| 22 | }
|
---|
| 23 | };
|
---|
Note: See
TracBrowser
for help on using the repository browser.