forked from talos/jquery-svgpan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLICENSE.txt
106 lines (78 loc) · 4.32 KB
/
LICENSE.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
THIS LICENSE IS FOR JQUERY-SVGPAN. The original SVGPan library,
from which it derived, is governed by the second license below.
Copyright 2012 John Krauss. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
THIS SOFTWARE IS PROVIDED BY JOHN KRAUSS ''AS IS'' AND ANY EXPRESS
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL JOHN KRAUSS OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
The views and conclusions contained in the software and
documentation are those of the authors and should not be
interpreted as representing official policies, either expressed or
implied, of John Krauss.
===================
SVGPan library 1.2.2 license and documentation:
SVGPan library 1.2.2
======================
Given an unique existing element with id "viewport" (or when missing, the
first g-element), including the the library into any SVG adds the following
capabilities:
- Mouse panning
- Mouse zooming (using the wheel)
- Object dragging
You can configure the behaviour of the pan/zoom/drag with the variables
listed in the CONFIGURATION section of this file.
Known issues:
- Zooming (while panning) on Safari has still some issues
Releases:
1.2.2, Tue Aug 30 17:21:56 CEST 2011, Andrea Leofreddi
- Fixed viewBox on root tag (#7)
- Improved zoom speed (#2)
1.2.1, Mon Jul 4 00:33:18 CEST 2011, Andrea Leofreddi
- Fixed a regression with mouse wheel (now working on Firefox 5)
- Working with viewBox attribute (#4)
- Added "use strict;" and fixed resulting warnings (#5)
- Added configuration variables, dragging is disabled by default (#3)
1.2, Sat Mar 20 08:42:50 GMT 2010, Zeng Xiaohui
Fixed a bug with browser mouse handler interaction
1.1, Wed Feb 3 17:39:33 GMT 2010, Zeng Xiaohui
Updated the zoom code to support the mouse wheel on Safari/Chrome
1.0, Andrea Leofreddi
First release
This code is licensed under the following BSD license:
Copyright 2009-2010 Andrea Leofreddi <[email protected]>. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are
permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of
conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list
of conditions and the following disclaimer in the documentation and/or other materials
provided with the distribution.
THIS SOFTWARE IS PROVIDED BY Andrea Leofreddi ``AS IS'' AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Andrea Leofreddi OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
The views and conclusions contained in the software and documentation are those of the
authors and should not be interpreted as representing official policies, either expressed
or implied, of Andrea Leofreddi.