JSHint obeisance

print-window-tiddler
Jeremy Ruston 2012-11-15 12:38:25 +00:00
rodzic 752a05d52f
commit 1e51f56754
3 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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);

Wyświetl plik

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

Wyświetl plik

@ -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) {