Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 712a6ca2

Přidáno uživatelem Pavel Fidranský před více než 6 roky(ů)

dropped GraphHistory JS class

Zobrazit rozdíly:

sources/src/main/webapp/js/app.js
9 9
	this.graphLoader = new GraphLoader;
10 10
	/** @prop {GraphExporter} graphExporter */
11 11
	this.graphExporter = new GraphExporter;
12
	/** @prop {GraphHistory} graphHistory */
13
	this.graphHistory = new GraphHistory;
14 12
	/** @prop {Loader} loader */
15 13
	this.loader = new Loader;
16 14
	/** @prop {Zoom} zoom */
sources/src/main/webapp/js/graphHistory.js
1
/**
2
 * @constructor
3
 */
4
function GraphHistory() {
5

  
6
	this.goBack = function() {
7
		history.back();
8
	};
9

  
10
	this.goForward = function() {
11
		history.forward();
12
	};
13

  
14
	this.goTo = function(pageNumber) {
15
		history.go(pageNumber);
16
	};
17

  
18
}
sources/src/main/webapp/showGraph.jsp
47 47
		<script src="js/forceDirected.js"></script>
48 48
		<script src="js/graphLoader.js"></script>
49 49
		<script src="js/graphExporter.js"></script>
50
		<script src="js/graphHistory.js"></script>
51 50
		<script src="js/loader.js"></script>
52 51
		<script src="js/markSymbol.js"></script>
53 52
		<script src="js/utils/cookies.js"></script>

Také k dispozici: Unified diff