1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00

Removed the zoomin story viewer for the moment

This commit is contained in:
Jeremy Ruston 2012-05-19 12:58:47 +01:00
parent cbb813da9b
commit 19d308dd9c

View File

@ -1,30 +0,0 @@
/*\
title: $:/core/modules/macros/story/zoomin.js
type: application/javascript
module-type: storyview
A storyview that shows a single tiddler and navigates by zooming into links
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";
function Zoomin(story) {
this.story = story;
var wrapper = this.story.children[0].domNode;
wrapper.style.position = "relative";
for(var t=0; t<wrapper.children.length; t++) {
wrapper.children[t].style.position = "absolute";
}
}
Zoomin.prototype.tiddlerAdded = function(newTiddlerNode) {
newTiddlerNode.domNode.style.position = "absolute";
}
exports.zoomin = Zoomin;
})();