mirror of
				https://github.com/Jermolene/TiddlyWiki5
				synced 2025-10-31 15:42:59 +00:00 
			
		
		
		
	JSHint obeisance
This commit is contained in:
		| @@ -591,6 +591,7 @@ if($tw.browser) { | |||||||
| Execute the module named 'moduleName'. The name can optionally be relative to the module named 'moduleRoot' | Execute the module named 'moduleName'. The name can optionally be relative to the module named 'moduleRoot' | ||||||
| */ | */ | ||||||
| $tw.modules.execute = function(moduleName,moduleRoot) { | $tw.modules.execute = function(moduleName,moduleRoot) { | ||||||
|  | 	/*jslint evil: true */ | ||||||
| 	var name = moduleRoot ? $tw.utils.resolvePath(moduleName,moduleRoot) : moduleName, | 	var name = moduleRoot ? $tw.utils.resolvePath(moduleName,moduleRoot) : moduleName, | ||||||
| 		require = function(modRequire) { | 		require = function(modRequire) { | ||||||
| 			return $tw.modules.execute(modRequire,name); | 			return $tw.modules.execute(modRequire,name); | ||||||
|   | |||||||
| @@ -45,7 +45,6 @@ Define a JavaScript tiddler module for later execution | |||||||
| 	definition: module definition; see discussion above | 	definition: module definition; see discussion above | ||||||
| */ | */ | ||||||
| $tw.modules.define = function(moduleName,moduleType,definition) { | $tw.modules.define = function(moduleName,moduleType,definition) { | ||||||
| 	/*jslint evil: true */ |  | ||||||
| 	// Create the moduleInfo | 	// Create the moduleInfo | ||||||
| 	var moduleInfo = { | 	var moduleInfo = { | ||||||
| 		moduleType: moduleType, | 		moduleType: moduleType, | ||||||
|   | |||||||
| @@ -40,7 +40,7 @@ exports["application/x-tiddler"] = function(tiddlers) { | |||||||
| 	return mapEachTiddler(this,tiddlers,function(tiddler) { | 	return mapEachTiddler(this,tiddlers,function(tiddler) { | ||||||
| 		return tiddler.getFieldStringBlock({exclude: ["text"]}) + "\n\n" + tiddler.fields.text; | 		return tiddler.getFieldStringBlock({exclude: ["text"]}) + "\n\n" + tiddler.fields.text; | ||||||
| 	}); | 	}); | ||||||
| } | }; | ||||||
|  |  | ||||||
| exports["application/x-tiddler-css"] = function(tiddlers) { | exports["application/x-tiddler-css"] = function(tiddlers) { | ||||||
| 	return mapEachTiddler(this,tiddlers,function(tiddler) { | 	return mapEachTiddler(this,tiddlers,function(tiddler) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Jeremy Ruston
					Jeremy Ruston