Removed the zoomin story viewer for the moment

print-window-tiddler
Jeremy Ruston 2012-05-19 12:58:47 +01:00
rodzic cbb813da9b
commit 19d308dd9c
1 zmienionych plików z 0 dodań i 30 usunięć

Wyświetl plik

@ -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;
})();