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