1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00

Keeping JSHint happy

This commit is contained in:
Jeremy Ruston 2012-04-13 13:28:38 +01:00
parent b4a5d3f259
commit 65659e9858
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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 [];