mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-28 23:10:46 +00:00
Keeping JSHint happy
This commit is contained in:
parent
b4a5d3f259
commit
65659e9858
@ -4,7 +4,7 @@ title: js/macros/story.js
|
|||||||
\*/
|
\*/
|
||||||
(function(){
|
(function(){
|
||||||
|
|
||||||
/*jslint node: true, jquery: true */
|
/*jslint node: true, jquery: true, browser: true */
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
var Tiddler = require("../Tiddler.js").Tiddler,
|
var Tiddler = require("../Tiddler.js").Tiddler,
|
||||||
|
@ -89,7 +89,7 @@ exports.macro = {
|
|||||||
default: // "text"
|
default: // "text"
|
||||||
// Get the stringified version of the field value
|
// Get the stringified version of the field value
|
||||||
if(field !== "text" && tiddler) {
|
if(field !== "text" && tiddler) {
|
||||||
value = tiddler.getFieldString(field)
|
value = tiddler.getFieldString(field);
|
||||||
}
|
}
|
||||||
if(value === undefined || value === null) {
|
if(value === undefined || value === null) {
|
||||||
return [];
|
return [];
|
||||||
|
Loading…
Reference in New Issue
Block a user