1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-01-23 23:46:52 +00:00

Better wording and naming

This commit is contained in:
Evolena 2015-10-24 12:01:43 +02:00
parent 0a220a09da
commit 717e9ae913
3 changed files with 5 additions and 5 deletions

View File

@ -151,7 +151,7 @@ Definition lists are represented by several tiddlers: one for the definition lis
The tiddler representing the definition list itself has the following fields: The tiddler representing the definition list itself has the following fields:
* ''toc-type'': the text "def-list" * ''toc-type'': the text "def-list"
* ''toc-list-filter'': the default filter used to generate the titles of the list-items * ''toc-list-filter'': the default filter used to generate the titles of the definition list items
* ''title'': an automatically generated unique title * ''title'': an automatically generated unique title
* ''list'': ordered list of titles of tiddlers representing the items (terms and/or definition) in the definition list * ''list'': ordered list of titles of tiddlers representing the items (terms and/or definition) in the definition list
* ''tags'': any CSS classes found in the HTML are converted into tags * ''tags'': any CSS classes found in the HTML are converted into tags

View File

@ -3,7 +3,7 @@ title: $:/plugins/tiddlywiki/text-slicer/modules/slicers/definition.js
type: application/javascript type: application/javascript
module-type: slicer module-type: slicer
Handle slicing definition list definition nodes Handle slicing definition nodes in definition lists
\*/ \*/
(function(){ (function(){
@ -12,7 +12,7 @@ Handle slicing definition list definition nodes
/*global $tw: false */ /*global $tw: false */
"use strict"; "use strict";
exports.processDefinitionItemNode = function(domNode,tagName) { exports.processDefinitionNode = function(domNode,tagName) {
var text = $tw.utils.htmlEncode(domNode.textContent); var text = $tw.utils.htmlEncode(domNode.textContent);
if(domNode.nodeType === 1 && tagName === "dd") { if(domNode.nodeType === 1 && tagName === "dd") {
// if(!this.isBlank(text)) { // if(!this.isBlank(text)) {

View File

@ -3,7 +3,7 @@ title: $:/plugins/tiddlywiki/text-slicer/modules/slicers/term.js
type: application/javascript type: application/javascript
module-type: slicer module-type: slicer
Handle slicing definition list term nodes Handle slicing term nodes in definition lists
\*/ \*/
(function(){ (function(){
@ -12,7 +12,7 @@ Handle slicing definition list term nodes
/*global $tw: false */ /*global $tw: false */
"use strict"; "use strict";
exports.processTermItemNode = function(domNode,tagName) { exports.processTermNode = function(domNode,tagName) {
var text = $tw.utils.htmlEncode(domNode.textContent); var text = $tw.utils.htmlEncode(domNode.textContent);
if(domNode.nodeType === 1 && tagName === "dt") { if(domNode.nodeType === 1 && tagName === "dt") {
// if(!this.isBlank(text)) { // if(!this.isBlank(text)) {