It should work with .js and .js.meta files. Try using the startup module type
and structuring your code like this:
(function () {
/*jslint node: false, browser: true */
/*global $tw: false */
"use strict";
exports.name = "mypluginname"; exports.after = ["rootwidget"];
exports.startup = function () {
... Your startup code here...
}
})();
Using the .after will make tiddlywiki delay your startup until the specified
dependencies have been initialized. Not sure if you need to wait for the root
widget, but you can try that and back off to an earlier point if needed.
There should be some more info about this scattered around tiddlywiki.com and
tiddlywiki.com/dev :)
Hope it helps.
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/91f99d8e-def0-439b-b9e2-945005c77866%40googlegroups.com.