1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-09-29 23:40:45 +00:00

TiddlyFox updates

It now installs but doesn't do anything useful
This commit is contained in:
Jeremy Ruston 2012-08-25 17:33:17 +01:00
parent 389b6513b6
commit dcd13bf140
9 changed files with 27 additions and 25 deletions

View File

@ -2,7 +2,7 @@
# Build config for the build script, build.sh. Look there for more info.
APP_NAME=helloworld
APP_NAME=tiddlyfox
CHROME_PROVIDERS="content locale skin"
CLEAN_UP=1
ROOT_FILES="readme.txt"

View File

@ -1,6 +1,6 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://helloworld/locale/hello.dtd">
<!DOCTYPE window SYSTEM "chrome://tiddlyfox/locale/hello.dtd">
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="&title.label;">

View File

@ -1,12 +1,12 @@
var HelloWorld = {
var TiddlyFox = {
onLoad: function() {
// initialization code
this.initialized = true;
},
onMenuItemCommand: function() {
window.open("chrome://helloworld/content/hello.xul", "", "chrome");
window.open("chrome://tiddlyfox/content/hello.xul", "", "chrome");
}
};
window.addEventListener("load", function(e) { HelloWorld.onLoad(e); }, false);
window.addEventListener("load", function(e) { TiddlyFox.onLoad(e); }, false);

View File

@ -1,12 +1,12 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://helloworld/skin/overlay.css" type="text/css"?>
<!DOCTYPE overlay SYSTEM "chrome://helloworld/locale/overlay.dtd">
<overlay id="helloworld-overlay"
<?xml-stylesheet href="chrome://tiddlyfox/skin/overlay.css" type="text/css"?>
<!DOCTYPE overlay SYSTEM "chrome://tiddlyfox/locale/overlay.dtd">
<overlay id="tiddlyfox-overlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script src="overlay.js"/>
<menupopup id="menu_ToolsPopup">
<menuitem id="helloworld-hello" label="&helloworld;"
oncommand="HelloWorld.onMenuItemCommand(event);"/>
<menuitem id="tiddlyfox-hello" label="&tiddlyfox;"
oncommand="TiddlyFox.onMenuItemCommand(event);"/>
</menupopup>
</overlay>

View File

@ -4,25 +4,23 @@
<Description about="urn:mozilla:install-manifest">
<em:id>helloworld@mozilla.doslash.org</em:id>
<em:name>Hello World extension for Firefox</em:name>
<em:id>tiddlyfox@tiddlywiki.org</em:id>
<em:type>2</em:type>
<em:name>TiddlyFox extension for Firefox</em:name>
<em:version>1.0</em:version>
<em:description>Demo extension.</em:description>
<em:creator>Nickolay Ponomarev</em:creator>
<!-- optional items -->
<em:contributor>A person who helped you</em:contributor>
<em:contributor>Another one</em:contributor>
<em:homepageURL>http://kb.mozillazine.org/Getting_started_with_extension_development</em:homepageURL>
<!--em:optionsURL>chrome://sampleext/content/settings.xul</em:optionsURL>
<em:aboutURL>chrome://sampleext/content/about.xul</em:aboutURL>
<em:iconURL>chrome://sampleext/skin/mainicon.png</em:iconURL>
<em:updateURL>http://sampleextension.mozdev.org/update.rdf</em:updateURL-->
<em:description>A Firefox extension to enable TiddlyWiki to save changes directly to the file system</em:description>
<em:creator>Jeremy Ruston</em:creator>
<em:homepageURL>https://jermolene.github.com/TiddlyWiki5</em:homepageURL>
<!--em:optionsURL>chrome://tiddlyfox/content/settings.xul</em:optionsURL>
<em:aboutURL>chrome://tiddlyfox/content/about.xul</em:aboutURL>
<em:iconURL>chrome://tiddlyfox/skin/mainicon.png</em:iconURL>
<em:updateURL>http://tiddlywiki.com/tiddlyfox/update.rdf</em:updateURL-->
<!-- Firefox -->
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>3.6</em:minVersion>
<em:minVersion>3.5</em:minVersion>
<em:maxVersion>4.0.*</em:maxVersion>
</Description>
</em:targetApplication>

View File

@ -1,3 +1,7 @@
In order to test the extension, edit the file `tiddlyfox@tiddlywiki.org` to contain the path to the TiddlyFox extension folder, and then drop the file in your `[firefox profile folder]\extensions\` folder.
----
This package accompanies the article at MozillaZine Knowledge Base, which can be
found at <http://kb.mozillazine.org/Getting_started_with_extension_development>

View File

@ -1,4 +1,4 @@
/* This is just an example. You shouldn't do this. */
menuitem#helloworld-hello {
menuitem#tiddlyfox-hello {
color: red !important;
}

Binary file not shown.

View File

@ -1 +1 @@
/Users/nickolay/dev/helloworld
/path/to/this/folder