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