The on-demand feature of require.js is cool, and definitely worth investigating. However cook does more than stitching JavaScript files together, it also brings in and processes plugins, ordinary <DIV> tiddlers, and shadow tiddlers etc. One could imagine a hybrid where the require.js stuff was used for the JavaScript, but we'd still need the full build tool at some point.
Furthermore, I plan to use the cook.js code as the basis for the saving function in the next generation TiddlyWiki. Building up the TiddlyWiki file from the recipe dynamically will hopefully obviate the need to read the file before saving it, as currently happens for both local saves and using the TiddlySpot plugin. Yesterday I got the basic parsing of recipes up and running, and will commit it to GitHub over the next day or two. Cheers Jeremy On Tue, Nov 15, 2011 at 8:11 AM, tiddlygrp <[email protected]> wrote: > Hi Jeremy, > > Ben said it nicely as I wanted to express it: you can use require.js > on demand during development and use the built in built tool to > deliver a ready made tw (without changing the code). > > On Nov 14, 6:38 pm, Ben Gillies <[email protected]> wrote: >> Just to note, RequireJS has a build tool built into it >> already:http://requirejs.org/docs/optimization.html > > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWikiDev" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/tiddlywikidev?hl=en. > > -- Jeremy Ruston mailto:[email protected] http://www.tiddlywiki.com -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywikidev?hl=en.
