kopia lustrzana https://github.com/miklobit/TiddlyWiki5
JSHint obeisance
rodzic
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) {
|
||||
|
|
Ładowanie…
Reference in New Issue