mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-11-01 16:13:00 +00:00
Better wording and naming
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user