1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-09-28 15:08:46 +00:00

Rename the navigationcatcher macro to navigator

This commit is contained in:
Jeremy Ruston 2012-10-25 12:55:36 +01:00
parent 7c19b9f5a3
commit 6d397edf30
4 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
/*\
title: $:/core/modules/macros/navigationcatcher.js
title: $:/core/modules/macros/navigator.js
type: application/javascript
module-type: macro
@ -13,7 +13,7 @@ Traps navigation events to update a story tiddler and history tiddler. Can also
"use strict";
exports.info = {
name: "navigationcatcher",
name: "navigator",
params: {
story: {byName: "default", type: "text"}, // Actually a tiddler, but we don't want it to be a dependency
history: {byName: "default", type: "text"}, // Actually a tiddler, but we don't want it to be a dependency

View File

@ -1,7 +1,7 @@
title: $:/templates/PageTemplate
<!-- The navigator catches navigation events and updates the story and history tiddlers -->
<<navigationcatcher ><
<<navigator ><
<!-- Zooming chooser -->
{{navigation-panel{
@ -76,7 +76,7 @@ title: $:/templates/PageTemplate
}}}
<!-- This navigator intercepts navigation events and sets the text of the specified tiddler to the target tiddler title -->
<<navigationcatcher set:[[$:/CurrentView]]><
<<navigator set:[[$:/CurrentView]]><
<<reveal state:ViewDropDownState type:popup position:below><
<div class="open">
{{dropdown-menu tw-suppress-missing-tiddlylink{

View File

@ -1,7 +1,7 @@
title: $:/templates/PageTemplate
<!-- The navigator catches navigation events and updates the story and history tiddlers -->
<<navigationcatcher story:"$:/StoryTiddlers" history:"$:/History" ><
<<navigator story:"$:/StoryTiddlers" history:"$:/History" ><
<!-- Zooming chooser -->
{{navigation-panel{
@ -51,7 +51,7 @@ title: $:/templates/PageTemplate
}}}
<!-- This navigator intercepts navigation events and sets the text of the specified tiddler to the target tiddler title -->
<<navigationcatcher set:[[$:/CurrentView]]><
<<navigator set:[[$:/CurrentView]]><
<<reveal state:ViewDropDownState type:popup position:below><
<div class="open">
{{dropdown-menu tw-suppress-missing-tiddlylink{

View File

@ -1,7 +1,7 @@
title: $:/templates/PageTemplate
<!-- The navigator catches navigation events and updates the story and history tiddlers -->
<<navigationcatcher story:"$:/StoryTiddlers" history:"$:/History" ><
<<navigator story:"$:/StoryTiddlers" history:"$:/History" ><
<!-- The top navigation bar -->
<div class="navbar navbar-fixed-top">