mirror of
				https://github.com/Jermolene/TiddlyWiki5
				synced 2025-10-30 07:03:00 +00:00 
			
		
		
		
	Used stout.write() instead of console.log()
Because console.log() processes C/C++ printf() style markers such as "%d", which happens to appear in the jQuery source code.
This commit is contained in:
		
							
								
								
									
										2
									
								
								cook.js
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								cook.js
									
									
									
									
									
								
							| @@ -12,4 +12,4 @@ var store = new tiddlywiki.TiddlyWiki(); | |||||||
|  |  | ||||||
| var theRecipe = new recipe.Recipe(store,filename); | var theRecipe = new recipe.Recipe(store,filename); | ||||||
|  |  | ||||||
| console.log(theRecipe.cook()); | process.stdout.write(theRecipe.cook()); | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								test.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								test.sh
									
									
									
									
									
								
							| @@ -10,7 +10,7 @@ cook $PWD/test/data/tiddlywiki.com/index.html.recipe -d $PWD -o tmp/oldcooked.ht | |||||||
| node cook.js $PWD/test/data/tiddlywiki.com/index.html.recipe > tmp/newcooked.html || exit 1 | node cook.js $PWD/test/data/tiddlywiki.com/index.html.recipe > tmp/newcooked.html || exit 1 | ||||||
|  |  | ||||||
| # compare the two | # compare the two | ||||||
| # opendiff tmp/oldcooked.html tmp/newcooked.html | opendiff tmp/oldcooked.html tmp/newcooked.html | ||||||
|  |  | ||||||
| # split the newly cooked tiddlywiki into tiddlers | # split the newly cooked tiddlywiki into tiddlers | ||||||
| mkdir -p tmp/tiddlers | mkdir -p tmp/tiddlers | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Jeremy Ruston
					Jeremy Ruston