Add plugin-priority fields for core plugins (#3113)

* Bug in plugin Ordering

Comparing plugin A without a `plugin-priority` field to plugin B with a `plugin-priority= 1` results in the plugins being ordered B, A when it seems like they should be ordered A, B.

* Switch to setting a plugin-priority on the built in themes to allow overriding parts of them.
print-window-tiddler
Matt Lauber 2018-03-20 17:05:07 -04:00 zatwierdzone przez Jeremy Ruston
rodzic a62e7d218c
commit 1dc7647640
2 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -5,5 +5,6 @@
"core-version": ">=5.0.0",
"plugin-type": "theme",
"description": "Emphasises individual tiddlers",
"dependents": ["$:/themes/tiddlywiki/vanilla"]
"dependents": ["$:/themes/tiddlywiki/vanilla"],
"plugin-priority": "0"
}

Wyświetl plik

@ -4,5 +4,6 @@
"author": "JeremyRuston",
"core-version": ">=5.0.0",
"plugin-type": "theme",
"description": "Basic theme"
"description": "Basic theme",
"plugin-priority": "0"
}