\r
for ( i = count - 1 ; i >= 0 ; i-- )\r
{\r
- if( ( child = children.getItem( i ) ) && child.is && child.is( 'li' ) )\r
+ if ( ( child = children.getItem( i ) ) && child.is && child.is( 'li' ) )\r
pendingLis.push( child );\r
}\r
}\r
followingList = li;\r
\r
// Nest preceding <ul>/<ol> inside current <li> if any.\r
- while( ( followingList = followingList.getNext() ) &&\r
+ while ( ( followingList = followingList.getNext() ) &&\r
followingList.is &&\r
followingList.getName() in listNodeNames )\r
{\r
indentUnit : 'px',\r
indentClasses : null\r
});\r
+\r
+/**\r
+ * Size of each indentation step\r
+ * @type Number\r
+ * @default 40\r
+ * @example\r
+ * config.indentOffset = 4;\r
+ */\r
+\r
+ /**\r
+ * Unit for the indentation style\r
+ * @type String\r
+ * @default 'px'\r
+ * @example\r
+ * config.indentUnit = 'em';\r
+ */\r
+\r
+ /**\r
+ * List of classes to use for indenting the contents. If it's null, no classes will be used\r
+ * and instead the {@link #indentUnit} and {@link #indentOffset} properties will be used.\r
+ * @type Array\r
+ * default null\r
+ * @example\r
+ * // Use the classes 'Indent1', 'Indent2', 'Indent3'\r
+ * config.indentClasses = ['Indent1', 'Indent2', 'Indent3'];\r
+ */\r