Revision 2862,
460 bytes
checked in by rodsouza, 14 years ago
(diff) |
Ticket #663 - Atualizando e centralizando o CKEditor (v. 3.2.1)
|
Rev | Line | |
---|
[2862] | 1 | /*
|
---|
| 2 | Copyright (c) 2003-2010, 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.