kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Better wording and naming
rodzic
0a220a09da
commit
717e9ae913
|
@ -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:
|
||||
|
||||
* ''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
|
||||
* ''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
|
||||
|
|
|
@ -3,7 +3,7 @@ title: $:/plugins/tiddlywiki/text-slicer/modules/slicers/definition.js
|
|||
type: application/javascript
|
||||
module-type: slicer
|
||||
|
||||
Handle slicing definition list definition nodes
|
||||
Handle slicing definition nodes in definition lists
|
||||
|
||||
\*/
|
||||
(function(){
|
||||
|
@ -12,7 +12,7 @@ Handle slicing definition list definition nodes
|
|||
/*global $tw: false */
|
||||
"use strict";
|
||||
|
||||
exports.processDefinitionItemNode = function(domNode,tagName) {
|
||||
exports.processDefinitionNode = function(domNode,tagName) {
|
||||
var text = $tw.utils.htmlEncode(domNode.textContent);
|
||||
if(domNode.nodeType === 1 && tagName === "dd") {
|
||||
// if(!this.isBlank(text)) {
|
||||
|
|
|
@ -3,7 +3,7 @@ title: $:/plugins/tiddlywiki/text-slicer/modules/slicers/term.js
|
|||
type: application/javascript
|
||||
module-type: slicer
|
||||
|
||||
Handle slicing definition list term nodes
|
||||
Handle slicing term nodes in definition lists
|
||||
|
||||
\*/
|
||||
(function(){
|
||||
|
@ -12,7 +12,7 @@ Handle slicing definition list term nodes
|
|||
/*global $tw: false */
|
||||
"use strict";
|
||||
|
||||
exports.processTermItemNode = function(domNode,tagName) {
|
||||
exports.processTermNode = function(domNode,tagName) {
|
||||
var text = $tw.utils.htmlEncode(domNode.textContent);
|
||||
if(domNode.nodeType === 1 && tagName === "dt") {
|
||||
// if(!this.isBlank(text)) {
|
||||
|
|
Ładowanie…
Reference in New Issue