Mercurial > hg > digilib-old
comparison webapp/src/main/webapp/jquery/svg/jquery.digilibSVG.js @ 1107:365f95a14057
factor out defineArea, using overlay div
author | hertzhaft |
---|---|
date | Sat, 27 Oct 2012 00:06:29 +0200 |
parents | ad769aaea759 |
children |
comparison
equal
deleted
inserted
replaced
1106:68756216e018 | 1107:365f95a14057 |
---|---|
12 | 12 |
13 You should have received a copy of the GNU Lesser General Public License | 13 You should have received a copy of the GNU Lesser General Public License |
14 along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | 15 |
16 Authors: | 16 Authors: |
17 Martin Raspe, Robert Casties, 9.2.2011 | 17 Martin Raspe, Robert Casties, 9.2.2011 - 26.3.2012 |
18 | |
18 */ | 19 */ |
19 | 20 |
20 /** | 21 /** |
21 * digilib SVG plugin (measuring tool for use within the digilib jQuery plugin) | 22 * digilib SVG plugin (measuring tool for use within the digilib jQuery plugin) |
22 **/ | 23 **/ |
23 | 24 |
24 | |
25 /* jslint browser: true, debug: true, forin: true | 25 /* jslint browser: true, debug: true, forin: true |
26 */ | 26 */ |
27 | |
28 // fallback for console.log calls | |
29 if (typeof(console) === 'undefined') { | |
30 var console = { | |
31 log : function(){}, | |
32 debug : function(){}, | |
33 error : function(){} | |
34 }; | |
35 var customConsole = true; | |
36 } | |
37 | 27 |
38 (function($) { | 28 (function($) { |
39 | 29 |
40 // plugin object with digilib data | 30 // plugin object with digilib data |
41 var digilib = null; | 31 var digilib = null; |