Mercurial > hg > STI-GWT
comparison war/Sti.html @ 67:5b049141a26e trimmed_data
add whitespace removal function to jquery prototype
author | Sebastian Kruse <skruse@mpiwg-berlin.mpg.de> |
---|---|
date | Wed, 02 Jan 2013 16:52:01 +0100 |
parents | 5c883f5d270a |
children |
comparison
equal
deleted
inserted
replaced
66:c7df41c5de53 | 67:5b049141a26e |
---|---|
10 <link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> | 10 <link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> |
11 <meta http-equiv="content-type" content="text/html; charset=UTF-8"> | 11 <meta http-equiv="content-type" content="text/html; charset=UTF-8"> |
12 | 12 |
13 <title>DARIAH GeoBrowser – e4D Spatio-Temporal Interface</title> | 13 <title>DARIAH GeoBrowser – e4D Spatio-Temporal Interface</title> |
14 | 14 |
15 <script src="scripts/jQuery/jquery-1.5.1.js"></script> | |
16 <script> | |
17 $.fn.cleanWhitespace = function() { | |
18 textNodes = this.contents().filter( | |
19 function() { return (this.nodeType == 3 && !/\S/.test(this.nodeValue)); }) | |
20 .remove(); | |
21 return this; | |
22 }; | |
23 </script> | |
15 <script type="text/javascript" language="javascript" src="sti/sti.nocache.js"></script> | 24 <script type="text/javascript" language="javascript" src="sti/sti.nocache.js"></script> |
16 <script src="scripts/jQuery/jquery-1.5.1.js"></script> | |
17 <script src="scripts/blockUI/FullscreenWindow.js"></script> | 25 <script src="scripts/blockUI/FullscreenWindow.js"></script> |
18 <script src="scripts/Timeplot/timeplot-complete.js"></script> | 26 <script src="scripts/Timeplot/timeplot-complete.js"></script> |
19 <link type="text/css" rel="stylesheet" href="Sti.css"> | 27 <link type="text/css" rel="stylesheet" href="Sti.css"> |
20 <link type="text/css" rel="stylesheet" href="scripts/OpenLayers/theme/default/style.css"> | 28 <link type="text/css" rel="stylesheet" href="scripts/OpenLayers/theme/default/style.css"> |
21 | 29 |