Commit 55ba476b0ab8ea0bca013e9fcc98c28b168d0efa

Authored by Renato De Donato
1 parent 2c581ce4

page-slider room

Showing 43 changed files with 66 additions and 3909 deletions
controllets/page-slider-controllet/demo/index.html
@@ -36,7 +36,7 @@ @@ -36,7 +36,7 @@
36 switch (e.detail.selected) { 36 switch (e.detail.selected) {
37 case 0: 37 case 0:
38 slider.setTitle("DATASET SOURCE", "Copy and paste/drag and drop in the textarea the url of datasource"); 38 slider.setTitle("DATASET SOURCE", "Copy and paste/drag and drop in the textarea the url of datasource");
39 - slider.chevronLeft(false); 39 + slider.chevronLeft("invisible");
40 break; 40 break;
41 case 1: 41 case 1:
42 slider.setTitle("Title", "Subtitle"); 42 slider.setTitle("Title", "Subtitle");
controllets/page-slider-controllet/page-slider-controllet.html
@@ -15,9 +15,10 @@ @@ -15,9 +15,10 @@
15 <style is="custom-style"> 15 <style is="custom-style">
16 paper-icon-button{ 16 paper-icon-button{
17 color: #00BCD4; 17 color: #00BCD4;
18 - height: 48px;  
19 - width: 48px; 18 + height: 64px;
  19 + width: 64px;
20 padding: 0px; 20 padding: 0px;
  21 + margin: 0px;
21 --paper-icon-button-ink-color: #00BCD4; 22 --paper-icon-button-ink-color: #00BCD4;
22 } 23 }
23 24
@@ -38,12 +39,12 @@ @@ -38,12 +39,12 @@
38 39
39 .chevron-left{ 40 .chevron-left{
40 float: left; 41 float: left;
41 - margin-top: 8px; 42 + /*margin-top: 8px;*/
42 } 43 }
43 44
44 .chevron-right{ 45 .chevron-right{
45 float: right; 46 float: right;
46 - margin-top: 8px; 47 + /*margin-top: 8px;*/
47 } 48 }
48 49
49 .box{ 50 .box{
@@ -82,8 +83,8 @@ @@ -82,8 +83,8 @@
82 </style> 83 </style>
83 84
84 <div class="header"> 85 <div class="header">
85 - <paper-icon-button class="chevron-left" on-click="_onPrevClick" icon="chevron-left"></paper-icon-button>  
86 - <paper-icon-button class="chevron-right" on-click="_onNextClick" icon="chevron-right"></paper-icon-button> 86 + <paper-icon-button class="chevron-left" on-click="_onPrevClick" icon="arrow-back" title="back"></paper-icon-button>
  87 + <paper-icon-button class="chevron-right" on-click="_onNextClick" icon="arrow-forward" title="forward"></paper-icon-button>
87 88
88 <div class="box"> 89 <div class="box">
89 <div class="avatar">[[avatar]]</div> 90 <div class="avatar">[[avatar]]</div>
@@ -168,10 +169,12 @@ @@ -168,10 +169,12 @@
168 169
169 if(flag == "invisible") { 170 if(flag == "invisible") {
170 buttons[0].style.visibility = "hidden"; 171 buttons[0].style.visibility = "hidden";
  172 +// buttons[0].style.width = "0px";
171 return; 173 return;
172 } 174 }
173 else 175 else
174 buttons[0].style.visibility = "visible"; 176 buttons[0].style.visibility = "visible";
  177 +// buttons[0].style.width = "64px";
175 178
176 if(flag) 179 if(flag)
177 buttons[0].removeAttribute("disabled"); 180 buttons[0].removeAttribute("disabled");
controllets/room-controllet/room-controllet.html
1 <link rel="import" href="../../bower_components/polymer/polymer.html" /> 1 <link rel="import" href="../../bower_components/polymer/polymer.html" />
2 2
  3 +<link rel="import" href="../../bower_components/paper-dialog/paper-dialog.html">
  4 +
3 <dom-module id="room-controllet"> 5 <dom-module id="room-controllet">
4 6
5 <template> 7 <template>
6 8
7 <style is="custom-style"> 9 <style is="custom-style">
8 10
9 - .cos {  
10 - height: 400px;  
11 - width: 400px;  
12 - background-color: red; 11 + .room {
  12 + cursor: pointer;
  13 + }
  14 +
  15 + .room-body {
  16 +
  17 + }
  18 +
  19 + .room-subject {
  20 +
  21 + }
  22 +
  23 + .room-timestamp {
  24 +
13 } 25 }
  26 +
14 </style> 27 </style>
15 28
16 - <div class=" cos grid-item"> 29 + <div id={{roomId}} class="grid-item room" on-mouseover="_showTooltip">
17 <div class="room-body"><span>{{body}}</span></div> 30 <div class="room-body"><span>{{body}}</span></div>
18 <div class="room-subject"><span>{{subject}}</span></div> 31 <div class="room-subject"><span>{{subject}}</span></div>
19 <div class="room-timestamp">{{timestamp}}</div> 32 <div class="room-timestamp">{{timestamp}}</div>
20 </div> 33 </div>
21 34
  35 + <paper-dialog id="dialog_info_input">
  36 + <h2 id="dialog_name"></h2>
  37 + <p id="dialog_description"></p>
  38 + </paper-dialog>
  39 +
22 </template> 40 </template>
23 41
24 <script> 42 <script>
@@ -29,49 +47,66 @@ @@ -29,49 +47,66 @@
29 47
30 properties : { 48 properties : {
31 49
32 - body : { 50 + roomId : {
  51 + type : Number,
  52 + value : undefined
  53 + },
  54 +
  55 + roomColor : {
33 type : String, 56 type : String,
34 value : "" 57 value : ""
35 }, 58 },
36 59
37 - subject : { 60 + roomHeight : {
  61 + type : Number,
  62 + value : undefined
  63 + },
  64 +
  65 + roomWidth : {
  66 + type : Number,
  67 + value : undefined
  68 + },
  69 +
  70 + body : {
38 type : String, 71 type : String,
39 value : "" 72 value : ""
40 }, 73 },
41 74
42 - timestamp : { 75 + subject : {
43 type : String, 76 type : String,
44 value : "" 77 value : ""
45 }, 78 },
46 79
47 - color : { 80 + timestamp : {
48 type : String, 81 type : String,
49 value : "" 82 value : ""
50 }, 83 },
51 84
52 openData : { 85 openData : {
53 type : Number, 86 type : Number,
54 - value : 0 87 + value : undefined
55 }, 88 },
56 89
57 comments : { 90 comments : {
58 type : Number, 91 type : Number,
59 - value : 0  
60 - },  
61 -  
62 - roomHeight : {  
63 - type : Number,  
64 - value : 0  
65 - },  
66 -  
67 - roomWidth : {  
68 - type : Number,  
69 - value : 0 92 + value : undefined
70 } 93 }
71 94
72 }, 95 },
73 96
74 attached : function() { 97 attached : function() {
  98 + var room = document.getElementById(this.roomId);
  99 + console.log(room);
  100 + $(room).height(this.roomHeight);
  101 + $(room).width(this.roomWidth);
  102 + $(room).css('background', this.roomColor)
  103 +// $(this.$.room).height(this.roomHeight);
  104 +// $(this.$.room).width(this.roomWidth);
  105 +// $(this.$.room).css('background', this.color)
  106 + },
  107 +
  108 + _showTooltip: function() {
  109 + console.log("weeeeeeeeeeee");
75 } 110 }
76 111
77 }); 112 });
controllets/shared_js/tooltipster-master/.gitignore deleted
1 -.DS_Store  
controllets/shared_js/tooltipster-master/LICENSE deleted
1 -The MIT License (MIT)  
2 -  
3 -Copyright (c) 2015 Caleb Jacob  
4 -  
5 -Permission is hereby granted, free of charge, to any person obtaining a copy  
6 -of this software and associated documentation files (the "Software"), to deal  
7 -in the Software without restriction, including without limitation the rights  
8 -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell  
9 -copies of the Software, and to permit persons to whom the Software is  
10 -furnished to do so, subject to the following conditions:  
11 -  
12 -The above copyright notice and this permission notice shall be included in all  
13 -copies or substantial portions of the Software.  
14 -  
15 -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR  
16 -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,  
17 -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE  
18 -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER  
19 -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,  
20 -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE  
21 -SOFTWARE.  
controllets/shared_js/tooltipster-master/README.md deleted
1 -Tooltipster  
2 -===========  
3 -  
4 -A jQuery tooltip plugin by Caleb Jacob under MIT license.  
5 -Compatible with Mozilla Firefox, Google Chrome, IE8+ and others. Requires jQuery 1.7+  
6 -  
7 -A reminder of options/methods lies below. For detailed documentation, visit http://iamceege.github.io/tooltipster/  
8 -  
9 -Options  
10 --------------------------  
11 -  
12 -animation  
13 -arrow  
14 -arrowColor  
15 -autoClose  
16 -content  
17 -contentAsHTML  
18 -contentCloning  
19 -debug  
20 -delay  
21 -minWidth  
22 -maxWidth  
23 -functionInit  
24 -functionBefore  
25 -functionReady  
26 -functionAfter  
27 -hideOnClick  
28 -icon  
29 -iconCloning  
30 -iconDesktop  
31 -iconTheme  
32 -iconTouch  
33 -interactive  
34 -interactiveTolerance  
35 -multiple  
36 -offsetX  
37 -offsetY  
38 -onlyOne  
39 -position  
40 -positionTracker  
41 -positionTrackerCallback  
42 -restoration  
43 -speed  
44 -timer  
45 -theme  
46 -touchDevices  
47 -trigger  
48 -updateAnimation  
49 -  
50 -Methods  
51 --------------------------  
52 -  
53 -$.fn.tooltipster('setDefaults', {})  
54 -$(...).tooltipster('show' [, callback])  
55 -$(...).tooltipster('hide' [, callback])  
56 -$(...).tooltipster('disable')  
57 -$(...).tooltipster('enable')  
58 -$(...).tooltipster('destroy')  
59 -$(...).tooltipster('content')  
60 -$(...).tooltipster('content', myNewContent)  
61 -$(...).tooltipster('option', optionName)  
62 -$(...).tooltipster('option', optionName, optionValue)  
63 -$(...).tooltipster('reposition')  
64 -$(...).tooltipster('elementTooltip')  
65 -$(...).tooltipster('elementIcon')  
66 \ No newline at end of file 0 \ No newline at end of file
controllets/shared_js/tooltipster-master/bower.json deleted
1 -{  
2 - "name": "tooltipster",  
3 - "version": "3.3.0",  
4 - "main": ["js/jquery.tooltipster.min.js", "css/tooltipster.css"],  
5 - "dependencies": {  
6 - "jquery": ">=1.7"  
7 - }  
8 -}  
9 \ No newline at end of file 0 \ No newline at end of file
controllets/shared_js/tooltipster-master/css/themes/tooltipster-light.css deleted
1 -.tooltipster-light {  
2 - border-radius: 5px;  
3 - border: 1px solid #cccccc;  
4 - background: #ededed;  
5 - color: #666666;  
6 -}  
7 -.tooltipster-light .tooltipster-content {  
8 - font-family: Arial, sans-serif;  
9 - font-size: 14px;  
10 - line-height: 16px;  
11 - padding: 8px 10px;  
12 -}  
13 \ No newline at end of file 0 \ No newline at end of file
controllets/shared_js/tooltipster-master/css/themes/tooltipster-noir.css deleted
1 -.tooltipster-noir {  
2 - border-radius: 0px;  
3 - border: 3px solid #2c2c2c;  
4 - background: #fff;  
5 - color: #2c2c2c;  
6 -}  
7 -.tooltipster-noir .tooltipster-content {  
8 - font-family: 'Georgia', serif;  
9 - font-size: 14px;  
10 - line-height: 16px;  
11 - padding: 8px 10px;  
12 -}  
13 \ No newline at end of file 0 \ No newline at end of file
controllets/shared_js/tooltipster-master/css/themes/tooltipster-punk.css deleted
1 -.tooltipster-punk {  
2 - border-radius: 5px;  
3 - border-bottom: 3px solid #f71169;  
4 - background: #2a2a2a;  
5 - color: #fff;  
6 -}  
7 -.tooltipster-punk .tooltipster-content {  
8 - font-family: 'Courier', monospace;  
9 - font-size: 14px;  
10 - line-height: 16px;  
11 - padding: 8px 10px;  
12 -}  
13 \ No newline at end of file 0 \ No newline at end of file
controllets/shared_js/tooltipster-master/css/themes/tooltipster-shadow.css deleted
1 -.tooltipster-shadow {  
2 - border-radius: 5px;  
3 - background: #fff;  
4 - box-shadow: 0px 0px 14px rgba(0,0,0,0.3);  
5 - color: #2c2c2c;  
6 -}  
7 -.tooltipster-shadow .tooltipster-content {  
8 - font-family: 'Arial', sans-serif;  
9 - font-size: 14px;  
10 - line-height: 16px;  
11 - padding: 8px 10px;  
12 -}  
13 \ No newline at end of file 0 \ No newline at end of file
controllets/shared_js/tooltipster-master/css/tooltipster.css deleted
1 -/* This is the default Tooltipster theme (feel free to modify or duplicate and create multiple themes!): */  
2 -.tooltipster-default {  
3 - border-radius: 5px;  
4 - border: 2px solid #000;  
5 - background: #4c4c4c;  
6 - color: #fff;  
7 -}  
8 -  
9 -/* Use this next selector to style things like font-size and line-height: */  
10 -.tooltipster-default .tooltipster-content {  
11 - font-family: Arial, sans-serif;  
12 - font-size: 14px;  
13 - line-height: 16px;  
14 - padding: 8px 10px;  
15 - overflow: hidden;  
16 -}  
17 -  
18 -/* This next selector defines the color of the border on the outside of the arrow. This will automatically match the color and size of the border set on the main tooltip styles. Set display: none; if you would like a border around the tooltip but no border around the arrow */  
19 -.tooltipster-default .tooltipster-arrow .tooltipster-arrow-border {  
20 - /* border-color: ... !important; */  
21 -}  
22 -  
23 -  
24 -/* If you're using the icon option, use this next selector to style them */  
25 -.tooltipster-icon {  
26 - cursor: help;  
27 - margin-left: 4px;  
28 -}  
29 -  
30 -  
31 -  
32 -  
33 -  
34 -  
35 -  
36 -  
37 -/* This is the base styling required to make all Tooltipsters work */  
38 -.tooltipster-base {  
39 - padding: 0;  
40 - font-size: 0;  
41 - line-height: 0;  
42 - position: absolute;  
43 - left: 0;  
44 - top: 0;  
45 - z-index: 9999999;  
46 - pointer-events: none;  
47 - width: auto;  
48 - overflow: visible;  
49 -}  
50 -.tooltipster-base .tooltipster-content {  
51 - overflow: hidden;  
52 -}  
53 -  
54 -  
55 -/* These next classes handle the styles for the little arrow attached to the tooltip. By default, the arrow will inherit the same colors and border as what is set on the main tooltip itself. */  
56 -.tooltipster-arrow {  
57 - display: block;  
58 - text-align: center;  
59 - width: 100%;  
60 - height: 100%;  
61 - position: absolute;  
62 - top: 0;  
63 - left: 0;  
64 - z-index: -1;  
65 -}  
66 -.tooltipster-arrow span, .tooltipster-arrow-border {  
67 - display: block;  
68 - width: 0;  
69 - height: 0;  
70 - position: absolute;  
71 -}  
72 -.tooltipster-arrow-top span, .tooltipster-arrow-top-right span, .tooltipster-arrow-top-left span {  
73 - border-left: 8px solid transparent !important;  
74 - border-right: 8px solid transparent !important;  
75 - border-top: 8px solid;  
76 - bottom: -7px;  
77 -}  
78 -.tooltipster-arrow-top .tooltipster-arrow-border, .tooltipster-arrow-top-right .tooltipster-arrow-border, .tooltipster-arrow-top-left .tooltipster-arrow-border {  
79 - border-left: 9px solid transparent !important;  
80 - border-right: 9px solid transparent !important;  
81 - border-top: 9px solid;  
82 - bottom: -7px;  
83 -}  
84 -  
85 -.tooltipster-arrow-bottom span, .tooltipster-arrow-bottom-right span, .tooltipster-arrow-bottom-left span {  
86 - border-left: 8px solid transparent !important;  
87 - border-right: 8px solid transparent !important;  
88 - border-bottom: 8px solid;  
89 - top: -7px;  
90 -}  
91 -.tooltipster-arrow-bottom .tooltipster-arrow-border, .tooltipster-arrow-bottom-right .tooltipster-arrow-border, .tooltipster-arrow-bottom-left .tooltipster-arrow-border {  
92 - border-left: 9px solid transparent !important;  
93 - border-right: 9px solid transparent !important;  
94 - border-bottom: 9px solid;  
95 - top: -7px;  
96 -}  
97 -.tooltipster-arrow-top span, .tooltipster-arrow-top .tooltipster-arrow-border, .tooltipster-arrow-bottom span, .tooltipster-arrow-bottom .tooltipster-arrow-border {  
98 - left: 0;  
99 - right: 0;  
100 - margin: 0 auto;  
101 -}  
102 -.tooltipster-arrow-top-left span, .tooltipster-arrow-bottom-left span {  
103 - left: 6px;  
104 -}  
105 -.tooltipster-arrow-top-left .tooltipster-arrow-border, .tooltipster-arrow-bottom-left .tooltipster-arrow-border {  
106 - left: 5px;  
107 -}  
108 -.tooltipster-arrow-top-right span, .tooltipster-arrow-bottom-right span {  
109 - right: 6px;  
110 -}  
111 -.tooltipster-arrow-top-right .tooltipster-arrow-border, .tooltipster-arrow-bottom-right .tooltipster-arrow-border {  
112 - right: 5px;  
113 -}  
114 -.tooltipster-arrow-left span, .tooltipster-arrow-left .tooltipster-arrow-border {  
115 - border-top: 8px solid transparent !important;  
116 - border-bottom: 8px solid transparent !important;  
117 - border-left: 8px solid;  
118 - top: 50%;  
119 - margin-top: -7px;  
120 - right: -7px;  
121 -}  
122 -.tooltipster-arrow-left .tooltipster-arrow-border {  
123 - border-top: 9px solid transparent !important;  
124 - border-bottom: 9px solid transparent !important;  
125 - border-left: 9px solid;  
126 - margin-top: -8px;  
127 -}  
128 -.tooltipster-arrow-right span, .tooltipster-arrow-right .tooltipster-arrow-border {  
129 - border-top: 8px solid transparent !important;  
130 - border-bottom: 8px solid transparent !important;  
131 - border-right: 8px solid;  
132 - top: 50%;  
133 - margin-top: -7px;  
134 - left: -7px;  
135 -}  
136 -.tooltipster-arrow-right .tooltipster-arrow-border {  
137 - border-top: 9px solid transparent !important;  
138 - border-bottom: 9px solid transparent !important;  
139 - border-right: 9px solid;  
140 - margin-top: -8px;  
141 -}  
142 -  
143 -  
144 -/* Some CSS magic for the awesome animations - feel free to make your own custom animations and reference it in your Tooltipster settings! */  
145 -  
146 -.tooltipster-fade {  
147 - opacity: 0;  
148 - -webkit-transition-property: opacity;  
149 - -moz-transition-property: opacity;  
150 - -o-transition-property: opacity;  
151 - -ms-transition-property: opacity;  
152 - transition-property: opacity;  
153 -}  
154 -.tooltipster-fade-show {  
155 - opacity: 1;  
156 -}  
157 -  
158 -.tooltipster-grow {  
159 - -webkit-transform: scale(0,0);  
160 - -moz-transform: scale(0,0);  
161 - -o-transform: scale(0,0);  
162 - -ms-transform: scale(0,0);  
163 - transform: scale(0,0);  
164 - -webkit-transition-property: -webkit-transform;  
165 - -moz-transition-property: -moz-transform;  
166 - -o-transition-property: -o-transform;  
167 - -ms-transition-property: -ms-transform;  
168 - transition-property: transform;  
169 - -webkit-backface-visibility: hidden;  
170 -}  
171 -.tooltipster-grow-show {  
172 - -webkit-transform: scale(1,1);  
173 - -moz-transform: scale(1,1);  
174 - -o-transform: scale(1,1);  
175 - -ms-transform: scale(1,1);  
176 - transform: scale(1,1);  
177 - -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);  
178 - -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);  
179 - -moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);  
180 - -ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);  
181 - -o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);  
182 - transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);  
183 -}  
184 -  
185 -.tooltipster-swing {  
186 - opacity: 0;  
187 - -webkit-transform: rotateZ(4deg);  
188 - -moz-transform: rotateZ(4deg);  
189 - -o-transform: rotateZ(4deg);  
190 - -ms-transform: rotateZ(4deg);  
191 - transform: rotateZ(4deg);  
192 - -webkit-transition-property: -webkit-transform, opacity;  
193 - -moz-transition-property: -moz-transform;  
194 - -o-transition-property: -o-transform;  
195 - -ms-transition-property: -ms-transform;  
196 - transition-property: transform;  
197 -}  
198 -.tooltipster-swing-show {  
199 - opacity: 1;  
200 - -webkit-transform: rotateZ(0deg);  
201 - -moz-transform: rotateZ(0deg);  
202 - -o-transform: rotateZ(0deg);  
203 - -ms-transform: rotateZ(0deg);  
204 - transform: rotateZ(0deg);  
205 - -webkit-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 1);  
206 - -webkit-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);  
207 - -moz-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);  
208 - -ms-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);  
209 - -o-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);  
210 - transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);  
211 -}  
212 -  
213 -.tooltipster-fall {  
214 - top: 0;  
215 - -webkit-transition-property: top;  
216 - -moz-transition-property: top;  
217 - -o-transition-property: top;  
218 - -ms-transition-property: top;  
219 - transition-property: top;  
220 - -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);  
221 - -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);  
222 - -moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);  
223 - -ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);  
224 - -o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);  
225 - transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);  
226 -}  
227 -.tooltipster-fall-show {  
228 -}  
229 -.tooltipster-fall.tooltipster-dying {  
230 - -webkit-transition-property: all;  
231 - -moz-transition-property: all;  
232 - -o-transition-property: all;  
233 - -ms-transition-property: all;  
234 - transition-property: all;  
235 - top: 0px !important;  
236 - opacity: 0;  
237 -}  
238 -  
239 -.tooltipster-slide {  
240 - left: -40px;  
241 - -webkit-transition-property: left;  
242 - -moz-transition-property: left;  
243 - -o-transition-property: left;  
244 - -ms-transition-property: left;  
245 - transition-property: left;  
246 - -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);  
247 - -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);  
248 - -moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);  
249 - -ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);  
250 - -o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);  
251 - transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);  
252 -}  
253 -.tooltipster-slide.tooltipster-slide-show {  
254 -}  
255 -.tooltipster-slide.tooltipster-dying {  
256 - -webkit-transition-property: all;  
257 - -moz-transition-property: all;  
258 - -o-transition-property: all;  
259 - -ms-transition-property: all;  
260 - transition-property: all;  
261 - left: 0px !important;  
262 - opacity: 0;  
263 -}  
264 -  
265 -  
266 -/* CSS transition for when contenting is changing in a tooltip that is still open. The only properties that will NOT transition are: width, height, top, and left */  
267 -.tooltipster-content-changing {  
268 - opacity: 0.5;  
269 - -webkit-transform: scale(1.1, 1.1);  
270 - -moz-transform: scale(1.1, 1.1);  
271 - -o-transform: scale(1.1, 1.1);  
272 - -ms-transform: scale(1.1, 1.1);  
273 - transform: scale(1.1, 1.1);  
274 -}  
controllets/shared_js/tooltipster-master/demo/index.html deleted
1 -<!DOCTYPE html>  
2 -<html lang="en">  
3 -<head>  
4 - <title></title>  
5 - <meta charset="UTF-8" />  
6 - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">  
7 - <link rel="stylesheet" type="text/css" href="reset.css" />  
8 - <link rel="stylesheet" type="text/css" href="style.css" />  
9 - <link rel="stylesheet" type="text/css" href="../css/tooltipster.css" />  
10 -  
11 - <script type="text/javascript" src="//code.jquery.com/jquery-1.7.0.min.js"></script>  
12 - <script type="text/javascript" src="../js/jquery.tooltipster.js"></script>  
13 -  
14 - <script type="text/javascript">  
15 - $(document).ready(function() {  
16 - $('.tooltip').tooltipster();  
17 - });  
18 - </script>  
19 -</head>  
20 -<body>  
21 -  
22 - <section class="container tooltip" title="Parent container">  
23 - <a href="http://google.com" class="tooltip" title="Get your Google on">Google</a>  
24 - </section>  
25 -  
26 - <div id="hi" style="width: 100px; height: 100px; margin: 0 0 0 500px; background: #f00; position: fixed; top: 100px; right: 100px;" class="tooltip" title="This is the tooltip"></div>  
27 -  
28 - <section class="container">  
29 - <img src="map.png" usemap="#map" />  
30 - <map name="map">  
31 - <area shape="circle" coords="396,220,102" href="#" class="tooltip" title="Hello thar, mate!" />  
32 - </map>  
33 - </section>  
34 -</body>  
35 -</html>  
controllets/shared_js/tooltipster-master/demo/map.png deleted

6.2 KB

controllets/shared_js/tooltipster-master/demo/reset.css deleted
1 -@charset "UTF-8";  
2 -  
3 -html, body, div, span, applet, object, iframe,  
4 -h1, h2, h3, h4, h5, h6, p, blockquote, pre,  
5 -a, abbr, acronym, address, big, cite, code,  
6 -del, dfn, em, img, ins, kbd, q, s, samp,  
7 -small, strike, strong, sub, sup, tt, var,  
8 -b, u, i, center,  
9 -dl, dt, dd, ol, ul, li,  
10 -fieldset, form, label, legend,  
11 -table, caption, tbody, tfoot, thead, tr, th, td,  
12 -article, aside, canvas, details, embed,  
13 -figure, figcaption, footer, header, hgroup,  
14 -menu, nav, output, ruby, section, summary,  
15 -time, mark, audio, video {  
16 - margin: 0;  
17 - padding: 0;  
18 - border: 0;  
19 - font-size:100%;  
20 - vertical-align: baseline;  
21 -}  
22 -/* HTML5 display-role reset for older browsers */  
23 -article, aside, details, figcaption, figure,  
24 -footer, header, hgroup, menu, nav, section {  
25 - display: block;  
26 -}  
27 -body {  
28 - line-height: 1;  
29 -}  
30 -ol, ul {  
31 - list-style: none;  
32 -}  
33 -blockquote, q {  
34 - quotes: none;  
35 -}  
36 -blockquote:before, blockquote:after,  
37 -q:before, q:after {  
38 - content: '';  
39 - content: none;  
40 -}  
41 -table {  
42 - border-collapse: collapse;  
43 - border-spacing: 0;  
44 -}  
45 -  
controllets/shared_js/tooltipster-master/demo/style.css deleted
1 -/* Main */  
2 -  
3 -body {  
4 - background-color: #dcdcdc;  
5 - color: #0b0b0b;  
6 - font-size: 16px;  
7 - line-height: 22px;  
8 -}  
9 -  
10 -.container, #container {  
11 - width: 978px;  
12 - margin: 10px auto;  
13 - padding: 60px;  
14 - box-shadow: 0px 0px 10px rgba(0,0,0,0.2);  
15 - background: #fff;  
16 - text-align: left;  
17 - display: block;  
18 - overflow: hidden;  
19 -}  
20 -  
21 -.item {  
22 - width: 200px;  
23 - float: left;  
24 - padding: 10px;  
25 - margin: 10px;  
26 - background: #000;  
27 - color: #fff;  
28 -}  
29 \ No newline at end of file 0 \ No newline at end of file
controllets/shared_js/tooltipster-master/doc/css/prettify.css deleted
1 -/* Pretty printing styles. Used with prettify.js. */  
2 -  
3 -/* SPAN elements with the classes below are added by prettyprint. */  
4 -.pln { color: #000 } /* plain text */  
5 -  
6 -@media screen {  
7 - .str { color: #080 } /* string content */  
8 - .kwd { color: #008 } /* a keyword */  
9 - .com { color: #800 } /* a comment */  
10 - .typ { color: #606 } /* a type name */  
11 - .lit { color: #066 } /* a literal value */  
12 - /* punctuation, lisp open bracket, lisp close bracket */  
13 - .pun, .opn, .clo { color: #660 }  
14 - .tag { color: #008 } /* a markup tag name */  
15 - .atn { color: #606 } /* a markup attribute name */  
16 - .atv { color: #080 } /* a markup attribute value */  
17 - .dec, .var { color: #606 } /* a declaration; a variable name */  
18 - .fun { color: red } /* a function name */  
19 -}  
20 -  
21 -/* Use higher contrast and text-weight for printable form. */  
22 -@media print, projection {  
23 - .str { color: #060 }  
24 - .kwd { color: #006; font-weight: bold }  
25 - .com { color: #600; font-style: italic }  
26 - .typ { color: #404; font-weight: bold }  
27 - .lit { color: #044 }  
28 - .pun, .opn, .clo { color: #440 }  
29 - .tag { color: #006; font-weight: bold }  
30 - .atn { color: #404 }  
31 - .atv { color: #060 }  
32 -}  
33 -  
34 -/* Specify class=linenums on a pre to get line numbering */  
35 -ol.linenums { margin-top: 0; margin-bottom: 0 } /* IE indents via margin-left */  
36 -li.L0,  
37 -li.L1,  
38 -li.L2,  
39 -li.L3,  
40 -li.L5,  
41 -li.L6,  
42 -li.L7,  
43 -li.L8 { list-style-type: none }  
44 -/* Alternate shading for lines */  
45 -li.L1,  
46 -li.L3,  
47 -li.L5,  
48 -li.L7,  
49 -li.L9 { background: #eee }  
controllets/shared_js/tooltipster-master/doc/css/reset.css deleted
1 -@charset "UTF-8";  
2 -  
3 -html, body, div, span, applet, object, iframe,  
4 -h1, h2, h3, h4, h5, h6, p, blockquote, pre,  
5 -a, abbr, acronym, address, big, cite, code,  
6 -del, dfn, em, img, ins, kbd, q, s, samp,  
7 -small, strike, strong, sub, sup, tt, var,  
8 -b, u, i, center,  
9 -dl, dt, dd, ol, ul, li,  
10 -fieldset, form, label, legend,  
11 -table, caption, tbody, tfoot, thead, tr, th, td,  
12 -article, aside, canvas, details, embed,  
13 -figure, figcaption, footer, header, hgroup,  
14 -menu, nav, output, ruby, section, summary,  
15 -time, mark, audio, video {  
16 - margin: 0;  
17 - padding: 0;  
18 - border: 0;  
19 - font-size:100%;  
20 - vertical-align: baseline;  
21 -}  
22 -/* HTML5 display-role reset for older browsers */  
23 -article, aside, details, figcaption, figure,  
24 -footer, header, hgroup, menu, nav, section {  
25 - display: block;  
26 -}  
27 -body {  
28 - line-height: 1;  
29 -}  
30 -ol, ul {  
31 - list-style: none;  
32 -}  
33 -blockquote, q {  
34 - quotes: none;  
35 -}  
36 -blockquote:before, blockquote:after,  
37 -q:before, q:after {  
38 - content: '';  
39 - content: none;  
40 -}  
41 -table {  
42 - border-collapse: collapse;  
43 - border-spacing: 0;  
44 -}  
45 -  
controllets/shared_js/tooltipster-master/doc/css/style.css deleted
1 -/*blue #0078c9  
2 -orange #ff5e3c */  
3 -  
4 -@import url(//fonts.googleapis.com/css?family=Open+Sans:300,400,600,700);  
5 -  
6 -@font-face {  
7 - font-family: 'icomoon';  
8 - src:url('../images/icons/icomoon.eot');  
9 - src:url('../images/icons/icomoond41d.eot?#iefix') format('embedded-opentype'),  
10 - url('../images/icons/icomoon.svg#icomoon') format('svg'),  
11 - url('../images/icons/icomoon.woff') format('woff'),  
12 - url('../images/icons/icomoon.ttf') format('truetype');  
13 - font-weight: normal;  
14 - font-style: normal;  
15 -}  
16 -  
17 -::selection {  
18 - background: #0078c9;  
19 - color: #fff;  
20 -}  
21 -::-moz-selection {  
22 - background: #0078c9;  
23 - color: #fff;  
24 -}  
25 -  
26 -body {  
27 - color: #5d6365;  
28 - font-size: 1em;  
29 - line-height: 1.6em;  
30 - font-family: 'Open Sans', sans-serif;  
31 - font-weight: 300;  
32 - background: #5d6365;  
33 -}  
34 -  
35 -#background {  
36 - position: absolute;  
37 - top: 0;  
38 - left: 0;  
39 - width: 100%;  
40 - height: 100%;  
41 - overflow: hidden;  
42 -}  
43 -#background img {  
44 - min-height: 100%;  
45 - min-width: 100%;  
46 -}  
47 -#background:before {  
48 - content: '';  
49 - display: block;  
50 - width: 100%;  
51 - height: 20%;  
52 - position: absolute;  
53 - bottom: 0;  
54 - background: -moz-linear-gradient(top, rgba(93,99,101,0) 0%, rgba(93,99,101,1) 100%); /* FF3.6+ */  
55 - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(93,99,101,0)), color-stop(100%,rgba(93,99,101,1))); /* Chrome,Safari4+ */  
56 - background: -webkit-linear-gradient(top, rgba(93,99,101,0) 0%,rgba(93,99,101,1) 100%); /* Chrome10+,Safari5.1+ */  
57 - background: -o-linear-gradient(top, rgba(93,99,101,0) 0%,rgba(93,99,101,1) 100%); /* Opera 11.10+ */  
58 - background: -ms-linear-gradient(top, rgba(93,99,101,0) 0%,rgba(93,99,101,1) 100%); /* IE10+ */  
59 - background: linear-gradient(to bottom, rgba(93,99,101,0) 0%,rgba(93,99,101,1) 100%); /* W3C */  
60 - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#005d6365', endColorstr='#5d6365',GradientType=0 ); /* IE6-9 */  
61 -}  
62 -  
63 -#wrapper {  
64 - width: 100%;  
65 - max-width: 1300px;  
66 - margin: 0 auto;  
67 - position: relative;  
68 - box-shadow: 0.6em 0px 15px rgba(0,0,0,0.1), -0.6em 0px 15px rgba(0,0,0,0.1);  
69 -}  
70 -  
71 -* {  
72 - -webkit-transition: all 300ms;  
73 - -moz-transition: all 300ms;  
74 - -o-transition: all 300ms;  
75 - -ms-transition: all 300ms;  
76 - transition: all 300ms;  
77 -}  
78 -  
79 -h1 {  
80 - font-weight: 300;  
81 - font-size: 1.4em;  
82 - line-height: 1.4em;  
83 - margin-bottom: 1.8em;  
84 -}  
85 -h2 {  
86 - color: #a9b1b3;  
87 - font-weight: 300;  
88 - font-size: 4em;  
89 - line-height: 1.4em;  
90 - margin-bottom: 0.5em;  
91 -}  
92 -h3 {  
93 - font-size: 2em;  
94 - line-height: 1.4em;  
95 - margin-bottom: 0.7em;  
96 - padding-top: 1em;  
97 -}  
98 -h4 {  
99 - font-size: 1.4em;  
100 - line-height: 1.4em;  
101 - font-weight: 400;  
102 - margin-bottom: 1em;  
103 -}  
104 -p {  
105 - margin-bottom: 1.5em;  
106 -}  
107 -  
108 -strong {  
109 - font-weight: 600;  
110 -}  
111 -  
112 -a {  
113 - text-decoration: none;  
114 - color: #0078c9;  
115 - font-weight: 600;  
116 -}  
117 -a:hover {  
118 - color: #a9b1b3;  
119 -}  
120 -a.alt {  
121 - color: rgba(255,255,255,0.75);  
122 -}  
123 -a.alt:hover {  
124 - color: rgba(255,255,255,1);  
125 -}  
126 -  
127 -a:before {  
128 - font-family: 'icomoon';  
129 - font-style: normal;  
130 - speak: none;  
131 - font-weight: normal;  
132 - line-height: 1;  
133 - -webkit-font-smoothing: antialiased;  
134 -}  
135 -  
136 -a.button {  
137 - display: inline-block;  
138 - padding: 0.8em 1em;  
139 - border: 3px solid #ff5e3c;  
140 - border-radius: 6px;  
141 - color: #ff5e3c;  
142 - background: #fff;  
143 - font-weight: 600;  
144 -}  
145 -a.button:hover {  
146 - background: #ff5e3c;  
147 - color: #fff;  
148 -}  
149 -a.button.alt {  
150 - color: #ff5e3c;  
151 - border: none;  
152 -}  
153 -a.button.alt:hover {  
154 - background: #ff5e3c;  
155 - color: #fff;  
156 - border: none;  
157 -}  
158 -a.button:active {  
159 - -webkit-transform: scale3d(0.95,0.95,1);  
160 - -moz-transform: scale3d(0.95,0.95,1);  
161 - -o-transform: scale3d(0.95,0.95,1);  
162 - -ms-transform: scale3d(0.95,0.95,1);  
163 - transform: scale3d(0.95,0.95,1);  
164 -}  
165 -  
166 -a.white {  
167 - color: #fff;  
168 - padding-bottom: 3px;  
169 - border-bottom: 1px solid rgba(255,255,255,0);  
170 -}  
171 -a.white:hover {  
172 - border-bottom: 1px solid rgba(255,255,255,1);  
173 -}  
174 -  
175 -.row {  
176 - overflow: hidden;  
177 -}  
178 -  
179 -header {  
180 - background: #fff;  
181 - max-width: 1300px;  
182 - box-shadow: 0px 3px 0px rgba(0,0,0,0.05);  
183 -}  
184 -header select {  
185 - display: none;  
186 -}  
187 -  
188 -section {  
189 - width: 100%;  
190 - margin: 0 auto;  
191 - overflow: hidden;  
192 - border-bottom: 2px dashed #e5eaeb;  
193 - padding: 6em;  
194 - background: #fff;  
195 - box-sizing: border-box;  
196 - -moz-box-sizing: border-box;  
197 -}  
198 -#talk {  
199 - border-bottom: none !important;  
200 -}  
201 -  
202 -footer {  
203 - width: 100%;  
204 - margin: 0 auto;  
205 - padding: 6em;  
206 - background: #0078c9;  
207 - color: #fff;  
208 - box-sizing: border-box;  
209 - -moz-box-sizing: border-box;  
210 - text-align: center;  
211 -}  
212 -  
213 -nav {  
214 - width: 100%;  
215 - max-width: 1300px;  
216 - box-sizing: border-box;  
217 - -moz-box-sizing: border-box;  
218 - background: #fff;  
219 - float: right;  
220 - z-index: 2;  
221 - text-align: right;  
222 -}  
223 -nav ul {  
224 - display: block;  
225 - width: auto;  
226 - float: right;  
227 -}  
228 -nav li {  
229 - display: inline-block;  
230 - margin: 0;  
231 - float: left;  
232 -}  
233 -nav a {  
234 - display: inline-block;  
235 - font-weight: 400;  
236 - color: #a9b1b3;  
237 - padding: 1.5em 0.75em;  
238 -}  
239 -nav a:hover {  
240 - background: #0078c9;  
241 - color: #fff;  
242 -}  
243 -  
244 -#mobile-nav {  
245 - display: none;  
246 -}  
247 -  
248 -#social {  
249 - width: auto;  
250 - position: absolute;  
251 - left: 0;  
252 - top: 0;  
253 - z-index: 3;  
254 -}  
255 -#social div {  
256 - float: left;  
257 - width: 90px;  
258 - padding: 1.5em 2em;  
259 -}  
260 -#tweet {  
261 - margin-top: 2px;  
262 -}  
263 -div#github {  
264 - position: relative;  
265 - bottom: 4px;  
266 - margin-left: 0px;  
267 - padding-top: 2em;  
268 - width: 90px;  
269 -}  
270 -#github a {  
271 - -webkit-transition: none;  
272 - -moz-transition: none;  
273 - -o-transition: none;  
274 - -ms-transition: none;  
275 - transition: none;  
276 -}  
277 -  
278 -pre {  
279 - box-sizing: border-box;  
280 - -moz-box-sizing: border-box;  
281 - padding: 3em;  
282 - background: #e6eff1;  
283 - box-shadow: 0px 0px 20px rgba(0,0,0,0.0);  
284 - margin-bottom: 4em;  
285 - white-space: pre-wrap;  
286 -}  
287 -pre:hover {  
288 - background: #fff;  
289 - box-shadow: 0px 0px 20px rgba(0,0,0,0.3);  
290 -}  
291 -pre:last-child {  
292 - margin-bottom: 0;  
293 -}  
294 -  
295 -  
296 -/*  
297 --------------------------------------  
298 -Welcome  
299 --------------------------------------  
300 -*/  
301 -  
302 -#welcome {  
303 - text-align: center;  
304 - padding: 12em 0 9em;  
305 - color: #fff;  
306 - width: 100%;  
307 - border-bottom: none;  
308 - background: rgba(0,0,0,0.3);  
309 -}  
310 -  
311 -#welcome h1 {  
312 - display: block;  
313 - max-width: 635px;  
314 - margin-left: auto;  
315 - margin-right: auto;  
316 -}  
317 -  
318 -#tooltipster {  
319 - width: 100%;  
320 - max-width: 258px;  
321 - margin-bottom: 2em;  
322 -}  
323 -  
324 -#browser-support {  
325 - margin-bottom: 2.8em;  
326 -}  
327 -#browser-support li {  
328 - display: inline-block;  
329 - margin: 0.25em;  
330 - font-size: 0;  
331 - line-height: 0;  
332 -}  
333 -#browser-support li img {  
334 - height: 42px;  
335 - opacity: 0.5;  
336 -}  
337 -#browser-support li img:hover {  
338 - opacity: 1;  
339 -}  
340 -  
341 -#download {  
342 - font-size: 1.2em;  
343 - line-height: 1.4em;  
344 - width: 100%;  
345 -}  
346 -#download a.button {  
347 - margin-right: 0.6em;  
348 -}  
349 -#download a.button:before {  
350 - content: "\64";  
351 - padding-right: 1em;  
352 - font-size: 0.9em;  
353 -}  
354 -  
355 -  
356 -/*  
357 --------------------------------------  
358 -Demos  
359 --------------------------------------  
360 -*/  
361 -  
362 -#demos ul {  
363 - display: block;  
364 - width: 100%;  
365 - font-size: 1.4em;  
366 - line-height: 1.4em;  
367 -}  
368 -#demos li {  
369 - display: block;  
370 - width: 50%;  
371 - font-weight: 400;  
372 - margin-bottom: 1em;  
373 - overflow: hidden;  
374 - padding-top: 1.4em;  
375 - padding-right: 2em;  
376 - box-sizing: border-box;  
377 - -moz-box-sizing: border-box;  
378 - float: left;  
379 -}  
380 -#demos span {  
381 - display: block;  
382 - border: 3px solid #ff5e3c;  
383 - border-radius: 100%;  
384 - box-sizing: border-box;  
385 - -moz-box-sizing: border-box;  
386 - width: 5em;  
387 - height: 5em;  
388 - background: #ff5e3c;  
389 - color: #fff;  
390 - font-size: 0.6em;  
391 - line-height: 1em;  
392 - font-weight: 700;  
393 - padding: 1.8em 0 0 0;  
394 - text-align: center;  
395 - margin: -1.4em 1em 0 0;  
396 - text-transform: uppercase;  
397 - float: left;  
398 -}  
399 -#demos span:hover {  
400 - background: #fff !important;  
401 - color: #5d6365;  
402 - border: 3px solid #5d6365 !important;  
403 - cursor: pointer;  
404 -}  
405 -  
406 -  
407 -/*  
408 --------------------------------------  
409 -Tooltips  
410 --------------------------------------  
411 -*/  
412 -  
413 -#demos span.tooltipster-icon {  
414 - cursor: help;  
415 - margin-left: 4px;  
416 - background: #0078c9;  
417 - border: 3px solid #0078c9;  
418 - width: 2.3em;  
419 - height: 2.3em;  
420 - padding: 0.4em 0 0;  
421 - margin: 2em 0 0 -3em;  
422 -}  
423 -  
424 -.tooltipster-default .tooltipster-content {  
425 - font-family: 'Open Sans', sans-serif;  
426 -}  
427 -.tooltipster-default .tooltipster-content img {  
428 - float: left;  
429 - margin-right: 10px;  
430 - border: 2px solid #000;  
431 -}  
432 -.tooltipster-default .tooltipster-content p {  
433 - margin: 0;  
434 -}  
435 -.tooltipster-default .tooltipster-content a {  
436 - color: #fff;  
437 - border-bottom: 1px solid rgba(255,255,255,0.4);  
438 -}  
439 -.tooltipster-default .tooltipster-content a:hover {  
440 - color: #fff;  
441 - border-bottom: 1px solid rgba(255,255,255,1);  
442 -}  
443 -  
444 -.tooltipster-blue {  
445 - background: #0078c9;  
446 - color: #fff;  
447 - border-radius: 5px;  
448 -}  
449 -.tooltipster-blue .tooltipster-content {  
450 - font-family: 'Open Sans', sans-serif;  
451 - font-size: 14px;  
452 - line-height: 16px;  
453 - padding: 8px 10px;  
454 -}  
455 -  
456 -.tooltipster-white {  
457 - background: #fff;  
458 - color: #0078c9;  
459 - border-radius: 5px;  
460 -}  
461 -.tooltipster-white .tooltipster-content {  
462 - font-family: 'Open Sans', sans-serif;  
463 - font-size: 14px;  
464 - line-height: 16px;  
465 - padding: 8px 10px;  
466 -}  
467 -  
468 -.tooltipster-pink {  
469 - background: url(../images/pattern-navy.png);  
470 - background-color: #ff3c70;  
471 - color: #fff;  
472 - border-radius: 5px;  
473 - box-shadow: inset -3px -3px 0 #ff3c70;  
474 -}  
475 -.tooltipster-pink .tooltipster-content {  
476 - font-family: 'Courier', monospace;  
477 - font-weight: 400;  
478 - font-size: 16px;  
479 - line-height: 16px;  
480 - padding: 15px 18px;  
481 -}  
482 -  
483 -  
484 -/*  
485 --------------------------------------  
486 -Options  
487 --------------------------------------  
488 -*/  
489 -  
490 -table {  
491 - width: 100%;  
492 -}  
493 -table h4 {  
494 - margin-bottom: 0;  
495 -}  
496 -tr:nth-child(odd) {  
497 - background: #f4f5f7;  
498 -}  
499 -td {  
500 - padding: 2em;  
501 -}  
502 -td h4 {  
503 - font-family: 'Courier', monospace;  
504 - color: #0078c9;  
505 -}  
506 -  
507 -  
508 -/*  
509 --------------------------------------  
510 -Themes  
511 --------------------------------------  
512 -*/  
513 -  
514 -#themes .themes span {  
515 - display: inline-block;  
516 - padding: 1em;  
517 - margin-right: 1em;  
518 - margin-bottom: 1em;  
519 - opacity: 0.8;  
520 -}  
521 -  
522 -.tooltipster-default-preview {  
523 - border-radius: 5px;  
524 - border: 2px solid #000;  
525 - background: #4c4c4c;  
526 - color: #fff;  
527 - font-family: Arial, sans-serif;  
528 - font-size: 14px;  
529 - line-height: 16px;  
530 - padding: 8px 10px;  
531 - font-weight: 400;  
532 - box-sizing: border-box;  
533 - -moz-box-sizing: border-box;  
534 -}  
535 -  
536 -.tooltipster-light-preview {  
537 - border-radius: 5px;  
538 - border: 1px solid #cccccc;  
539 - background: #ededed;  
540 - color: #666666;  
541 - font-family: Arial, sans-serif;  
542 - font-size: 14px;  
543 - line-height: 16px;  
544 - padding: 8px 10px;  
545 - font-weight: 400;  
546 -}  
547 -  
548 -.tooltipster-punk-preview {  
549 - border-radius: 5px;  
550 - border-bottom: 3px solid #f71169;  
551 - background: #2a2a2a;  
552 - color: #fff;  
553 - font-family: 'Courier', monospace;  
554 - font-size: 14px;  
555 - line-height: 16px;  
556 - padding: 8px 10px;  
557 - font-weight: 400;  
558 -}  
559 -  
560 -.tooltipster-noir-preview {  
561 - border-radius: 0px;  
562 - border: 3px solid #2c2c2c;  
563 - background: #fff;  
564 - color: #2c2c2c;  
565 - font-family: 'Georgia', serif;  
566 - font-size: 14px;  
567 - line-height: 16px;  
568 - padding: 8px 10px;  
569 - font-weight: 400;  
570 -}  
571 -  
572 -.tooltipster-shadow-preview {  
573 - border-radius: 5px;  
574 - background: #fff;  
575 - box-shadow: 0px 0px 14px rgba(0,0,0,0.3);  
576 - color: #2c2c2c;  
577 - font-family: 'Arial', sans-serif;  
578 - font-size: 14px;  
579 - line-height: 16px;  
580 - padding: 8px 10px;  
581 - font-weight: 400;  
582 -}  
583 -  
584 -  
585 -/*  
586 --------------------------------------  
587 -Talk  
588 --------------------------------------  
589 -*/  
590 -  
591 -#talk h3 {  
592 - margin-bottom: 1em;  
593 -}  
594 -  
595 -  
596 -/*  
597 --------------------------------------  
598 -Breakpoints  
599 --------------------------------------  
600 -*/  
601 -  
602 -@media all and (max-width : 1100px) {  
603 - #tweet, #gplus {  
604 - display: none;  
605 - }  
606 - #demos li {  
607 - width: 100%;  
608 - }  
609 - table, tr, td {  
610 - display: block;  
611 - }  
612 - td {  
613 - padding: 2em 2em 0 2em;  
614 - }  
615 - td:last-child {  
616 - padding-bottom: 2em;  
617 - }  
618 -}  
619 -  
620 -@media all and (max-width : 920px) {  
621 - #demos ul {  
622 - width: 100%;  
623 - padding: 0;  
624 - }  
625 -}  
626 -  
627 -@media all and (max-width : 820px) {  
628 - nav ul {  
629 - display: none;  
630 - }  
631 - #social div {  
632 - padding: 0.5em 0.7em;  
633 - }  
634 - header {  
635 - padding: 0;  
636 - }  
637 - header select {  
638 - display: block;  
639 - float: right;  
640 - margin: 1em 1em;  
641 - }  
642 - section {  
643 - padding: 3em;  
644 - }  
645 - #welcome {  
646 - padding: 7.4em 3em 6em;  
647 - }  
648 - #download span {  
649 - display: block;  
650 - margin-top: 0.5em;  
651 - }  
652 -}  
653 -  
654 -@media all and (max-width : 450px) {  
655 - table h4 {  
656 - font-size: 1em;  
657 - line-height: 1em;  
658 - }  
659 - section {  
660 - padding: 2em;  
661 - }  
662 - h2 {  
663 - font-size: 3em;  
664 - line-height: 1.2em;  
665 - margin-bottom: 0.23em;  
666 - }  
667 - h3 {  
668 - font-size: 1.4em;  
669 - line-height: 1.4em;  
670 - margin-bottom: 1.3em;  
671 - }  
672 - h4 {  
673 - font-size: 1.2em;  
674 - }  
675 - pre {  
676 - padding: 1em;  
677 - }  
678 -}  
679 \ No newline at end of file 0 \ No newline at end of file
controllets/shared_js/tooltipster-master/doc/images/browser-chrome.png deleted

8.24 KB

controllets/shared_js/tooltipster-master/doc/images/browser-firefox.png deleted

9.13 KB

controllets/shared_js/tooltipster-master/doc/images/browser-ie.png deleted

5.18 KB

controllets/shared_js/tooltipster-master/doc/images/browser-opera.png deleted

4.48 KB

controllets/shared_js/tooltipster-master/doc/images/browser-safari.png deleted

12.1 KB

controllets/shared_js/tooltipster-master/doc/images/favicon.png deleted

378 Bytes

controllets/shared_js/tooltipster-master/doc/images/icons/icomoon.eot deleted
No preview for this file type
controllets/shared_js/tooltipster-master/doc/images/icons/icomoon.svg deleted
1 -<?xml version="1.0" standalone="no"?>  
2 -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >  
3 -<svg xmlns="http://www.w3.org/2000/svg">  
4 -<metadata>  
5 -This is a custom SVG font generated by IcoMoon.  
6 -<iconset grid="16"></iconset>  
7 -</metadata>  
8 -<defs>  
9 -<font id="icomoon" horiz-adv-x="512" >  
10 -<font-face units-per-em="512" ascent="480" descent="-32" />  
11 -<missing-glyph horiz-adv-x="512" />  
12 -<glyph unicode="&#x64;" d="M 57.367,340.829 L 164.841,340.829 L 164.841,480.465 L 374.295,480.465 L 374.295,340.829 L 468.131,340.829 L 262.749,111.686 ZM 513.932,108.102 L 513.932-31.535 L 1.932-31.535 L 1.932,108.102 L 71.75,108.102 L 71.75,38.284 L 444.113,38.284 L 444.113,108.102 Z" />  
13 -<glyph unicode="&#x6e;" d="M0.00,480.00L 512.00,480.00L 512.00,371.386L0.00,371.386zM0.00,76.614L 512.00,76.614L 512.00-32.00L0.00-32.00zM0.00,286.068L 512.00,286.068L 512.00,177.455L0.00,177.455z" />  
14 -<glyph unicode="&#x20;" horiz-adv-x="256" />  
15 -<glyph class="hidden" unicode="&#xf000;" d="M0,480L 512 -32L0 -32 z" horiz-adv-x="0" />  
16 -</font></defs></svg>  
17 \ No newline at end of file 0 \ No newline at end of file
controllets/shared_js/tooltipster-master/doc/images/icons/icomoon.ttf deleted
No preview for this file type
controllets/shared_js/tooltipster-master/doc/images/icons/icomoon.woff deleted
No preview for this file type
controllets/shared_js/tooltipster-master/doc/images/icons/icomoond41d.eot deleted
No preview for this file type
controllets/shared_js/tooltipster-master/doc/images/large-background.jpg deleted

156 KB

controllets/shared_js/tooltipster-master/doc/images/pattern-navy.png deleted

116 KB

controllets/shared_js/tooltipster-master/doc/images/social.jpg deleted

14.4 KB

controllets/shared_js/tooltipster-master/doc/images/spiderman.png deleted

24 KB

controllets/shared_js/tooltipster-master/doc/images/tooltipster.svg deleted
1 -<?xml version="1.0" encoding="utf-8"?>  
2 -<!-- Generator: Adobe Illustrator 17.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->  
3 -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">  
4 -<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"  
5 - width="260.308px" height="78.658px" viewBox="0 0 260.308 78.658" enable-background="new 0 0 260.308 78.658"  
6 - xml:space="preserve">  
7 -<rect x="126.154" y="5.329" fill="#FFFFFF" width="20" height="12"/>  
8 -<g>  
9 - <path fill="#FFFFFF" d="M38.989,12.764c1.728,0.192,3.39,0.364,4.985,0.515c1.594,0.154,3.127,0.229,4.599,0.229  
10 - c0.419,0,0.82-0.09,1.203-0.272c0.382-0.18,0.716-0.424,1.003-0.73c0.287-0.305,0.516-0.639,0.688-1.003  
11 - c0.172-0.362,0.258-0.735,0.258-1.117c0-0.61-0.186-1.165-0.559-1.662c-0.373-0.496-1.017-0.839-1.934-1.031  
12 - c-3.954-0.706-7.75-1.193-11.389-1.461c-3.64-0.267-7.121-0.402-10.445-0.402c-2.445,0-4.813,0.057-7.105,0.172  
13 - C18,6.116,15.852,6.327,13.845,6.632c-2.005,0.307-3.844,0.73-5.516,1.275C6.658,8.451,5.226,9.145,4.032,9.984  
14 - c-1.194,0.841-2.12,1.858-2.779,3.051c-0.659,1.195-0.989,2.593-0.989,4.198c0.038,0.688,0.229,1.299,0.573,1.833  
15 - c0.287,0.458,0.745,0.88,1.375,1.261C2.843,20.709,3.731,20.9,4.877,20.9s2.029-0.187,2.65-0.559  
16 - c0.621-0.373,1.075-0.783,1.361-1.232c0.286-0.448,0.453-0.864,0.501-1.247c0.047-0.381,0.071-0.592,0.071-0.63  
17 - c0-0.725,0.187-1.355,0.559-1.892c0.373-0.534,0.878-0.993,1.519-1.375c0.64-0.381,1.385-0.696,2.235-0.946  
18 - c0.85-0.248,1.766-0.453,2.75-0.616c0.984-0.162,1.996-0.291,3.038-0.387c1.041-0.095,2.067-0.181,3.08-0.258  
19 - c-1.166,3.63-2.25,6.925-3.252,9.885c-1.003,2.961-1.934,5.669-2.793,8.123c-0.859,2.456-1.644,4.705-2.35,6.748  
20 - c-0.707,2.044-1.337,3.978-1.891,5.802c-0.555,1.824-1.036,3.577-1.447,5.258c-0.411,1.682-0.741,3.391-0.989,5.128  
21 - c-0.114,0.44-0.171,0.842-0.171,1.203c0,1.147,0.353,1.978,1.06,2.494s1.604,0.772,2.694,0.772c0.362,0,0.754-0.109,1.174-0.328  
22 - c0.42-0.22,0.826-0.531,1.218-0.933c0.391-0.401,0.745-0.873,1.06-1.418c0.315-0.545,0.549-1.141,0.702-1.791  
23 - c0.362-1.412,0.826-3.103,1.39-5.07c0.563-1.968,1.17-4.112,1.819-6.433c0.649-2.322,1.323-4.757,2.02-7.307  
24 - c0.697-2.551,1.365-5.11,2.006-7.679c0.64-2.569,1.227-5.086,1.762-7.551c0.534-2.464,0.974-4.765,1.318-6.905  
25 - c1.948,0.097,3.84,0.239,5.673,0.43C35.478,12.382,37.259,12.573,38.989,12.764z"/>  
26 - <path fill="#FFFFFF" d="M256.705,38.809c-0.764,0.479-1.604,0.908-2.521,1.29c-0.916,0.382-1.805,0.572-2.664,0.572  
27 - c-0.306,0-0.598-0.057-0.874-0.172c-0.277-0.114-0.525-0.309-0.745-0.587c-0.22-0.276-0.397-0.645-0.53-1.104  
28 - c-0.134-0.458-0.201-1.031-0.201-1.718c0-0.401,0.049-0.903,0.144-1.505c0.096-0.601,0.201-1.222,0.315-1.861  
29 - c0.115-0.639,0.22-1.251,0.315-1.834c0.096-0.582,0.144-1.036,0.144-1.361c0-0.42-0.077-0.797-0.229-1.133  
30 - c-0.153-0.333-0.358-0.615-0.616-0.845c-0.257-0.229-0.559-0.405-0.902-0.53c-0.344-0.123-0.697-0.186-1.06-0.186  
31 - c-1.052,0-1.978,0.282-2.78,0.845c-0.802,0.564-1.519,1.257-2.148,2.078c-0.631,0.822-1.185,1.633-1.662,2.579  
32 - c-0.478,0.944-0.907,1.493-1.289,2.493h-0.315c-0.039-1-0.11-1.819-0.11-2.822c0-1.002,0-1.856,0-2.564  
33 - c0-0.592,0.014-1.06-0.016-1.404c-0.029-0.344-0.098-0.606-0.23-0.788c-0.136-0.18-0.333-0.295-0.609-0.343  
34 - c-0.277-0.048-0.662-0.072-1.158-0.072c-0.439,0-0.806,0.024-1.102,0.072s-0.542,0.143-0.743,0.286  
35 - c-0.199,0.144-0.378,0.34-0.53,0.588c-0.152,0.249-0.306,0.583-0.457,1.002c-0.25,0.631-0.498,1.433-0.745,2.407  
36 - c-0.249,0.974-0.498,2.044-0.746,3.209s-0.481,2.392-0.701,3.681c-0.215,1.26-0.401,2.496-0.562,3.709  
37 - c-0.637,0.582-1.369,1.188-2.204,1.821c-1.07,0.812-2.206,1.562-3.409,2.249c-1.203,0.688-2.441,1.261-3.711,1.72  
38 - c-1.271,0.458-2.478,0.688-3.624,0.688c-0.363,0-0.702-0.038-1.018-0.114c-0.315-0.077-0.615-0.21-0.902-0.401  
39 - c-0.286-0.19-0.569-0.459-0.846-0.803s-0.558-0.773-0.845-1.29c1.662-0.457,3.204-1.097,4.628-1.92  
40 - c1.422-0.82,2.649-1.756,3.681-2.808c1.032-1.05,1.838-2.167,2.422-3.353c0.583-1.183,0.873-2.367,0.873-3.552  
41 - c0-1.088-0.189-2.071-0.572-2.951c-0.383-0.879-0.913-1.628-1.59-2.25c-0.679-0.621-1.476-1.103-2.394-1.447  
42 - c-0.916-0.344-1.909-0.515-2.979-0.515c-1.317,0-2.517,0.234-3.596,0.702c-1.08,0.469-2.054,1.099-2.923,1.891  
43 - c-0.869,0.793-1.628,1.71-2.277,2.75c-0.65,1.042-1.188,2.135-1.619,3.281c-0.43,1.146-0.749,2.316-0.959,3.511  
44 - c-0.211,1.193-0.315,2.326-0.315,3.395c0,0.029,0.003,0.058,0.003,0.087c-0.691,0.585-1.412,1.145-2.167,1.675  
45 - c-0.773,0.545-1.558,1.047-2.349,1.504c-0.794,0.459-1.548,0.855-2.265,1.189c-0.716,0.336-1.375,0.598-1.977,0.788  
46 - c-0.602,0.191-1.104,0.287-1.504,0.287c-0.65,0-1.238-0.101-1.762-0.301c-0.526-0.201-0.971-0.524-1.333-0.975  
47 - c-0.363-0.448-0.641-1.025-0.831-1.733c-0.191-0.706-0.287-1.576-0.287-2.608c0-0.4,0.004-0.838,0.015-1.317  
48 - c0.009-0.478,0.023-0.974,0.043-1.49c0.019-0.515,0.038-1.035,0.058-1.562c0.019-0.524,0.037-1.035,0.057-1.533  
49 - c0.058-1.146,0.124-2.31,0.201-3.495c0.478-0.592,0.997-1.176,1.562-1.912c0.563-0.734,1.121-2.169,1.677-2.169h11.002  
50 - c0.458,0,0.878-0.289,1.261-0.71c0.382-0.42,0.573-1.005,0.573-1.675c0-0.553-0.086-1.031-0.258-1.396  
51 - c-0.172-0.362-0.449-0.562-0.831-0.581c-0.325-0.019-0.735-0.042-1.232-0.063c-0.496-0.019-1.031-0.041-1.604-0.06  
52 - c-0.573-0.02-1.165-0.044-1.776-0.073c-0.611-0.028-1.18-0.052-1.705-0.071c-0.525-0.019-0.988-0.034-1.39-0.043  
53 - c-0.4-0.01-0.687-0.024-0.859-0.045c0.688-1.088,1.342-2.186,1.963-3.294c0.62-1.107,1.16-2.2,1.619-3.281  
54 - c0.458-1.079,0.82-2.139,1.089-3.18c0.268-1.04,0.4-2.029,0.4-2.966c0-1.107-0.128-2.172-0.386-3.195  
55 - c-0.259-1.021-0.627-1.914-1.104-2.679c-0.478-0.763-1.057-1.375-1.733-1.834c-0.679-0.458-1.429-0.688-2.25-0.688  
56 - c-1.279,0-2.502,0.569-3.668,1.705c-1.165,1.138-2.239,2.646-3.222,4.527c-0.985,1.883-1.873,4.031-2.666,6.447  
57 - c-0.793,2.417-1.447,4.914-1.962,7.492c-0.191,0.039-0.54,0.053-1.046,0.043c-0.506-0.008-1.08-0.022-1.72-0.043  
58 - c-0.64-0.018-1.309-0.022-2.005-0.014c-0.698,0.01-1.338,0.063-1.92,0.158c-0.583,0.096-1.061,0.244-1.433,0.444  
59 - c-0.373,0.2-0.56,0.493-0.56,0.874c0,0.172,0.011,0.378,0.029,0.616c0.02,0.239,0.086,0.468,0.2,0.688  
60 - c0.115,0.221,0.297,0.412,0.545,0.573c0.249,0.163,0.601,0.272,1.06,0.33c1.031,0.114,1.82,0.21,2.364,0.286  
61 - c0.544,0.078,0.993,0.15,1.347,0.215c0.354,0.067,0.688,0.135,1.003,0.201c0.315,0.067,0.759,0.139,1.332,0.215  
62 - c-0.172,1.281-0.306,2.57-0.401,3.868c-0.096,1.299-0.144,2.522-0.144,3.668c0,2.636,0.158,5.018,0.458,7.177  
63 - c-0.455,0.293-0.908,0.56-1.36,0.803c-0.907,0.486-1.79,0.931-2.649,1.332c-0.86,0.401-1.687,0.788-2.479,1.16  
64 - c-0.792,0.373-1.533,0.789-2.22,1.246c0-1.222-0.043-2.281-0.129-3.181c-0.086-0.896-0.201-1.689-0.345-2.377  
65 - c-0.143-0.688-0.29-1.294-0.444-1.82c-0.152-0.523-0.3-1.021-0.443-1.49c-0.143-0.467-0.258-0.945-0.344-1.432  
66 - c-0.086-0.488-0.129-1.026-0.129-1.619c0.057-0.209,0.281-0.53,0.674-0.959c0.391-0.43,0.806-0.903,1.246-1.418  
67 - c0.439-0.516,0.84-1.05,1.203-1.604c0.362-0.553,0.545-1.061,0.545-1.519c0-0.229-0.02-0.501-0.058-0.817  
68 - c-0.039-0.315-0.172-0.616-0.401-0.902s-0.593-0.53-1.089-0.731c-0.497-0.201-1.204-0.3-2.12-0.3c-0.555,0-1.056,0.081-1.504,0.243  
69 - c-0.449,0.164-0.859,0.373-1.232,0.631c-0.373,0.258-0.712,0.55-1.017,0.874c-0.307,0.326-0.584,0.66-0.832,1.003  
70 - c-1.223,1.529-2.216,2.804-2.979,3.825c-0.764,1.023-1.414,1.887-1.948,2.594c-0.535,0.708-0.999,1.318-1.39,1.833  
71 - c-0.392,0.516-0.826,1.027-1.304,1.533c-0.479,0.508-1.051,1.066-1.72,1.677c-0.668,0.612-1.538,1.375-2.606,2.292  
72 - c-0.154,0.135-0.384,0.315-0.688,0.544c-0.305,0.229-0.611,0.498-0.916,0.803c-0.307,0.307-0.574,0.654-0.802,1.046  
73 - c-0.229,0.393-0.345,0.817-0.345,1.274c0,0.117,0.004,0.227,0.011,0.331c-1.172,0.547-2.45,0.994-3.851,1.331  
74 - c-1.586,0.383-3.342,0.573-5.271,0.573l-0.172-0.602c1.719-0.763,3.204-1.627,4.455-2.593c1.25-0.965,2.283-2,3.095-3.109  
75 - c0.812-1.106,1.408-2.268,1.791-3.481c0.381-1.211,0.572-2.468,0.572-3.767c0-1.623-0.22-2.994-0.658-4.112  
76 - c-0.44-1.117-1.042-2.028-1.806-2.736c-0.765-0.707-1.652-1.218-2.664-1.533c-1.013-0.315-2.103-0.472-3.267-0.472  
77 - c-1.566,0-2.904,0.286-4.012,0.859c-1.108,0.573-2.059,1.346-2.851,2.32c-0.793,0.975-1.443,2.121-1.949,3.438  
78 - s-0.927,2.713-1.261,4.183c-0.334,1.472-0.682,2.99-0.9,4.557c-0.033,0.24-0.169,0.475-0.169,0.713v-0.484  
79 - c-1,0.516-1.288,1.138-2.108,1.862c-0.821,0.727-1.626,1.429-2.487,2.106c-0.859,0.679-1.691,1.257-2.532,1.733  
80 - c-0.841,0.479-1.595,0.716-2.283,0.716c-0.593,0-0.98-0.252-1.17-0.759c-0.191-0.506-0.285-1.189-0.285-2.049  
81 - c0-0.879,0.098-1.866,0.288-2.965s0.43-2.226,0.717-3.382c0.287-1.154,0.591-2.311,0.917-3.467c0.324-1.154,0.63-2.234,0.916-3.237  
82 - c0.287-1.003,0.525-1.9,0.717-2.694c0.19-0.792,0.287-1.398,0.287-1.82c0-0.496-0.144-0.892-0.43-1.189  
83 - c-0.287-0.295-0.832-0.443-1.633-0.443c-0.44,0-0.931,0.052-1.476,0.157c-0.545,0.106-1.07,0.269-1.576,0.487  
84 - c-0.507,0.221-0.96,0.507-1.361,0.86s-0.668,0.779-0.803,1.275c-0.343,1.433-0.74,2.999-1.188,4.699  
85 - c-0.449,1.7-0.874,3.405-1.275,5.114c-0.158,0.677-0.299,1.336-0.439,1.995c-0.35,0.342-0.717,0.681-1.108,1.014  
86 - c-0.707,0.602-1.447,1.175-2.221,1.719c-0.773,0.545-1.558,1.047-2.35,1.504c-0.793,0.459-1.547,0.855-2.264,1.189  
87 - c-0.716,0.336-1.375,0.598-1.977,0.788c-0.602,0.191-1.104,0.287-1.504,0.287c-0.65,0-1.237-0.101-1.762-0.301  
88 - c-0.526-0.201-0.97-0.524-1.332-0.975c-0.364-0.448-0.641-1.025-0.831-1.733c-0.191-0.706-0.287-1.576-0.287-2.608  
89 - c0-0.4,0.004-0.838,0.014-1.317c0.009-0.478,0.023-0.974,0.043-1.49c0.019-0.515,0.038-1.035,0.058-1.562  
90 - c0.019-0.524,0.038-1.035,0.057-1.533c0.057-1.146,0.124-2.31,0.2-3.495c0.477-0.592,0.998-1.176,1.562-1.912  
91 - c0.563-0.734,1.122-2.169,1.676-2.169h11.003c0.459,0,0.878-0.289,1.261-0.71c0.382-0.42,0.573-1.005,0.573-1.675  
92 - c0-0.553-0.086-1.031-0.258-1.396c-0.172-0.362-0.45-0.562-0.831-0.581c-0.326-0.019-0.736-0.042-1.233-0.063  
93 - c-0.497-0.019-1.031-0.041-1.604-0.06c-0.573-0.02-1.166-0.044-1.776-0.073c-0.612-0.028-1.18-0.052-1.705-0.071  
94 - s-0.988-0.034-1.39-0.043c-0.4-0.01-0.688-0.024-0.859-0.045c0.688-1.088,1.341-2.186,1.963-3.294c0.62-1.107,1.16-2.2,1.619-3.281  
95 - c0.458-1.079,0.82-2.139,1.088-3.18c0.267-1.04,0.401-2.029,0.401-2.966c0-1.107-0.129-2.172-0.387-3.195  
96 - c-0.258-1.021-0.626-1.914-1.103-2.679c-0.479-0.763-1.057-1.375-1.734-1.834c-0.678-0.458-1.428-0.688-2.249-0.688  
97 - c-1.281,0-2.503,0.569-3.667,1.705c-1.166,1.138-2.24,2.646-3.224,4.527c-0.984,1.883-1.873,4.031-2.665,6.447  
98 - c-0.793,2.417-1.447,4.914-1.962,7.492c-0.191,0.039-0.54,0.053-1.046,0.043c-0.42-0.007-0.896-0.019-1.407-0.035  
99 - c0.1-0.203,0.205-0.405,0.304-0.61c0.917-1.891,1.724-3.776,2.421-5.659c0.697-1.881,1.251-3.753,1.662-5.616  
100 - c0.411-1.862,0.616-3.69,0.616-5.487c0-0.802-0.062-1.59-0.186-2.364c-0.125-0.773-0.339-1.466-0.645-2.078  
101 - c-0.306-0.61-0.727-1.103-1.261-1.476c-0.535-0.372-1.213-0.559-2.034-0.559c-1.204,0-2.389,0.364-3.553,1.089  
102 - c-1.166,0.726-2.283,1.725-3.352,2.994c-1.071,1.271-2.092,2.761-3.066,4.47c-0.974,1.711-1.877,3.549-2.708,5.516  
103 - c-0.831,1.968-1.576,4.021-2.235,6.16c-0.659,2.14-1.228,4.27-1.704,6.389c-0.479,2.121-0.842,4.179-1.089,6.175  
104 - c-0.011,0.085-0.017,0.166-0.028,0.25c-0.952-0.891-1.959-1.701-3.023-2.428c-1.386-0.946-2.871-1.7-4.456-2.264  
105 - c-1.586-0.563-3.286-0.845-5.101-0.845c-2.12,0-4.03,0.386-5.73,1.16c-1.701,0.773-3.138,1.834-4.312,3.181  
106 - c-0.559,0.64-1.05,1.337-1.486,2.086c-0.021-0.021-0.04-0.045-0.061-0.066c-1.194-1.222-2.483-2.306-3.868-3.251  
107 - c-1.386-0.946-2.87-1.7-4.456-2.264c-1.585-0.563-3.285-0.845-5.1-0.845c-2.12,0-4.03,0.386-5.73,1.16  
108 - c-1.701,0.773-3.138,1.834-4.312,3.181c-1.174,1.347-2.077,2.933-2.708,4.756c-0.63,1.825-0.946,3.788-0.946,5.888  
109 - c0,1.529,0.176,3.037,0.53,4.527s0.912,2.828,1.676,4.011c0.764,1.186,1.743,2.146,2.937,2.88c1.193,0.736,2.631,1.104,4.312,1.104  
110 - c1.165,0,2.264-0.2,3.295-0.602c1.032-0.401,1.981-0.945,2.851-1.634c0.869-0.688,1.643-1.498,2.32-2.435s1.251-1.938,1.719-3.009  
111 - c0.468-1.069,0.826-2.178,1.075-3.324c0.248-1.146,0.372-2.282,0.372-3.409s-0.139-2.308-0.415-3.539  
112 - c-0.277-1.232-0.692-2.401-1.247-3.509l0.229-0.315c0.688,0.458,1.509,1.027,2.464,1.705c0.955,0.679,1.924,1.399,2.908,2.163  
113 - c0.217,0.169,0.42,0.341,0.631,0.51c-0.422,1.535-0.646,3.158-0.646,4.877c0,1.529,0.177,3.037,0.53,4.527  
114 - c0.354,1.49,0.913,2.828,1.676,4.011c0.764,1.186,1.743,2.146,2.937,2.88c1.193,0.736,2.631,1.104,4.312,1.104  
115 - c1.165,0,2.264-0.2,3.294-0.602c1.032-0.401,1.981-0.945,2.852-1.634c0.869-0.688,1.643-1.498,2.321-2.435  
116 - c0.677-0.937,1.251-1.938,1.719-3.009c0.468-1.069,0.826-2.178,1.074-3.324s0.373-2.282,0.373-3.409s-0.14-2.308-0.416-3.539  
117 - c-0.277-1.232-0.693-2.401-1.246-3.509l0.229-0.315c0.688,0.458,1.508,1.027,2.463,1.705c0.955,0.679,1.924,1.399,2.908,2.163  
118 - c0.312,0.243,0.61,0.49,0.912,0.736c-0.002,0.165-0.009,0.333-0.009,0.496c0,2.216,0.187,4.333,0.559,6.346  
119 - c0.372,2.017,0.888,3.788,1.547,5.315c0.659,1.529,1.433,2.747,2.321,3.653c0.888,0.908,1.848,1.361,2.879,1.361  
120 - c0.648,0,1.347-0.091,2.091-0.272c0.745-0.181,1.509-0.424,2.292-0.73s1.562-0.653,2.335-1.046  
121 - c0.773-0.391,1.523-0.788,2.249-1.188c1.323-0.76,2.658-1.608,4.005-2.538c0.088,0.221,0.17,0.452,0.265,0.661  
122 - c0.745,1.652,1.671,2.918,2.779,3.796c1.107,0.879,2.388,1.318,3.84,1.318c0.706,0,1.494-0.134,2.364-0.401  
123 - c0.869-0.266,1.862-0.667,2.979-1.203c1.118-0.534,2.393-1.204,3.825-2.006c0.948-0.53,1.992-1.125,3.115-1.773  
124 - c0.023,0.711,0.097,1.381,0.251,1.988c0.182,0.716,0.481,1.324,0.902,1.82c0.42,0.496,0.97,0.883,1.647,1.16  
125 - c0.678,0.277,1.514,0.415,2.507,0.415c1.108,0,2.278-0.2,3.51-0.602s2.44-0.902,3.625-1.505c1.11-0.563,2.143-1.184,3.111-1.849  
126 - c-0.79,1.34-1.534,2.659-2.223,3.955c-0.554,1.05-1.093,2.134-1.619,3.251c-0.524,1.119-0.998,2.218-1.418,3.296  
127 - c-0.42,1.079-0.753,2.11-1.002,3.095c-0.248,0.983-0.373,1.866-0.373,2.65c0,1.356,0.091,2.641,0.272,3.854  
128 - c0.183,1.214,0.488,2.273,0.917,3.181c0.43,0.907,1.008,1.629,1.733,2.163c0.727,0.534,1.633,0.803,2.722,0.803  
129 - c1.356,0,2.666-0.545,3.926-1.634c1.261-1.089,2.378-2.636,3.353-4.642c0.974-2.006,1.815-4.427,2.399-7.264  
130 - c0.58-2.836,0.938-5.992,0.938-9.47v-0.516c2,0.229,2.777,0.426,3.703,0.588c0.928,0.162,1.606,0.292,2.104,0.387  
131 - c0.496,0.096,0.829,0.163,1.029,0.201c0.2,0.037,0.36,0.057,0.493,0.057c1.108,0,2.226-0.157,3.362-0.473s2.221-0.735,3.252-1.261  
132 - c0.83-0.422,1.592-0.916,2.316-1.451c0.066,0.128,0.128,0.257,0.201,0.376c0.459,0.728,1.056,1.313,1.792,1.763  
133 - c0.735,0.45,1.59,0.779,2.564,0.989s2.024,0.313,3.151,0.313c1.566,0,3.224-0.176,4.972-0.529c1.747-0.352,3.476-0.835,5.186-1.446  
134 - c1.709-0.61,3.343-1.318,4.899-2.121c1.508-0.777,2.837-1.608,3.995-2.493c0.154,0.424,0.315,0.833,0.489,1.219  
135 - c0.746,1.652,1.672,2.918,2.779,3.796c1.107,0.879,2.388,1.318,3.84,1.318c0.706,0,1.494-0.134,2.363-0.401  
136 - c0.869-0.266,1.863-0.667,2.98-1.203c1.117-0.534,2.393-1.204,3.825-2.006c1.231-0.69,2.621-1.484,4.15-2.373  
137 - c0.396,0.868,0.876,1.669,1.465,2.388c0.898,1.099,2.021,1.972,3.367,2.621c1.347,0.65,2.917,0.975,4.714,0.975  
138 - c1.146,0,2.277-0.129,3.396-0.387c1.117-0.258,2.195-0.603,3.236-1.032c1.042-0.429,2.035-0.921,2.981-1.476  
139 - c0.944-0.553,1.827-1.117,2.649-1.689c0.213-0.15,0.419-0.312,0.628-0.468c0.021,0.435,0.053,0.865,0.103,1.284  
140 - c0.086,0.717,0.258,1.356,0.516,1.92c0.259,0.563,0.626,1.013,1.104,1.346c0.477,0.335,1.107,0.502,1.891,0.502  
141 - c0.345,0,0.66-0.062,0.945-0.187c0.287-0.123,0.554-0.338,0.803-0.645c0.248-0.306,0.492-0.701,0.73-1.189  
142 - c0.238-0.487,0.491-0.776,0.76-1.521l5.129-13.971h0.458c0.152,1,0.354,2.065,0.602,3.241c0.248,1.173,0.63,2.07,1.146,3.016  
143 - c0.516,0.946,1.212,1.629,2.092,2.211c0.878,0.583,2.033,0.834,3.467,0.834c0.803,0,1.59-0.14,2.364-0.379  
144 - c0.772-0.237,1.519-0.544,2.234-0.898c0.717-0.353,1.39-0.736,2.02-1.138c0.631-0.4,1.194-0.766,1.691-1.091l0.43-6.706  
145 - C258.481,37.626,257.602,38.256,256.705,38.809z M194.199,19.612c0.411-1.642,0.851-3.146,1.318-4.513  
146 - c0.468-1.365,0.955-2.487,1.462-3.367c0.505-0.878,1.007-1.318,1.504-1.318c0.362,0,0.645,0.077,0.846,0.229  
147 - c0.2,0.153,0.348,0.344,0.444,0.573c0.095,0.229,0.157,0.473,0.187,0.73c0.028,0.258,0.043,0.493,0.043,0.702  
148 - c0,0.612-0.163,1.395-0.488,2.35c-0.325,0.955-0.736,1.982-1.231,3.08c-0.498,1.099-1.056,2.216-1.677,3.352  
149 - c-0.621,1.138-1.218,2.192-1.791,3.167c-0.306-0.038-0.602-0.072-0.888-0.1c-0.286-0.029-0.573-0.062-0.859-0.101  
150 - C193.412,22.85,193.789,21.255,194.199,19.612z M106.609,19.612c0.411-1.642,0.849-3.146,1.318-4.513  
151 - c0.468-1.365,0.955-2.487,1.462-3.367c0.505-0.878,1.006-1.318,1.504-1.318c0.362,0,0.645,0.077,0.845,0.229  
152 - c0.201,0.153,0.348,0.344,0.444,0.573s0.158,0.473,0.187,0.73c0.029,0.258,0.043,0.493,0.043,0.702c0,0.612-0.163,1.395-0.487,2.35  
153 - c-0.325,0.955-0.736,1.982-1.232,3.08c-0.497,1.099-1.056,2.216-1.676,3.352c-0.621,1.138-1.218,2.192-1.791,3.167  
154 - c-0.306-0.038-0.602-0.072-0.888-0.1c-0.287-0.029-0.573-0.062-0.86-0.101C105.821,22.85,106.198,21.255,106.609,19.612z  
155 - M44.575,43.036c-0.277,1.213-0.645,2.32-1.103,3.322c-0.459,1.004-0.994,1.834-1.604,2.493c-0.612,0.659-1.242,0.988-1.892,0.988  
156 - c-0.745,0-1.385-0.157-1.919-0.473c-0.535-0.314-0.965-0.734-1.29-1.261c-0.325-0.524-0.564-1.14-0.716-1.848  
157 - c-0.153-0.706-0.229-1.462-0.229-2.264c0-1.164,0.153-2.378,0.458-3.64c0.305-1.26,0.725-2.41,1.26-3.451s1.156-1.896,1.863-2.565  
158 - c0.706-0.667,1.451-1.002,2.235-1.002c0.592,0,1.098,0.163,1.519,0.487c0.42,0.325,0.763,0.765,1.032,1.318  
159 - c0.267,0.554,0.467,1.209,0.602,1.962c0.133,0.756,0.201,1.572,0.201,2.451C44.991,40.663,44.852,41.823,44.575,43.036z  
160 - M69.59,43.036c-0.277,1.213-0.645,2.32-1.104,3.322c-0.458,1.004-0.994,1.834-1.604,2.493c-0.612,0.659-1.242,0.988-1.891,0.988  
161 - c-0.746,0-1.386-0.157-1.92-0.473c-0.535-0.314-0.965-0.734-1.289-1.261c-0.326-0.524-0.564-1.14-0.717-1.848  
162 - c-0.153-0.706-0.229-1.462-0.229-2.264c0-1.164,0.152-2.378,0.458-3.64c0.305-1.26,0.726-2.41,1.261-3.451  
163 - c0.534-1.041,1.155-1.896,1.862-2.565c0.706-0.667,1.451-1.002,2.234-1.002c0.592,0,1.099,0.163,1.519,0.487  
164 - c0.42,0.325,0.764,0.765,1.032,1.318c0.267,0.554,0.468,1.209,0.602,1.962c0.133,0.756,0.2,1.572,0.2,2.451  
165 - C70.005,40.663,69.866,41.823,69.59,43.036z M88.085,26.76c0.267-1.938,0.63-3.825,1.089-5.659  
166 - c0.458-1.833,0.979-3.561,1.562-5.186c0.582-1.624,1.193-3.046,1.833-4.27c0.64-1.222,1.279-2.192,1.92-2.908  
167 - c0.64-0.716,1.236-1.075,1.791-1.075c0.152,0,0.244,0.196,0.272,0.587c0.028,0.393,0.043,0.866,0.043,1.418  
168 - c-0.172,1.739-0.573,3.616-1.203,5.63c-0.631,2.016-1.375,4.036-2.235,6.061s-1.773,3.993-2.737,5.902  
169 - c-0.965,1.911-1.876,3.63-2.736,5.158C87.683,30.586,87.817,28.701,88.085,26.76z M95.534,45.6  
170 - c-0.516,0.345-1.051,0.684-1.604,1.017c-0.554,0.336-1.094,0.631-1.619,0.89c-0.526,0.257-1.022,0.464-1.49,0.615  
171 - c-0.468,0.153-0.884,0.229-1.247,0.229c-0.153,0-0.315-0.109-0.487-0.33c-0.172-0.219-0.335-0.515-0.487-0.888  
172 - c-0.153-0.373-0.324-0.793-0.429-1.261c-0.104-0.467-0.198-0.95-0.198-1.447v-0.401c0-0.381,0.174-0.773,0.27-1.174  
173 - c0.096-0.401,0.211-0.778,0.307-1.133c0.096-0.353,0.207-0.682,0.312-0.988c0.105-0.305,0.21-0.553,0.306-0.744  
174 - c0.878-1.719,1.823-3.482,2.826-5.287c1.002-1.805,2.002-3.639,2.996-5.501c0.189-0.355,0.371-0.714,0.558-1.07  
175 - c0.531,0.076,0.972,0.146,1.32,0.21c0.353,0.067,0.688,0.135,1.002,0.201c0.315,0.067,0.76,0.139,1.333,0.215  
176 - c-0.172,1.281-0.306,2.57-0.401,3.868c-0.096,1.299-0.143,2.522-0.143,3.668c0,2.457,0.137,4.694,0.397,6.738  
177 - C97.832,43.991,96.657,44.852,95.534,45.6z M138.227,56.115c-0.02,0.478-0.043,1.074-0.072,1.791  
178 - c-0.028,0.716-0.071,1.59-0.129,2.621c-0.039,0.592-0.062,1.261-0.071,2.006c-0.011,0.745-0.034,1.509-0.072,2.292  
179 - c-0.039,0.784-0.086,1.547-0.144,2.293c-0.057,0.744-0.153,1.414-0.286,2.006c-0.134,0.591-0.306,1.063-0.516,1.418  
180 - c-0.211,0.354-0.478,0.529-0.803,0.529c-0.362,0-0.668-0.133-0.916-0.4c-0.249-0.268-0.45-0.573-0.603-0.917  
181 - c-0.153-0.345-0.262-0.688-0.329-1.031s-0.101-0.592-0.101-0.745c0-0.248,0.053-0.654,0.157-1.218s0.248-1.232,0.431-2.006  
182 - c0.181-0.773,0.396-1.609,0.645-2.507c0.248-0.898,0.524-1.795,0.831-2.693c0.305-0.898,0.631-1.763,0.974-2.594  
183 - c0.344-0.83,0.697-1.561,1.061-2.191C138.264,55.132,138.245,55.581,138.227,56.115z M144.158,47.348  
184 - c0-1.126,0.032-2.258,0.101-3.396c0.066-1.136,0.181-2.229,0.344-3.281c0.162-1.049,0.373-2.034,0.63-2.951  
185 - c0.258-0.917,0.582-1.709,0.975-2.378c0.392-0.667,0.854-1.198,1.39-1.59c0.534-0.392,1.155-0.588,1.861-0.588  
186 - c0.631,0,1.123,0.178,1.477,0.53c0.353,0.354,0.602,0.779,0.745,1.275c0.143,0.497,0.2,1.027,0.172,1.59  
187 - c-0.029,0.564-0.092,1.056-0.187,1.476c-0.229,0.898-0.535,1.776-0.917,2.635c-0.383,0.86-0.874,1.691-1.476,2.494  
188 - c-0.602,0.802-1.317,1.557-2.148,2.263C146.293,46.136,145.303,46.774,144.158,47.348z M171.521,47.963  
189 - c-0.115,0.545-0.315,1.023-0.603,1.433c-0.285,0.412-0.673,0.741-1.16,0.989c-0.486,0.249-1.103,0.373-1.849,0.373  
190 - c-0.611,0-1.155-0.144-1.632-0.431c-0.479-0.286-0.899-0.602-1.262-0.945s-0.683-0.659-0.959-0.945  
191 - c-0.047-0.047-0.09-0.084-0.135-0.124l-0.042-0.886l6.781-6.756c0.095,0.308,0.205,0.674,0.329,1.104s0.238,0.889,0.344,1.376  
192 - c0.104,0.486,0.19,0.998,0.258,1.533c0.066,0.535,0.101,1.06,0.101,1.575C171.693,46.853,171.635,47.419,171.521,47.963z  
193 - M214.214,40.355c0.037-0.59,0.118-1.203,0.243-1.833c0.124-0.631,0.306-1.255,0.545-1.877c0.238-0.621,0.553-1.174,0.945-1.662  
194 - c0.391-0.487,0.878-0.882,1.461-1.188c0.583-0.305,1.284-0.459,2.106-0.459c0.458,0,0.845,0.277,1.16,0.831  
195 - c0.315,0.555,0.473,1.262,0.473,2.121c0,0.611-0.239,1.242-0.717,1.891c-0.477,0.65-1.064,1.252-1.762,1.806  
196 - c-0.697,0.554-1.452,1.009-2.264,1.36c-0.812,0.354-1.561,0.529-2.249,0.529C214.156,41.455,214.175,40.95,214.214,40.355z"/>  
197 -</g>  
198 -<g>  
199 - <path fill="#0383D0" d="M149.144,2.829h-22.005c-1.214,0-2.392,0.959-2.627,2.174l-3.179,13.415  
200 - c-0.236,1.216,0.557,2.412,1.773,2.412h2.201l2.833,4.401l5.114-4.401h11.857c1.216,0,2.392-1.209,2.629-2.425l3.179-13.288  
201 - C151.154,3.899,150.359,2.829,149.144,2.829z M133.801,13.135c0,1.714-1.702,2.69-3.504,2.69c-0.988,0-1.852-0.212-2.202-0.476  
202 - l0.588-1.626c0.338,0.15,0.901,0.375,1.614,0.375c0.826,0,1.401-0.351,1.401-0.951c0-0.625-0.525-0.938-1.501-0.938h-0.263  
203 - l0.3-1.564h0.213c0.775,0,1.602-0.25,1.602-0.889c0-0.325-0.275-0.588-0.901-0.588c-0.613,0-1.151,0.15-1.476,0.325l-0.163-1.577  
204 - c0.513-0.275,1.351-0.475,2.14-0.475c1.451,0,2.564,0.688,2.564,1.927c0,0.988-0.75,1.727-1.701,1.989l-0.013,0.025  
205 - C133.263,11.596,133.801,12.234,133.801,13.135z M135.943,15.813c-0.688,0-1.113-0.488-1.113-1.176  
206 - c0-0.738,0.563-1.414,1.326-1.414c0.701,0,1.151,0.488,1.151,1.189C137.307,15.262,136.719,15.813,135.943,15.813z M140.787,15.825  
207 - c-1.727,0-2.34-1.351-2.34-2.865c0-2.64,1.264-5.518,3.729-5.518c1.802,0,2.327,1.426,2.327,2.79  
208 - C144.503,12.747,143.364,15.825,140.787,15.825z"/>  
209 - <path fill="#0383D0" d="M141.951,9.094c-1.039,0-1.502,3.116-1.502,3.966c0,0.513,0.088,1.114,0.588,1.114  
210 - c1.026,0,1.464-3.216,1.464-4.029C142.501,9.644,142.401,9.094,141.951,9.094z"/>  
211 -</g>  
212 -</svg>  
controllets/shared_js/tooltipster-master/doc/js/jquery.jgfeed.js deleted
1 -/*  
2 - * jGFeed 1.0 - Google Feed API abstraction plugin for jQuery  
3 - *  
4 - * Copyright (c) 2009 jQuery HowTo  
5 - *  
6 - * Licensed under the GPL license:  
7 - * http://www.gnu.org/licenses/gpl.html  
8 - *  
9 - * URL:  
10 - * http://jquery-howto.blogspot.com  
11 - *  
12 - * Author URL:  
13 - * http://me.boo.uz  
14 - *  
15 - */  
16 -(function($){  
17 - $.extend({  
18 - jGFeed : function(url, fnk, num, key){  
19 - // Make sure url to get is defined  
20 - if(url == null) return false;  
21 - // Build Google Feed API URL  
22 - var gurl = "http://ajax.googleapis.com/ajax/services/feed/load?v=1.0&callback=?&q="+url+"?";  
23 - if(num != null) gurl += "&num="+num;  
24 - if(key != null) gurl += "&key="+key;  
25 - // AJAX request the API  
26 - $.getJSON(gurl, function(data){  
27 - if(typeof fnk == 'function')  
28 - fnk.call(this, data.responseData.feed);  
29 - else  
30 - return false;  
31 - });  
32 - }  
33 - });  
34 -})(jQuery);  
35 \ No newline at end of file 0 \ No newline at end of file
controllets/shared_js/tooltipster-master/doc/js/lang-css.js deleted
1 -// Copyright (C) 2009 Google Inc.  
2 -//  
3 -// Licensed under the Apache License, Version 2.0 (the "License");  
4 -// you may not use this file except in compliance with the License.  
5 -// You may obtain a copy of the License at  
6 -//  
7 -// http://www.apache.org/licenses/LICENSE-2.0  
8 -//  
9 -// Unless required by applicable law or agreed to in writing, software  
10 -// distributed under the License is distributed on an "AS IS" BASIS,  
11 -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  
12 -// See the License for the specific language governing permissions and  
13 -// limitations under the License.  
14 -  
15 -  
16 -  
17 -/**  
18 - * @fileoverview  
19 - * Registers a language handler for CSS.  
20 - *  
21 - *  
22 - * To use, include prettify.js and this file in your HTML page.  
23 - * Then put your code in an HTML tag like  
24 - * <pre class="prettyprint lang-css"></pre>  
25 - *  
26 - *  
27 - * http://www.w3.org/TR/CSS21/grammar.html Section G2 defines the lexical  
28 - * grammar. This scheme does not recognize keywords containing escapes.  
29 - *  
30 - * @author mikesamuel@gmail.com  
31 - */  
32 -  
33 -PR['registerLangHandler'](  
34 - PR['createSimpleLexer'](  
35 - [  
36 - // The space production <s>  
37 - [PR['PR_PLAIN'], /^[ \t\r\n\f]+/, null, ' \t\r\n\f']  
38 - ],  
39 - [  
40 - // Quoted strings. <string1> and <string2>  
41 - [PR['PR_STRING'],  
42 - /^\"(?:[^\n\r\f\\\"]|\\(?:\r\n?|\n|\f)|\\[\s\S])*\"/, null],  
43 - [PR['PR_STRING'],  
44 - /^\'(?:[^\n\r\f\\\']|\\(?:\r\n?|\n|\f)|\\[\s\S])*\'/, null],  
45 - ['lang-css-str', /^url\(([^\)\"\']*)\)/i],  
46 - [PR['PR_KEYWORD'],  
47 - /^(?:url|rgb|\!important|@import|@page|@media|@charset|inherit)(?=[^\-\w]|$)/i,  
48 - null],  
49 - // A property name -- an identifier followed by a colon.  
50 - ['lang-css-kw', /^(-?(?:[_a-z]|(?:\\[0-9a-f]+ ?))(?:[_a-z0-9\-]|\\(?:\\[0-9a-f]+ ?))*)\s*:/i],  
51 - // A C style block comment. The <comment> production.  
52 - [PR['PR_COMMENT'], /^\/\*[^*]*\*+(?:[^\/*][^*]*\*+)*\//],  
53 - // Escaping text spans  
54 - [PR['PR_COMMENT'], /^(?:<!--|-->)/],  
55 - // A number possibly containing a suffix.  
56 - [PR['PR_LITERAL'], /^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],  
57 - // A hex color  
58 - [PR['PR_LITERAL'], /^#(?:[0-9a-f]{3}){1,2}/i],  
59 - // An identifier  
60 - [PR['PR_PLAIN'],  
61 - /^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i],  
62 - // A run of punctuation  
63 - [PR['PR_PUNCTUATION'], /^[^\s\w\'\"]+/]  
64 - ]),  
65 - ['css']);  
66 -PR['registerLangHandler'](  
67 - PR['createSimpleLexer']([],  
68 - [  
69 - [PR['PR_KEYWORD'],  
70 - /^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i]  
71 - ]),  
72 - ['css-kw']);  
73 -PR['registerLangHandler'](  
74 - PR['createSimpleLexer']([],  
75 - [  
76 - [PR['PR_STRING'], /^[^\)\"\']+/]  
77 - ]),  
78 - ['css-str']);  
controllets/shared_js/tooltipster-master/doc/js/prettify.js deleted
1 -var q=null;window.PR_SHOULD_USE_CONTINUATION=!0;  
2 -(function(){function L(a){function m(a){var f=a.charCodeAt(0);if(f!==92)return f;var b=a.charAt(1);return(f=r[b])?f:"0"<=b&&b<="7"?parseInt(a.substring(1),8):b==="u"||b==="x"?parseInt(a.substring(2),16):a.charCodeAt(1)}function e(a){if(a<32)return(a<16?"\\x0":"\\x")+a.toString(16);a=String.fromCharCode(a);if(a==="\\"||a==="-"||a==="["||a==="]")a="\\"+a;return a}function h(a){for(var f=a.substring(1,a.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),a=  
3 -[],b=[],o=f[0]==="^",c=o?1:0,i=f.length;c<i;++c){var j=f[c];if(/\\[bdsw]/i.test(j))a.push(j);else{var j=m(j),d;c+2<i&&"-"===f[c+1]?(d=m(f[c+2]),c+=2):d=j;b.push([j,d]);d<65||j>122||(d<65||j>90||b.push([Math.max(65,j)|32,Math.min(d,90)|32]),d<97||j>122||b.push([Math.max(97,j)&-33,Math.min(d,122)&-33]))}}b.sort(function(a,f){return a[0]-f[0]||f[1]-a[1]});f=[];j=[NaN,NaN];for(c=0;c<b.length;++c)i=b[c],i[0]<=j[1]+1?j[1]=Math.max(j[1],i[1]):f.push(j=i);b=["["];o&&b.push("^");b.push.apply(b,a);for(c=0;c<  
4 -f.length;++c)i=f[c],b.push(e(i[0])),i[1]>i[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.join("")}function y(a){for(var f=a.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),b=f.length,d=[],c=0,i=0;c<b;++c){var j=f[c];j==="("?++i:"\\"===j.charAt(0)&&(j=+j.substring(1))&&j<=i&&(d[j]=-1)}for(c=1;c<d.length;++c)-1===d[c]&&(d[c]=++t);for(i=c=0;c<b;++c)j=f[c],j==="("?(++i,d[i]===void 0&&(f[c]="(?:")):"\\"===j.charAt(0)&&  
5 -(j=+j.substring(1))&&j<=i&&(f[c]="\\"+d[i]);for(i=c=0;c<b;++c)"^"===f[c]&&"^"!==f[c+1]&&(f[c]="");if(a.ignoreCase&&s)for(c=0;c<b;++c)j=f[c],a=j.charAt(0),j.length>=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p<d;++p){var g=a[p];if(g.ignoreCase)l=!0;else if(/[a-z]/i.test(g.source.replace(/\\u[\da-f]{4}|\\x[\da-f]{2}|\\[^UXux]/gi,""))){s=!0;l=!1;break}}for(var r=  
6 -{b:8,t:9,n:10,v:11,f:12,r:13},n=[],p=0,d=a.length;p<d;++p){g=a[p];if(g.global||g.multiline)throw Error(""+g);n.push("(?:"+y(g)+")")}return RegExp(n.join("|"),l?"gi":"g")}function M(a){function m(a){switch(a.nodeType){case 1:if(e.test(a.className))break;for(var g=a.firstChild;g;g=g.nextSibling)m(g);g=a.nodeName;if("BR"===g||"LI"===g)h[s]="\n",t[s<<1]=y++,t[s++<<1|1]=a;break;case 3:case 4:g=a.nodeValue,g.length&&(g=p?g.replace(/\r\n?/g,"\n"):g.replace(/[\t\n\r ]+/g," "),h[s]=g,t[s<<1]=y,y+=g.length,  
7 -t[s++<<1|1]=a)}}var e=/(?:^|\s)nocode(?:\s|$)/,h=[],y=0,t=[],s=0,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=document.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);m(a);return{a:h.join("").replace(/\n$/,""),c:t}}function B(a,m,e,h){m&&(a={a:m,d:a},e(a),h.push.apply(h,a.e))}function x(a,m){function e(a){for(var l=a.d,p=[l,"pln"],d=0,g=a.a.match(y)||[],r={},n=0,z=g.length;n<z;++n){var f=g[n],b=r[f],o=void 0,c;if(typeof b===  
8 -"string")c=!1;else{var i=h[f.charAt(0)];if(i)o=f.match(i[1]),b=i[0];else{for(c=0;c<t;++c)if(i=m[c],o=f.match(i[1])){b=i[0];break}o||(b="pln")}if((c=b.length>=5&&"lang-"===b.substring(0,5))&&!(o&&typeof o[1]==="string"))c=!1,b="src";c||(r[f]=b)}i=d;d+=f.length;if(c){c=o[1];var j=f.indexOf(c),k=j+c.length;o[2]&&(k=f.length-o[2].length,j=k-c.length);b=b.substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring(k),e,p)}else p.push(l+i,b)}a.e=p}var h={},y;(function(){for(var e=a.concat(m),  
9 -l=[],p={},d=0,g=e.length;d<g;++d){var r=e[d],n=r[3];if(n)for(var k=n.length;--k>=0;)h[n.charAt(k)]=r;r=r[1];n=""+r;p.hasOwnProperty(n)||(l.push(r),p[n]=q)}l.push(/[\S\s]/);y=L(l)})();var t=m.length;return e}function u(a){var m=[],e=[];a.tripleQuotedStrings?m.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?m.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/,  
10 -q,"'\"`"]):m.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&e.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var h=a.hashComments;h&&(a.cStyleComments?(h>1?m.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):m.push(["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),e.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,q])):m.push(["com",/^#[^\n\r]*/,  
11 -q,"#"]));a.cStyleComments&&(e.push(["com",/^\/\/[^\n\r]*/,q]),e.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));a.regexLiterals&&e.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]);(h=a.types)&&e.push(["typ",h]);a=(""+a.keywords).replace(/^ | $/g,  
12 -"");a.length&&e.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),q]);m.push(["pln",/^\s+/,q," \r\n\t\xa0"]);e.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]);return x(m,e)}function D(a,m){function e(a){switch(a.nodeType){case 1:if(k.test(a.className))break;if("BR"===a.nodeName)h(a),  
13 -a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)e(a);break;case 3:case 4:if(p){var b=a.nodeValue,d=b.match(t);if(d){var c=b.substring(0,d.index);a.nodeValue=c;(b=b.substring(d.index+d[0].length))&&a.parentNode.insertBefore(s.createTextNode(b),a.nextSibling);h(a);c||a.parentNode.removeChild(a)}}}}function h(a){function b(a,d){var e=d?a.cloneNode(!1):a,f=a.parentNode;if(f){var f=b(f,1),g=a.nextSibling;f.appendChild(e);for(var h=g;h;h=g)g=h.nextSibling,f.appendChild(h)}return e}  
14 -for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),e;(e=a.parentNode)&&e.nodeType===1;)a=e;d.push(a)}var k=/(?:^|\s)nocode(?:\s|$)/,t=/\r\n?|\n/,s=a.ownerDocument,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=s.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);for(l=s.createElement("LI");a.firstChild;)l.appendChild(a.firstChild);for(var d=[l],g=0;g<d.length;++g)e(d[g]);m===(m|0)&&d[0].setAttribute("value",  
15 -m);var r=s.createElement("OL");r.className="linenums";for(var n=Math.max(0,m-1|0)||0,g=0,z=d.length;g<z;++g)l=d[g],l.className="L"+(g+n)%10,l.firstChild||l.appendChild(s.createTextNode("\xa0")),r.appendChild(l);a.appendChild(r)}function k(a,m){for(var e=m.length;--e>=0;){var h=m[e];A.hasOwnProperty(h)?window.console&&console.warn("cannot override language handler %s",h):A[h]=a}}function C(a,m){if(!a||!A.hasOwnProperty(a))a=/^\s*</.test(m)?"default-markup":"default-code";return A[a]}function E(a){var m=  
16 -a.g;try{var e=M(a.h),h=e.a;a.a=h;a.c=e.c;a.d=0;C(m,h)(a);var k=/\bMSIE\b/.test(navigator.userAgent),m=/\n/g,t=a.a,s=t.length,e=0,l=a.c,p=l.length,h=0,d=a.e,g=d.length,a=0;d[g]=s;var r,n;for(n=r=0;n<g;)d[n]!==d[n+2]?(d[r++]=d[n++],d[r++]=d[n++]):n+=2;g=r;for(n=r=0;n<g;){for(var z=d[n],f=d[n+1],b=n+2;b+2<=g&&d[b+1]===f;)b+=2;d[r++]=z;d[r++]=f;n=b}for(d.length=r;h<p;){var o=l[h+2]||s,c=d[a+2]||s,b=Math.min(o,c),i=l[h+1],j;if(i.nodeType!==1&&(j=t.substring(e,b))){k&&(j=j.replace(m,"\r"));i.nodeValue=  
17 -j;var u=i.ownerDocument,v=u.createElement("SPAN");v.className=d[a+1];var x=i.parentNode;x.replaceChild(v,i);v.appendChild(i);e<o&&(l[h+1]=i=u.createTextNode(t.substring(b,o)),x.insertBefore(i,v.nextSibling))}e=b;e>=o&&(h+=2);e>=c&&(a+=2)}}catch(w){"console"in window&&console.log(w&&w.stack?w.stack:w)}}var v=["break,continue,do,else,for,if,return,while"],w=[[v,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],  
18 -"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],F=[w,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],G=[w,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"],  
19 -H=[G,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"],w=[w,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],I=[v,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],  
20 -J=[v,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],v=[v,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],K=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/,N=/\S/,O=u({keywords:[F,H,w,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END"+  
21 -I,J,v],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),A={};k(O,["default-code"]);k(x([],[["pln",/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),  
22 -["default-markup","htm","html","mxml","xhtml","xml","xsl"]);k(x([["pln",/^\s+/,q," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",  
23 -/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]);k(x([],[["atv",/^[\S\s]+/]]),["uq.val"]);k(u({keywords:F,hashComments:!0,cStyleComments:!0,types:K}),["c","cc","cpp","cxx","cyc","m"]);k(u({keywords:"null,true,false"}),["json"]);k(u({keywords:H,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:K}),["cs"]);k(u({keywords:G,cStyleComments:!0}),["java"]);k(u({keywords:v,hashComments:!0,multiLineStrings:!0}),["bsh","csh","sh"]);k(u({keywords:I,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),  
24 -["cv","py"]);k(u({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["perl","pl","pm"]);k(u({keywords:J,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb"]);k(u({keywords:w,cStyleComments:!0,regexLiterals:!0}),["js"]);k(u({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes",  
25 -hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);k(x([],[["str",/^[\S\s]+/]]),["regex"]);window.prettyPrintOne=function(a,m,e){var h=document.createElement("PRE");h.innerHTML=a;e&&D(h,e);E({g:m,i:e,h:h});return h.innerHTML};window.prettyPrint=function(a){function m(){for(var e=window.PR_SHOULD_USE_CONTINUATION?l.now()+250:Infinity;p<h.length&&l.now()<e;p++){var n=h[p],k=n.className;if(k.indexOf("prettyprint")>=0){var k=k.match(g),f,b;if(b=  
26 -!k){b=n;for(var o=void 0,c=b.firstChild;c;c=c.nextSibling)var i=c.nodeType,o=i===1?o?b:c:i===3?N.test(c.nodeValue)?b:o:o;b=(f=o===b?void 0:o)&&"CODE"===f.tagName}b&&(k=f.className.match(g));k&&(k=k[1]);b=!1;for(o=n.parentNode;o;o=o.parentNode)if((o.tagName==="pre"||o.tagName==="code"||o.tagName==="xmp")&&o.className&&o.className.indexOf("prettyprint")>=0){b=!0;break}b||((b=(b=n.className.match(/\blinenums\b(?::(\d+))?/))?b[1]&&b[1].length?+b[1]:!0:!1)&&D(n,b),d={g:k,h:n,i:b},E(d))}}p<h.length?setTimeout(m,  
27 -250):a&&a()}for(var e=[document.getElementsByTagName("pre"),document.getElementsByTagName("code"),document.getElementsByTagName("xmp")],h=[],k=0;k<e.length;++k)for(var t=0,s=e[k].length;t<s;++t)h.push(e[k][t]);var e=q,l=Date;l.now||(l={now:function(){return+new Date}});var p=0,d,g=/\blang(?:uage)?-([\w.]+)(?!\S)/;m()};window.PR={createSimpleLexer:x,registerLangHandler:k,sourceDecorator:u,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",  
28 -PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ"}})();  
29 \ No newline at end of file 0 \ No newline at end of file
controllets/shared_js/tooltipster-master/doc/js/scripts.js deleted
1 -$(function() {  
2 -  
3 - $('.tooltip').not('#welcome .tooltip').tooltipster({  
4 - offsetY: 2,  
5 - });  
6 - $('#welcome .tooltip').tooltipster({  
7 - offsetY: 2,  
8 - theme: 'tooltipster-white'  
9 - });  
10 - $('#demo-default').tooltipster({  
11 - offsetY: 2  
12 - });  
13 - $('#demo-html').tooltipster({  
14 - content: $('<img src="doc/images/spiderman.png" width="50" height="50" /><p style="text-align:left;"><strong>Soufflรฉ chocolate cake powder.</strong> Applicake lollipop oat cake gingerbread.</p>'),  
15 - // setting a same value to minWidth and maxWidth will result in a fixed width  
16 - minWidth: 300,  
17 - maxWidth: 300,  
18 - position: 'right'  
19 - });  
20 - $('#demo-theme').tooltipster({  
21 - animation: 'grow',  
22 - theme: 'tooltipster-pink'  
23 - });  
24 - $('#demo-callback').tooltipster({  
25 - content: 'Loading...',  
26 - updateAnimation: false,  
27 - functionBefore: function(origin, continueTooltip) {  
28 - continueTooltip();  
29 -  
30 - if (origin.data('ajax') !== 'cached') {  
31 -  
32 - $.jGFeed('http://ws.audioscrobbler.com/2.0/user/ce3ge/recenttracks.rss?',  
33 - function(feeds){  
34 - var content = '';  
35 - if(!feeds){  
36 - content = 'Woops - there was an error retrieving my last.fm RSS feed';  
37 - origin.tooltipster('content', content);  
38 - }  
39 - else {  
40 - content = $('<span>I last listened to: <strong>' + feeds.entries[0].title + '</strong></span>');  
41 - origin  
42 - .tooltipster('content', content)  
43 - .data('ajax', 'cached');  
44 - }  
45 - }, 10);  
46 -  
47 - origin.data('ajax', 'cached');  
48 - }  
49 - },  
50 - functionAfter: function(origin) {  
51 - alert('The tooltip has closed!');  
52 - }  
53 - });  
54 - $('#demo-events').tooltipster({  
55 - trigger: 'click'  
56 - });  
57 - $(window).keypress(function() {  
58 - $('#demo-events').tooltipster('hide');  
59 - });  
60 - $('#demo-interact').tooltipster({  
61 - contentAsHTML: true,  
62 - interactive: true  
63 - });  
64 - $('#demo-touch').tooltipster({  
65 - touchDevices: false  
66 - });  
67 - $('#demo-icon').tooltipster({  
68 - iconDesktop: true,  
69 - iconTouch: true  
70 - });  
71 - $('#demo-multiple').tooltipster({  
72 - animation: 'swing',  
73 - content: 'North',  
74 - multiple: true,  
75 - position: 'top'  
76 - });  
77 - $('#demo-multiple').tooltipster({  
78 - content: 'East',  
79 - multiple: true,  
80 - position: 'right',  
81 - theme: 'tooltipster-punk'  
82 - });  
83 - $('#demo-multiple').tooltipster({  
84 - animation: 'grow',  
85 - content: 'South',  
86 - delay: 200,  
87 - multiple: true,  
88 - position: 'bottom',  
89 - theme: 'tooltipster-light'  
90 - });  
91 - $('#demo-multiple').tooltipster({  
92 - animation: 'fall',  
93 - content: 'West',  
94 - multiple: true,  
95 - position: 'left',  
96 - theme: 'tooltipster-shadow'  
97 - });  
98 - $('.tooltipster-light-preview').tooltipster({  
99 - theme: 'tooltipster-light'  
100 - });  
101 - $('.tooltipster-punk-preview').tooltipster({  
102 - theme: 'tooltipster-punk'  
103 - });  
104 - $('.tooltipster-noir-preview').tooltipster({  
105 - theme: 'tooltipster-noir'  
106 - });  
107 - $('.tooltipster-shadow-preview').tooltipster({  
108 - theme: 'tooltipster-shadow'  
109 - });  
110 -  
111 - $('header select').change(function() {  
112 - var goTo = $(this).val();  
113 - var section = $('#'+goTo);  
114 - var offset = section.offset().top;  
115 - $('html, body').scrollTop(offset);  
116 - });  
117 -  
118 - prettyPrint();  
119 -  
120 -  
121 -});  
122 \ No newline at end of file 0 \ No newline at end of file
controllets/shared_js/tooltipster-master/index.html deleted
1 -<!DOCTYPE html>  
2 -<html lang="en">  
3 -<head>  
4 - <title>Tooltipster - The jQuery Tooltip Plugin</title>  
5 - <meta charset="UTF-8" />  
6 - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">  
7 - <meta name="description" content="Tooltipster is a powerful, flexible jQuery plugin enabling you to easily create clean, HTML5 validated tooltips." />  
8 - <meta property="og:title" content="Tooltipster" />  
9 - <meta property="og:type" content="website" />  
10 - <meta property="og:url" content="index.html" />  
11 - <meta property="og:image" content="images/social.jpg" />  
12 - <meta property="og:site_name" content="Tooltipster - The jQuery Tooltip Plugin" />  
13 - <meta property="og:description" content="Tooltipster is a powerful, flexible jQuery plugin enabling you to easily create clean, HTML5 validated tooltips." />  
14 - <html itemscope itemtype="http://schema.org/CreativeWork">  
15 - <meta itemprop="name" content="Tooltipster - The jQuery Tooltip Plugin">  
16 - <meta itemprop="description" content="Tooltipster is a powerful, flexible jQuery plugin enabling you to easily create clean, HTML5 validated tooltips.">  
17 - <meta itemprop="image" content="images/social.jpg">  
18 - <link rel="icon" type="image/png" href="images/favicon.png" />  
19 - <link rel="image_src" href="images/social.jpg" / >  
20 -  
21 - <link rel="stylesheet" type="text/css" href="doc/css/reset.css" />  
22 - <link rel="stylesheet" type="text/css" href="doc/css/prettify.css" />  
23 - <link rel="stylesheet" type="text/css" href="doc/css/style.css" />  
24 - <link rel="stylesheet" type="text/css" href="css/tooltipster.css" />  
25 - <link rel="stylesheet" type="text/css" href="css/themes/tooltipster-light.css" />  
26 - <link rel="stylesheet" type="text/css" href="css/themes/tooltipster-noir.css" />  
27 - <link rel="stylesheet" type="text/css" href="css/themes/tooltipster-punk.css" />  
28 - <link rel="stylesheet" type="text/css" href="css/themes/tooltipster-shadow.css" />  
29 -  
30 - <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>  
31 - <script type="text/javascript" src="doc/js/jquery.jgfeed.js"></script>  
32 - <script type="text/javascript" src="doc/js/prettify.js"></script>  
33 - <script type="text/javascript" src="doc/js/lang-css.js"></script>  
34 - <script type="text/javascript" src="doc/js/scripts.js"></script>  
35 - <script type="text/javascript" src="js/jquery.tooltipster.js"></script>  
36 -  
37 - <!--[if lt IE 9]>  
38 - <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>  
39 - <![endif]-->  
40 -</head>  
41 -<body>  
42 - <div id="background">  
43 - <img src="doc/images/large-background.jpg" />  
44 - </div>  
45 - <div id="wrapper">  
46 - <header>  
47 - <div id="social">  
48 - <div id="github">  
49 - <iframe src="http://ghbtns.com/github-btn.html?user=iamceege&repo=tooltipster&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100" height="20"></iframe>  
50 - </div>  
51 - <div id="tweet">  
52 - <a href="https://twitter.com/share" class="twitter-share-button" data-text="Tooltipster - A powerful &amp; degradable jQuery tooltip plugin" data-via="iamceege" data-related="iamceege">Tweet</a>  
53 - <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>  
54 - </div>  
55 - <div id="gplus">  
56 - <g:plusone href="http://calebjacob.com/tooltipster"></g:plusone>  
57 - </div>  
58 - </div>  
59 - <nav>  
60 - <ul>  
61 - <li><a href="https://github.com/iamceege/tooltipster/archive/master.zip">Download</a></li>  
62 - <li><a href="#demos">Demos</a></li>  
63 - <li><a href="#getting-started">Get Started</a></li>  
64 - <li><a href="#options">Options</a></li>  
65 - <li><a href="#advanced">Advanced</a></li>  
66 - <li><a href="#themes">Themes</a></li>  
67 - <li><a href="#talk">Talk</a></li>  
68 - </ul>  
69 - </nav>  
70 - <select>  
71 - <option selected="selected" disabled="disabled">Menu...</option>  
72 - <option value="demos">Demos</option>  
73 - <option value="getting-started">Get Started</option>  
74 - <option value="options">Options</option>  
75 - <option value="themes">Themes</option>  
76 - <option value="talk">Talk</option>  
77 - </select>  
78 - </header>  
79 - <section id="welcome">  
80 - <img src="doc/images/tooltipster.svg" alt="Tooltipster" id="tooltipster" />  
81 - <h1>A powerful, flexible jQuery plugin enabling you to easily create semantic, modern tooltips enhanced with the power of CSS.</h1>  
82 - <ul id="browser-support">  
83 - <li>  
84 - <img src="doc/images/browser-chrome.png" alt="Chrome" class="tooltip" title="Chrome Support" />  
85 - </li>  
86 - <li>  
87 - <img src="doc/images/browser-safari.png" alt="Safari" class="tooltip" title="Safari Support" />  
88 - </li>  
89 - <li>  
90 - <img src="doc/images/browser-opera.png" alt="Opera" class="tooltip" title="Opera Support" />  
91 - </li>  
92 - <li>  
93 - <img src="doc/images/browser-firefox.png" alt="FireFox" class="tooltip" title="FireFox Support" />  
94 - </li>  
95 - <li>  
96 - <img src="doc/images/browser-ie.png" alt="Internet Explorer" class="tooltip" title="IE10, IE9, &amp; IE8 Support + Graceful Degradation" />  
97 - </li>  
98 - </ul>  
99 - <div id="download">  
100 - <a href="https://github.com/iamceege/tooltipster/archive/master.zip" class="button alt">Download</a> <span style="padding-right: 0.5em;">&amp;</span> <a href="#demos" class="white">get started &rsaquo;</a>  
101 - </div>  
102 - </section>  
103 -  
104 - <section id="demos">  
105 - <h2>Demos</h2>  
106 - <ul>  
107 - <li>  
108 - <span id="demo-default" title="Hi! This is a tooltip.">Hover</span> Default settings  
109 - </li>  
110 - <li>  
111 - <span id="demo-html">Hover</span> Fixed width, position, &amp; HTML  
112 - </li>  
113 - <li>  
114 - <span id="demo-events" title="Press any key on your keyboard or click anywhere in the page to close this">Click</span> Custom show / hide triggers  
115 - </li>  
116 - <li>  
117 - <span id="demo-touch" title="I would have never been born on a touch device :'(">Hover</span> Disable touch devices  
118 - </li>  
119 - <li>  
120 - <span id="demo-theme" title="Build custom themes and CSS powered animations!">Hover</span> Custom themes &amp; animations  
121 - </li>  
122 - <li>  
123 - <span id="demo-callback" title="This will be populated by AJAX.">Hover</span> Custom callbacks (AJAX <3)  
124 - </li>  
125 - <li>  
126 - <span id="demo-interact" title="Try clicking &lt;a href='http://google.com/' target='_blank'&gt;this link&lt;/a&gt;">Hover</span> Interaction with tooltips  
127 - </li>  
128 - <li>  
129 - <span id="demo-icon" title="Use separate icons to launch your tooltips on either desktops or touch devices - or both!"></span> Attach tooltips to icons  
130 - </li>  
131 - <li>  
132 - <span id="demo-multiple">Hover</span> Multiple tooltips on a single element  
133 - </li>  
134 - <li>...&amp; more!</li>  
135 - </ul>  
136 - </section>  
137 -  
138 - <section id="getting-started">  
139 - <h2>Getting Started</h2>  
140 - <h3>1. Load jQuery and include Tooltipster's plugin files</h3>  
141 - <p>After you <a href="https://github.com/iamceege/tooltipster/archive/master.zip">download Tooltipster</a>, move tooltipster.css and jquery.tooltipster.min.js to your root's CSS and JavaScript directories. Next, load jQuery and include Tooltipster's CSS and JavaScript files inside of your tags:</p>  
142 -<pre class="prettyprint">  
143 -&lt;head&#62;  
144 -...  
145 -  
146 - &lt;link rel="stylesheet" type="text/css" href="css/tooltipster.css" /&#62;  
147 -  
148 - &lt;script type="text/javascript" src="http://code.jquery.com/jquery-1.7.0.min.js"&#62;&lt;/script&#62;  
149 - &lt;script type="text/javascript" src="js/jquery.tooltipster.min.js"&#62;&lt;/script&#62;  
150 -  
151 -...  
152 -&lt;/head&#62;  
153 -</pre>  
154 - <h3>2. Set up your HTML</h3>  
155 - <p>In order for Tooltipster to work, we first need to add the <strong>.tooltip</strong> class (or whatever class / means of selection you'd like to use) to whatever element we wish to have a tooltip. Next, we'll set the <strong>title attribute</strong> to whatever we'd like our tooltip to say. Here are a few examples:</p>  
156 - <h4>Adding a tooltip to an image:</h4>  
157 - <pre class="prettyprint">  
158 -&lt;img src="my-image.png" class="tooltip" title="This is my image's tooltip message!" /&#62;</pre>  
159 - <h4>Adding a tooltip to a link that already has a class:</h4>  
160 - <pre class="prettyprint">  
161 -&lt;a href="http://calebjacob.com" class="ketchup tooltip" title="This is my link's tooltip message!"&#62;Link&lt;/a&#62;</pre>  
162 - <h4>Adding a tooltip to a div:</h4>  
163 - <pre class="prettyprint">  
164 -&lt;div class="tooltip" title="This is my div's tooltip message!"&#62;  
165 - This div has a tooltip when you hover over it!  
166 -&lt;/div&#62;</pre>  
167 -  
168 - <h3>3. Activate Tooltipster</h3>  
169 - <p>The last thing we have to do is activate the plugin. To do this, add the following script right before your closing &lt;/head&#62; tag (using whatever selector you'd like - in this case we're using the <strong>.tooltip</strong> class):</p>  
170 - <pre class="prettyprint">  
171 -&lt;head&#62;  
172 -  
173 - ...  
174 -  
175 - &lt;script&#62;  
176 - $(document).ready(function() {  
177 - $('.tooltip').tooltipster();  
178 - });  
179 - &lt;/script&#62;  
180 -&lt;/head&#62;</pre>  
181 -  
182 - <h3><a name="further">4. Taking It a Step Further</a></h3>  
183 - <h4>Using HTML tags inside your tooltips</h4>  
184 - <p>Tooltipster allows you to use any HTML markup you can think of inside your tooltips. This means you can insert things like images and text formatting tags. To achieve this, the recommended method is a little different : provide your content as a jQuery object in the script rather than in the title attribute :</p>  
185 - <pre class="prettyprint">  
186 -&lt;head&#62;  
187 -  
188 - ...  
189 -  
190 - &lt;script&#62;  
191 - $(document).ready(function() {  
192 - $('#my-tooltip').tooltipster({  
193 - content: $('&lt;span&gt;&lt;img src="my-image.png" /&gt; &lt;strong&gt;This text is in bold case !&lt;/strong&gt;&lt;/span&gt;')  
194 - });  
195 - });  
196 - &lt;/script&#62;  
197 -&lt;/head&#62;  
198 -&lt;body&#62;  
199 -  
200 - &lt;div id="my-tooltip"&#62;  
201 - This div has a tooltip with HTML when you hover over it!  
202 - &lt;/div&#62;  
203 -  
204 -&lt;/body&#62;</pre>  
205 -  
206 - <p>Another (less recommended) way of achieving this is to put encoded HTML markup directly in your title attribute and set the 'contentAsHTML' option to 'true'. In all cases, make sure you have tight control over the content you wish to display in the tooltip, as unwanted &lt;script&gt; or &lt;iframe&gt; tags for example would be a serious security issue for your website.</p>  
207 -  
208 - <pre class="prettyprint">  
209 -&lt;head&#62;  
210 -  
211 - ...  
212 -  
213 - &lt;script&#62;  
214 - $(document).ready(function() {  
215 - $('.tooltip').tooltipster({  
216 - contentAsHTML: true  
217 - });  
218 - });  
219 - &lt;/script&#62;  
220 -&lt;/head&#62;  
221 -&lt;body&#62;  
222 -  
223 - &lt;div class="tooltip" title="&amp;lt;img src=&amp;quot;my-image.png&amp;quot; /&amp;gt; &amp;lt;strong&amp;gt; This text is in bold case !&amp;lt;/strong&amp;gt;"&gt;  
224 - This div has a tooltip with HTML when you hover over it!  
225 - &lt;/div&#62;  
226 -  
227 -&lt;/body&#62;</pre>  
228 -  
229 - <h4>Customizing Your Tooltipster's Style</h4>  
230 - <p>The style of your Tooltipsters can be easily changed by editing/overriding the default Tooltipster theme, located in the <strong>css/tooltipster.css</strong> file.</p>  
231 - <p>Tooltipster is also packaged with 4 alternative themes to choose from. They are demonstrated at the bottom of this page. To use a theme, just include its css file (located in the css/themes folder) in your page and specify its name in Tooltipster's settings :</p>  
232 - <pre class="prettyprint">  
233 -$('.tooltip').tooltipster({  
234 - theme: 'tooltipster-noir'  
235 -});</pre>  
236 - <p>And of course, you also have the option to create a brand new theme to suit your needs. To do this, start with the example below and add your flair. When you are done, include and specify your theme just like you would for one of Tooltipster's existing themes.</p>  
237 - <pre class="prettyprint lang-css">  
238 -/* This is how you would create a theme called "my-custom-theme": */  
239 -  
240 -.my-custom-theme {  
241 - border-radius: 5px;  
242 - border: 2px solid #000;  
243 - background: #4c4c4c;  
244 - color: #fff;  
245 -}  
246 -/* Use this next selector to style things like font-size and line-height: */  
247 -.my-custom-theme .tooltipster-content {  
248 - font-family: Arial, sans-serif;  
249 - font-size: 14px;  
250 - line-height: 16px;  
251 - padding: 8px 10px;  
252 -}</pre>  
253 -  
254 - <h4>Customizing Tooltipster's Functionality</h4>  
255 - <p>Tooltipster's options gives you a wide range of variables to tweak your tooltip to your heart's content. To learn more about all of the options, <a href="#options">read the Options section</a>. Here's just a few of the things you can play with:</p>  
256 - <pre class="prettyprint">  
257 -$('.tooltip').tooltipster({  
258 - animation: 'fade',  
259 - delay: 200,  
260 - theme: 'tooltipster-default',  
261 - touchDevices: false,  
262 - trigger: 'hover'  
263 -});</pre>  
264 - </section>  
265 -  
266 - <section id="options">  
267 - <h2>Options</h2>  
268 - <table border="0" cellpadding="0" cellspacing="0">  
269 - <tr>  
270 - <td><h4>animation</h4></td>  
271 - <td>fade, grow, swing, slide, fall</td>  
272 - <td>Determines how the tooltip will animate in and out. Feel free to modify or create custom transitions in the tooltipster.css file. In IE9 and 8, all animations default to a JavaScript generated, fade animation. <strong>Default: 'fade'</strong></td>  
273 - </tr>  
274 - <tr>  
275 - <td><h4>arrow</h4></td>  
276 - <td>boolean</td>  
277 - <td>Adds the "speech bubble arrow" to the tooltip. <strong>Default: true</strong></td>  
278 - </tr>  
279 - <tr>  
280 - <td><h4>arrowColor</h4></td>  
281 - <td>hex code / rgb</td>  
282 - <td>Select a specific color for the "speech bubble arrow". <strong>Default: will inherit the tooltip's background color</strong></td>  
283 - </tr>  
284 - <tr>  
285 - <td><h4>autoClose</h4></td>  
286 - <td>boolean</td>  
287 - <td>If autoClose is set to false, the tooltip will never close unless you call the 'hide' method yourself. <strong>Default: true</strong></td>  
288 - </tr>  
289 - <tr>  
290 - <td><h4>content</h4></td>  
291 - <td>string, jQuery object</td>  
292 - <td>If set, this will override the content of the tooltip. <strong>Default: null</strong></td>  
293 - </tr>  
294 - <tr>  
295 - <td><h4>contentAsHTML</h4></td>  
296 - <td>boolean</td>  
297 - <td>If the content of the tooltip is provided as a string, it is displayed as plain text by default. If this content should actually be interpreted as HTML, set this option to true. <strong>Default: false</strong></td>  
298 - </tr>  
299 - <tr>  
300 - <td><h4>contentCloning</h4></td>  
301 - <td>boolean</td>  
302 - <td>If you provide a jQuery object to the 'content' option, this sets if it is a clone of this object that should actually be used. <strong>Default: true</strong></td>  
303 - </tr>  
304 - <tr>  
305 - <td><h4>debug</h4></td>  
306 - <td>boolean</td>  
307 - <td>Tooltipster logs notices into the console when you're doing something you ideally shouldn't be doing. Set to false to disable logging. <strong>Default: true</strong></td>  
308 - </tr>  
309 - <tr>  
310 - <td><h4>delay</h4></td>  
311 - <td>integer</td>  
312 - <td>Delay how long it takes (in milliseconds) for the tooltip to start animating in. <strong>Default: 200</strong></td>  
313 - </tr>  
314 - <tr>  
315 - <td><h4>minWidth</h4></td>  
316 - <td>integer</td>  
317 - <td>Set a minimum width for the tooltip. <strong>Default: 0 (auto width)</strong></td>  
318 - </tr>  
319 - <tr>  
320 - <td><h4>maxWidth</h4></td>  
321 - <td>integer</td>  
322 - <td>Set a maximum width for the tooltip. <strong>Default: null (no max width)</strong></td>  
323 - </tr>  
324 - <tr>  
325 - <td><h4>functionInit</h4></td>  
326 - <td>function</td>  
327 - <td>Create a custom function to be fired only once at instantiation. If the function returns a value, this value will become the content of the tooltip. See the <a href="#advanced">advanced section</a> to learn more. <strong>Default: function(origin, content) {}</strong></td>  
328 - </tr>  
329 - <tr>  
330 - <td><h4>functionBefore</h4></td>  
331 - <td>function</td>  
332 - <td>Create a custom function to be fired before the tooltip opens. This function may prevent or hold off the opening. See the <a href="#advanced">advanced section</a> to learn more. <strong>Default: function(origin, continueTooltip) { continueTooltip(); }</strong></td>  
333 - </tr>  
334 - <tr>  
335 - <td><h4>functionReady</h4></td>  
336 - <td>function</td>  
337 - <td>Create a custom function to be fired when the tooltip and its contents have been added to the DOM. <strong>Default: function(origin, tooltip) {}</strong></td>  
338 - </tr>  
339 - <tr>  
340 - <td><h4>functionAfter</h4></td>  
341 - <td>function</td>  
342 - <td>Create a custom function to be fired once the tooltip has been closed and removed from the DOM. <strong>Default: function(origin) {}</strong></td>  
343 - </tr>  
344 - <tr>  
345 - <td><h4>hideOnClick</h4></td>  
346 - <td>boolean</td>  
347 - <td>If true, the tooltip will close if its origin is clicked. This option only applies when 'trigger' is 'hover' and 'autoClose' is false. <strong>Default: false</strong></td>  
348 - </tr>  
349 - <tr>  
350 - <td><h4>icon</h4></td>  
351 - <td>string, jQuery object</td>  
352 - <td>If using the iconDesktop or iconTouch options, this sets the content for your icon. <strong>Default: '(?)'</strong></td>  
353 - </tr>  
354 - <tr>  
355 - <td><h4>iconCloning</h4></td>  
356 - <td>boolean</td>  
357 - <td>If you provide a jQuery object to the 'icon' option, this sets if it is a clone of this object that should actually be used. <strong>Default: true</strong></td>  
358 - </tr>  
359 - <tr>  
360 - <td><h4>iconDesktop</h4></td>  
361 - <td>boolean</td>  
362 - <td>Generate an icon next to your content that is responsible for activating the tooltip on non-touch devices. <strong>Default: false</strong></td>  
363 - </tr>  
364 - <tr>  
365 - <td><h4>iconTheme</h4></td>  
366 - <td>CSS class</td>  
367 - <td>If using the iconDesktop or iconTouch options, this sets the class on the icon (used to style the icon). <strong>Default: 'tooltipster-icon'</strong></td>  
368 - </tr>  
369 - <tr>  
370 - <td><h4>iconTouch</h4></td>  
371 - <td>boolean</td>  
372 - <td>Generate an icon next to your content that is responsible for activating the tooltip on touch devices (tablets, phones, etc). <strong>Default: false</strong></td>  
373 - </tr>  
374 - <tr>  
375 - <td><h4>interactive</h4></td>  
376 - <td>boolean</td>  
377 - <td>Give users the possibility to interact with the tooltip. Unless autoClose is set to false, the tooltip will still close if the user moves away from or clicks out of the tooltip. <strong>Default: false</strong></td>  
378 - </tr>  
379 - <tr>  
380 - <td><h4>interactiveTolerance</h4></td>  
381 - <td>integer</td>  
382 - <td>If the tooltip is interactive and activated by a hover event, set the amount of time (milliseconds) allowed for a user to hover off of the tooltip activator (origin) on to the tooltip itself - keeping the tooltip from closing. <strong>Default: 350</strong></td>  
383 - </tr>  
384 - <tr>  
385 - <td><h4>multiple</h4></td>  
386 - <td>boolean</td>  
387 - <td>Allows you to put multiple tooltips on a single element. Read further instructions down this page. <strong>Default: false</strong></td>  
388 - </tr>  
389 - <tr>  
390 - <td><h4>offsetX</h4></td>  
391 - <td>integer</td>  
392 - <td>Offsets the tooltip (in pixels) farther left/right from the origin. <strong>Default: 0</strong></td>  
393 - </tr>  
394 - <tr>  
395 - <td><h4>offsetY</h4></td>  
396 - <td>integer</td>  
397 - <td>Offsets the tooltip (in pixels) farther up/down from the origin. <strong>Default: 0</strong></td>  
398 - </tr>  
399 - <tr>  
400 - <td><h4>onlyOne</h4></td>  
401 - <td>boolean</td>  
402 - <td>If true, only one tooltip will be allowed to be active at a time. Non-autoclosing tooltips will not be closed though. <strong>Default: false</strong></td>  
403 - </tr>  
404 - <tr>  
405 - <td><h4>position</h4></td>  
406 - <td>right, left, top, top-right, top-left, bottom, bottom-right, bottom-left</td>  
407 - <td>Set the position of the tooltip. <strong>Default: 'top'</strong></td>  
408 - </tr>  
409 - <tr>  
410 - <td><h4>positionTracker</h4></td>  
411 - <td>boolean</td>  
412 - <td>Will reposition the tooltip if the origin moves. As this option may have an impact on performance, we suggest you enable it only if you need to. <strong>Default: false</strong></td>  
413 - </tr>  
414 - <tr>  
415 - <td><h4>positionTrackerCallback</h4></td>  
416 - <td>function</td>  
417 - <td>Called after the tooltip has been repositioned by the position tracker (if enabled). <strong>Default:</strong> A function that will close the tooltip if the trigger is 'hover' and autoClose is false.</td>  
418 - </tr>  
419 - <tr>  
420 - <td><h4>restoration</h4></td>  
421 - <td>'none', 'previous' or 'current'</td>  
422 - <td>Specify if a TITLE attribute should be restored on the HTML element after a call to the 'destroy' method. This attribute may be omitted, or be restored with the value that existed before Tooltipster was initialized, or be restored with the stringified value of the current content. Note: in case of multiple tooltips on a single element, only the last destroyed tooltip may trigger a restoration. <strong>Default: 'current'</strong></td>  
423 - </tr>  
424 - <tr>  
425 - <td><h4>speed</h4></td>  
426 - <td>integer</td>  
427 - <td>Set the speed of the animation. <strong>Default: 350</strong></td>  
428 - </tr>  
429 - <tr>  
430 - <td><h4>timer</h4></td>  
431 - <td>integer</td>  
432 - <td>How long the tooltip should be allowed to live before closing. <strong>Default: 0 (disabled)</strong></td>  
433 - </tr>  
434 - <tr>  
435 - <td><h4>theme</h4></td>  
436 - <td>CSS class</td>  
437 - <td>Set the theme used for your tooltip. <strong>Default: 'tooltipster-default'</strong></td>  
438 - </tr>  
439 - <tr>  
440 - <td><h4>touchDevices</h4></td>  
441 - <td>boolean</td>  
442 - <td>If set to false, tooltips will not show on pure-touch devices, unless you open them yourself with the 'show' method. Touch gestures on devices which also have a mouse will still open the tooltips though. <strong>Default: true</strong></td>  
443 - </tr>  
444 - <tr>  
445 - <td><h4>trigger</h4></td>  
446 - <td>hover, click, custom</td>  
447 - <td>Set how tooltips should be activated and closed. See the <a href="#advanced">advanced section</a> to learn how to build custom triggers. <strong>Default: 'hover'</strong></td>  
448 - </tr>  
449 - <tr>  
450 - <td><h4>updateAnimation</h4></td>  
451 - <td>boolean</td>  
452 - <td>If a tooltip is open while its content is updated, play a subtle animation when the content changes. <strong>Default: true</strong></td>  
453 - </tr>  
454 - </table>  
455 - </section>  
456 -  
457 - <section id="advanced">  
458 - <h2>Advanced</h2>  
459 -  
460 - <a name="api"></a>  
461 - <h3>The awesomesauce Tooltipster API</h3>  
462 - <p>The Tooltipster API was created to be as flexible and easy to use as possible (thanks to <a href="https://github.com/glebtv">glebtv</a> for the inspiration). The API allows you to create custom triggers, update tooltip content on the fly (whether the tooltip is currently open or not), destroy Tooltipster functionality if needed, and reposition tooltips for unique use cases.</p>  
463 - <p>Here is a quick look at all of the API methods:</p>  
464 - <pre class="prettyprint">  
465 -// set default options for all future tooltip instantiations  
466 -$.fn.tooltipster('setDefaults', {  
467 - position: 'bottom'  
468 -});  
469 -  
470 -// show a tooltip (the 'callback' argument is optional)  
471 -$(...).tooltipster('show', callback);  
472 -  
473 -// hide a tooltip (the 'callback' argument is optional)  
474 -$(...).tooltipster('hide', callback);  
475 -  
476 -// temporarily disable a tooltip from being able to open  
477 -$(...).tooltipster('disable');  
478 -  
479 -// if a tooltip was disabled from opening, reenable its previous functionality  
480 -$(...).tooltipster('enable');  
481 -  
482 -// hide and destroy tooltip functionality  
483 -$(...).tooltipster('destroy');  
484 -  
485 -// return a tooltip's current content (if selector contains multiple origins, only the value of the first will be returned)  
486 -$(...).tooltipster('content');  
487 -  
488 -// update tooltip content  
489 -$(...).tooltipster('content', myNewContent);  
490 -  
491 -// get the value of an option  
492 -$(...).tooltipster('option', optionName);  
493 -  
494 -// set the value of an option (use at your own risk, we do not provide support for issues you may encounter when using this method)  
495 -$(...).tooltipster('option', optionName, optionValue);  
496 -  
497 -// reposition and resize the tooltip  
498 -$(...).tooltipster('reposition');  
499 -  
500 -// return the HTML root element of the tooltip  
501 -$(...).tooltipster('elementTooltip');  
502 -  
503 -// return the HTML root element of the icon if there is one, 'undefined' otherwise  
504 -$(...).tooltipster('elementIcon');</pre>  
505 -  
506 - <a name="ajax"></a>  
507 - <h3>Using AJAX to generate your tooltip content</h3>  
508 - <p>Tooltipster gives you the ability to fire a custom synchronous or asynchronous function everytime before the tooltip launches (<a href="#functionBeforeExample">functionBefore</a>) or just once upon instantiation (<a href="#functionInitExample">functionInit</a>). One great use for this is to grab dynamic content for your tooltips via AJAX.</p>  
509 - <p id="functionBeforeExample">Here is an example of using functionBefore() asynchronously to replace a loading notification with our AJAX call. Once the content has been retrieved and updated, we'll take advantage of setting $.data() to keep our content cached for the next time the tooltip is opened:</p>  
510 - <pre class="prettyprint">  
511 -$('.tooltip').tooltipster({  
512 - content: 'Loading...',  
513 - functionBefore: function(origin, continueTooltip) {  
514 -  
515 - // we'll make this function asynchronous and allow the tooltip to go ahead and show the loading notification while fetching our data  
516 - continueTooltip();  
517 -  
518 - // next, we want to check if our data has already been cached  
519 - if (origin.data('ajax') !== 'cached') {  
520 - $.ajax({  
521 - type: 'POST',  
522 - url: 'example.php',  
523 - success: function(data) {  
524 - // update our tooltip content with our returned data and cache it  
525 - origin.tooltipster('content', data).data('ajax', 'cached');  
526 - }  
527 - });  
528 - }  
529 - }  
530 -});</pre>  
531 - <p id="functionInitExample">However, maybe you just need to make one call and only need it to fire once instead of everytime the tooltip opens. This is where you could use functionInit(). This function will fire only once - right at the beginning of the instantiation process. You'll have the ability to do things like check the current content and set new content. Since the fancy API methods for returning and setting the value aren't instantiated yet, the way we go about this is a little different than functionBefore():  
532 - <pre class="prettyprint">  
533 -$('.tooltip').tooltipster({  
534 - functionInit: function(origin, content) {  
535 -  
536 - if (content === 'This is bad content') {  
537 -  
538 - // when the request has finished loading, we will change the tooltip's content  
539 - $.ajax({  
540 - type: 'POST',  
541 - url: 'example.php',  
542 - success: function(data) {  
543 - origin.tooltipster('content', 'New content has been loaded : ' + data);  
544 - }  
545 - });  
546 -  
547 - // this returned string will overwrite the content of the tooltip for the time being  
548 - return 'Wait while we load new content...';  
549 - }  
550 - else {  
551 - // return nothing : the initialization continues normally with its content unchanged.  
552 - }  
553 - }  
554 -});</pre>  
555 -  
556 - <a name="apishow"></a>  
557 - <h3>Manually show and hide a tooltip</h3>  
558 - <p>By default and according to the 'trigger' option, Tooltipster automatically shows tooltips upon users' mouse clicks or mouse hovering (or their touch-gesture equivalents). In addition to this, you may also manually open or close a tooltip at anytime with a simple javascript command.</p>  
559 - <p>To achieve this, Tooltipster has the 'show' and 'hide' methods. Both of them may receive an optional 'callback' parameter, which represents a function you'd like to call when the tooltip is done animating.</p>  
560 - <p>Here's an example of how you could launch a specific tooltip on page load and close it when any key on your keyboard is pressed. This will still preserve the default hover trigger.</p>  
561 - <pre class="prettyprint">  
562 -&lt;span class="tooltip" id="example" title="My tooltip content"&#62;Example&lt;/span&#62;  
563 -</pre>  
564 - <pre class="prettyprint">  
565 -$(document).ready(function() {  
566 -  
567 - // first on page load, initiate the Tooltipster plugin  
568 - $('.tooltip').tooltipster();  
569 -  
570 - // then immediately show the tooltip  
571 - $('#example').tooltipster('show');  
572 -  
573 - // as soon as a key is pressed on the keyboard, hide the tooltip.  
574 - $(window).keypress(function() {  
575 - $('#example').tooltipster('hide');  
576 - });  
577 -});  
578 -</pre>  
579 - <p>You may also provide a function as the callback parameter of the show/hide methods. The callback functions are called in the context of the tooltipstered element. If the tooltip is already in the state you are asking for (open/closed), the callback is executed immediately. Please note that if the show/hide action is somehow cancelled before it has completed its animation, the callback function will never be called.</p>  
580 - <pre class="prettyprint">  
581 -$(document).ready(function() {  
582 -  
583 - $('.tooltip').tooltipster();  
584 -  
585 - $('#example').tooltipster('show', function() {  
586 - alert('The tooltip is now fully open. The content is: ' + this.tooltipster('content'));  
587 - });  
588 -  
589 - $(window).keypress(function() {  
590 - $('#example').tooltipster('hide', function() {  
591 - alert('The tooltip is now fully closed');  
592 - });  
593 - });  
594 -});  
595 -</pre>  
596 -  
597 - <a name="apicontent"></a>  
598 - <h3>Updating a tooltip's content</h3>  
599 - <p>It's easy as pie to update a tooltip's content - whether it's open or closed. Depending on your selector, you can update multiple tooltips at once or just one:</p>  
600 - <pre class="prettyprint">  
601 -$('#my-special-element').tooltipster('content', 'My new content');</pre>  
602 - <p>By default, Tooltipster will play a subtle animation when the content changes. To tweak the animation, check out the '.tooltipster-content-changing' class in your tooltipster.css file. It's important to note that only CSS transforms will be animated. To disable this animation, set updateAnimation to false.</p>  
603 -  
604 - <a name="multiple"></a>  
605 - <h3>Using several tooltips on a single element</h3>  
606 - <p>Several independant tooltips can be set on a single element, each one having its own triggers and options. Just set the 'multiple' option to true when you initialize your tooltip. This will only change two things that you might want to be aware of.</p>  
607 - <p>Firstly, the instantiation call will now return an array of Tooltipster objects generated by the call, instead of the tooltipped jQuery-wrapped elements.</p>  
608 - <p>Secondly, you will have to use the Tooltipster object of a tooltip to make any API method calls on it. All methods documented on this page remain available, only the way to call them changes.</p>  
609 -  
610 - <pre class="prettyprint">  
611 -// create a first tooltip as usual. The multiple option is actually optional for the first tooltip  
612 -$('#my-element').tooltipster({  
613 - content: 'My first tooltip',  
614 - position: 'top'  
615 -});  
616 -  
617 -// instantiate a second tooltip and keep the returned Tooltipster objects array for later use of the API  
618 -var tooltipsterObjects = $('#my-element').tooltipster({  
619 - // don't forget to provide content here as the 1st tooltip will have deleted the original title attribute of the element  
620 - content: 'My second tooltip',  
621 - multiple: true,  
622 - position: 'bottom'  
623 -});  
624 -  
625 -// since the jQuery selector matches only one element, the array will contain only one Tooltipster object.  
626 -// Otherwise the array would contain one object for each matched element, in the same order as them  
627 -var tooltip2 = tooltipsterObjects[0];  
628 -  
629 -// use this Tooltipster object to make any API method call on the tooltip  
630 -tooltip2.content('New content for my second tooltip').show();  
631 -// all documented methods can be called that way  
632 -var element = tooltip2.elementTooltip();  
633 -  
634 -// calling the API methods in the usual way only affects the first tooltip that was created on the element  
635 -$('#my-element').tooltipster('content', 'New content for my first tooltip')  
636 -</pre>  
637 -  
638 -<pre class="prettyprint">  
639 -// You may use the 'multiple' option on the first tooltip as well, it will return an array of objects too  
640 -var tooltipsterObjects = $('#my-element').tooltipster({  
641 - content: 'My first tooltip',  
642 - multiple: true  
643 -});  
644 -  
645 -// this is also a way to call API methods on the first tooltip  
646 -var tooltip1 = tooltipsterObjects[0];  
647 -tooltip1.content('New content for my first tooltip').show();</pre>  
648 -  
649 -<p>Note : if you have multiple tooltips and destroy them, only the last destroyed tooltip will transfer its content back to the title attribute of the tooltipped element.</p>  
650 -  
651 - <a name="accessibility"></a>  
652 - <h3>Make tooltips accessible to persons with disabilities</h3>  
653 - <p>The W3C issued a recommendation to make websites more accessible to persons with disabilities. This recommendation is known as WAI-ARIA (or simply ARIA), which stands for Web Accessibility Initiative - Accessible Rich Internet Applications.</p>  
654 - <p>Accessible tooltips can be powered by Tooltipster. To do this, one solution is to actually manipulate in parallel two tooltips which will share the same content :<br />  
655 - - the ARIA tooltip, which is invisible on the screen but readable by ARIA-compatible software<br />  
656 - - the Tooltipster tooltip, which is visible on the screen but does not appear as an ARIA-compatible element  
657 - </p>  
658 - <p>A basic example : imagine that we want to put a tooltip on a text input field. As for the HTML part, you would write :</p>  
659 - <pre class="prettyprint">  
660 -&lt;input id="myfield" type="text" aria-describedby="myfield_description" /&gt;  
661 -&lt;span id="myfield_description" role="tooltip"&gt;Please insert your name here&lt;/span&gt;  
662 -</pre>  
663 - <p>As for the CSS part, write this :</p>  
664 - <pre class="prettyprint">  
665 -#myfield_description {  
666 - display: none;  
667 -}  
668 -</pre>  
669 - <p>And finally, you could initiate Tooltipster like this :</p>  
670 - <pre class="prettyprint">  
671 -$('#myfield').tooltipster({  
672 - functionInit: function(){  
673 - return $('#myfield_description').html();  
674 - },  
675 - functionReady: function(){  
676 - $('#myfield_description').attr('aria-hidden', false);  
677 - },  
678 - functionAfter: function(){  
679 - $('#myfield_description').attr('aria-hidden', true);  
680 - }  
681 -});  
682 -  
683 -// if in addition you want the tooltip to be displayed when the field gets focus, add these custom triggers :  
684 -$('#myfield')  
685 - .focus(function(){  
686 - $(this).tooltipster('show');  
687 - })  
688 - .blur(function(){  
689 - $(this).tooltipster('hide');  
690 - });  
691 -</pre>  
692 -  
693 - <h3>Community submitted use cases</h3>  
694 - <p><a href="http://stackoverflow.com/questions/14741688/how-to-display-messages-from-jquery-validate-plugin-inside-of-tooltipster-toolti">Using Tooltipster alongside jQuery Validate</a> by <a href="https://github.com/sparky672">sparky672</a></p>  
695 - <p>Did you do something awesome with Tooltipster? <a href="#talk">Tell me</a> and I'll post it up here!</p>  
696 - </section>  
697 -  
698 - <section id="themes">  
699 - <h2>Themes</h2>  
700 - <p>Tired of the same old? Four other rocking themes are available for your tooltips, and you can always create yours ! Share them with us on GitHub !</p>  
701 - <div class="themes">  
702 - <span class="tooltipster-default-preview tooltip" title="The default theme" target="_blank">Default</span>  
703 - <span class="tooltipster-light-preview" title="Light and frisky!" target="_blank">Light</span>  
704 - <span class="tooltipster-punk-preview" title="I will not conform to your old fart ways!" target="_blank">Punk</span>  
705 - <span class="tooltipster-noir-preview" title="Hipsterific!" target="_blank">Noir</span>  
706 - <span class="tooltipster-shadow-preview" title="Check out my shadow" target="_blank">Shadow</span>  
707 - </div>  
708 - </section>  
709 -  
710 - <section id="talk">  
711 - <h2>Talk</h2>  
712 - <h3>Share thoughts, questions, &amp; bugs!</h3>  
713 - <p>Head on over to Tooltipster's issue tracker on GitHub: <a href="https://github.com/iamceege/tooltipster/issues">https://github.com/iamceege/tooltipster/issues</a></p>  
714 - <p>Before opening a new issue, please be sure to search through the backlog to see if your question or bug has been / is being resolved. Thank you! :)</p>  
715 - </section>  
716 -  
717 - <footer>  
718 - Developed and maintained by <a href="https://plus.google.com/116532683962309427991?rel=author" class="white">Caleb Jacob</a> and <a href="https://github.com/louisameline" class="white">Louis Ameline</a> under the <a href="http://opensource.org/licenses/MIT" class="white">MIT license</a>  
719 - </footer>  
720 - </div>  
721 -  
722 - <div id="fb-root"></div>  
723 - <script type="text/javascript">  
724 - (function() {  
725 - var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;  
726 - po.src = '//apis.google.com/js/plusone.js';  
727 - var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);  
728 - })();  
729 - </script>  
730 -</body>  
731 -</html>  
732 \ No newline at end of file 0 \ No newline at end of file
controllets/shared_js/tooltipster-master/js/jquery.tooltipster.js deleted
1 -/*  
2 -  
3 -Tooltipster 3.3.0 | 2014-11-08  
4 -A rockin' custom tooltip jQuery plugin  
5 -  
6 -Developed by Caleb Jacob under the MIT license http://opensource.org/licenses/MIT  
7 -  
8 -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  
9 -  
10 -*/  
11 -  
12 -;(function ($, window, document) {  
13 -  
14 - var pluginName = "tooltipster",  
15 - defaults = {  
16 - animation: 'fade',  
17 - arrow: true,  
18 - arrowColor: '',  
19 - autoClose: true,  
20 - content: null,  
21 - contentAsHTML: false,  
22 - contentCloning: true,  
23 - debug: true,  
24 - delay: 200,  
25 - minWidth: 0,  
26 - maxWidth: null,  
27 - functionInit: function(origin, content) {},  
28 - functionBefore: function(origin, continueTooltip) {  
29 - continueTooltip();  
30 - },  
31 - functionReady: function(origin, tooltip) {},  
32 - functionAfter: function(origin) {},  
33 - hideOnClick: false,  
34 - icon: '(?)',  
35 - iconCloning: true,  
36 - iconDesktop: false,  
37 - iconTouch: false,  
38 - iconTheme: 'tooltipster-icon',  
39 - interactive: false,  
40 - interactiveTolerance: 350,  
41 - multiple: false,  
42 - offsetX: 0,  
43 - offsetY: 0,  
44 - onlyOne: false,  
45 - position: 'top',  
46 - positionTracker: false,  
47 - positionTrackerCallback: function(origin){  
48 - // the default tracker callback will close the tooltip when the trigger is  
49 - // 'hover' (see https://github.com/iamceege/tooltipster/pull/253)  
50 - if(this.option('trigger') == 'hover' && this.option('autoClose')) {  
51 - this.hide();  
52 - }  
53 - },  
54 - restoration: 'current',  
55 - speed: 350,  
56 - timer: 0,  
57 - theme: 'tooltipster-default',  
58 - touchDevices: true,  
59 - trigger: 'hover',  
60 - updateAnimation: true  
61 - };  
62 -  
63 - function Plugin(element, options) {  
64 -  
65 - // list of instance variables  
66 -  
67 - this.bodyOverflowX;  
68 - // stack of custom callbacks provided as parameters to API methods  
69 - this.callbacks = {  
70 - hide: [],  
71 - show: []  
72 - };  
73 - this.checkInterval = null;  
74 - // this will be the user content shown in the tooltip. A capital "C" is used because there is also a method called content()  
75 - this.Content;  
76 - // this is the original element which is being applied the tooltipster plugin  
77 - this.$el = $(element);  
78 - // this will be the element which triggers the appearance of the tooltip on hover/click/custom events.  
79 - // it will be the same as this.$el if icons are not used (see in the options), otherwise it will correspond to the created icon  
80 - this.$elProxy;  
81 - this.elProxyPosition;  
82 - this.enabled = true;  
83 - this.options = $.extend({}, defaults, options);  
84 - this.mouseIsOverProxy = false;  
85 - // a unique namespace per instance, for easy selective unbinding  
86 - this.namespace = 'tooltipster-'+ Math.round(Math.random()*100000);  
87 - // Status (capital S) can be either : appearing, shown, disappearing, hidden  
88 - this.Status = 'hidden';  
89 - this.timerHide = null;  
90 - this.timerShow = null;  
91 - // this will be the tooltip element (jQuery wrapped HTML element)  
92 - this.$tooltip;  
93 -  
94 - // for backward compatibility  
95 - this.options.iconTheme = this.options.iconTheme.replace('.', '');  
96 - this.options.theme = this.options.theme.replace('.', '');  
97 -  
98 - // launch  
99 -  
100 - this._init();  
101 - }  
102 -  
103 - Plugin.prototype = {  
104 -  
105 - _init: function() {  
106 -  
107 - var self = this;  
108 -  
109 - // disable the plugin on old browsers (including IE7 and lower)  
110 - if (document.querySelector) {  
111 -  
112 - // note : the content is null (empty) by default and can stay that way if the plugin remains initialized but not fed any content. The tooltip will just not appear.  
113 -  
114 - // let's save the initial value of the title attribute for later restoration if need be.  
115 - var initialTitle = null;  
116 - // it will already have been saved in case of multiple tooltips  
117 - if (self.$el.data('tooltipster-initialTitle') === undefined) {  
118 -  
119 - initialTitle = self.$el.attr('title');  
120 -  
121 - // we do not want initialTitle to have the value "undefined" because of how jQuery's .data() method works  
122 - if (initialTitle === undefined) initialTitle = null;  
123 -  
124 - self.$el.data('tooltipster-initialTitle', initialTitle);  
125 - }  
126 -  
127 - // if content is provided in the options, its has precedence over the title attribute.  
128 - // Note : an empty string is considered content, only 'null' represents the absence of content.  
129 - // Also, an existing title="" attribute will result in an empty string content  
130 - if (self.options.content !== null){  
131 - self._content_set(self.options.content);  
132 - }  
133 - else {  
134 - self._content_set(initialTitle);  
135 - }  
136 -  
137 - var c = self.options.functionInit.call(self.$el, self.$el, self.Content);  
138 - if(typeof c !== 'undefined') self._content_set(c);  
139 -  
140 - self.$el  
141 - // strip the title off of the element to prevent the default tooltips from popping up  
142 - .removeAttr('title')  
143 - // to be able to find all instances on the page later (upon window events in particular)  
144 - .addClass('tooltipstered');  
145 -  
146 - // detect if we're changing the tooltip origin to an icon  
147 - // note about this condition : if the device has touch capability and self.options.iconTouch is false, you'll have no icons event though you may consider your device as a desktop if it also has a mouse. Not sure why someone would have this use case though.  
148 - if ((!deviceHasTouchCapability && self.options.iconDesktop) || (deviceHasTouchCapability && self.options.iconTouch)) {  
149 -  
150 - // TODO : the tooltip should be automatically be given an absolute position to be near the origin. Otherwise, when the origin is floating or what, it's going to be nowhere near it and disturb the position flow of the page elements. It will imply that the icon also detects when its origin moves, to follow it : not trivial.  
151 - // Until it's done, the icon feature does not really make sense since the user still has most of the work to do by himself  
152 -  
153 - // if the icon provided is in the form of a string  
154 - if(typeof self.options.icon === 'string'){  
155 - // wrap it in a span with the icon class  
156 - self.$elProxy = $('<span class="'+ self.options.iconTheme +'"></span>');  
157 - self.$elProxy.text(self.options.icon);  
158 - }  
159 - // if it is an object (sensible choice)  
160 - else {  
161 - // (deep) clone the object if iconCloning == true, to make sure every instance has its own proxy. We use the icon without wrapping, no need to. We do not give it a class either, as the user will undoubtedly style the object on his own and since our css properties may conflict with his own  
162 - if (self.options.iconCloning) self.$elProxy = self.options.icon.clone(true);  
163 - else self.$elProxy = self.options.icon;  
164 - }  
165 -  
166 - self.$elProxy.insertAfter(self.$el);  
167 - }  
168 - else {  
169 - self.$elProxy = self.$el;  
170 - }  
171 -  
172 - // for 'click' and 'hover' triggers : bind on events to open the tooltip. Closing is now handled in _showNow() because of its bindings.  
173 - // Notes about touch events :  
174 - // - mouseenter, mouseleave and clicks happen even on pure touch devices because they are emulated. deviceIsPureTouch() is a simple attempt to detect them.  
175 - // - on hybrid devices, we do not prevent touch gesture from opening tooltips. It would be too complex to differentiate real mouse events from emulated ones.  
176 - // - we check deviceIsPureTouch() at each event rather than prior to binding because the situation may change during browsing  
177 - if (self.options.trigger == 'hover') {  
178 -  
179 - // these binding are for mouse interaction only  
180 - self.$elProxy  
181 - .on('mouseenter.'+ self.namespace, function() {  
182 - if (!deviceIsPureTouch() || self.options.touchDevices) {  
183 - self.mouseIsOverProxy = true;  
184 - self._show();  
185 - }  
186 - })  
187 - .on('mouseleave.'+ self.namespace, function() {  
188 - if (!deviceIsPureTouch() || self.options.touchDevices) {  
189 - self.mouseIsOverProxy = false;  
190 - }  
191 - });  
192 -  
193 - // for touch interaction only  
194 - if (deviceHasTouchCapability && self.options.touchDevices) {  
195 -  
196 - // for touch devices, we immediately display the tooltip because we cannot rely on mouseleave to handle the delay  
197 - self.$elProxy.on('touchstart.'+ self.namespace, function() {  
198 - self._showNow();  
199 - });  
200 - }  
201 - }  
202 - else if (self.options.trigger == 'click') {  
203 -  
204 - // note : for touch devices, we do not bind on touchstart, we only rely on the emulated clicks (triggered by taps)  
205 - self.$elProxy.on('click.'+ self.namespace, function() {  
206 - if (!deviceIsPureTouch() || self.options.touchDevices) {  
207 - self._show();  
208 - }  
209 - });  
210 - }  
211 - }  
212 - },  
213 -  
214 - // this function will schedule the opening of the tooltip after the delay, if there is one  
215 - _show: function() {  
216 -  
217 - var self = this;  
218 -  
219 - if (self.Status != 'shown' && self.Status != 'appearing') {  
220 -  
221 - if (self.options.delay) {  
222 - self.timerShow = setTimeout(function(){  
223 -  
224 - // for hover trigger, we check if the mouse is still over the proxy, otherwise we do not show anything  
225 - if (self.options.trigger == 'click' || (self.options.trigger == 'hover' && self.mouseIsOverProxy)) {  
226 - self._showNow();  
227 - }  
228 - }, self.options.delay);  
229 - }  
230 - else self._showNow();  
231 - }  
232 - },  
233 -  
234 - // this function will open the tooltip right away  
235 - _showNow: function(callback) {  
236 -  
237 - var self = this;  
238 -  
239 - // call our constructor custom function before continuing  
240 - self.options.functionBefore.call(self.$el, self.$el, function() {  
241 -  
242 - // continue only if the tooltip is enabled and has any content  
243 - if (self.enabled && self.Content !== null) {  
244 -  
245 - // save the method callback and cancel hide method callbacks  
246 - if (callback) self.callbacks.show.push(callback);  
247 - self.callbacks.hide = [];  
248 -  
249 - //get rid of any appearance timer  
250 - clearTimeout(self.timerShow);  
251 - self.timerShow = null;  
252 - clearTimeout(self.timerHide);  
253 - self.timerHide = null;  
254 -  
255 - // if we only want one tooltip open at a time, close all auto-closing tooltips currently open and not already disappearing  
256 - if (self.options.onlyOne) {  
257 - $('.tooltipstered').not(self.$el).each(function(i,el) {  
258 -  
259 - var $el = $(el),  
260 - nss = $el.data('tooltipster-ns');  
261 -  
262 - // iterate on all tooltips of the element  
263 - $.each(nss, function(i, ns){  
264 - var instance = $el.data(ns),  
265 - // we have to use the public methods here  
266 - s = instance.status(),  
267 - ac = instance.option('autoClose');  
268 -  
269 - if (s !== 'hidden' && s !== 'disappearing' && ac) {  
270 - instance.hide();  
271 - }  
272 - });  
273 - });  
274 - }  
275 -  
276 - var finish = function() {  
277 - self.Status = 'shown';  
278 -  
279 - // trigger any show method custom callbacks and reset them  
280 - $.each(self.callbacks.show, function(i,c) { c.call(self.$el); });  
281 - self.callbacks.show = [];  
282 - };  
283 -  
284 - // if this origin already has its tooltip open  
285 - if (self.Status !== 'hidden') {  
286 -  
287 - // the timer (if any) will start (or restart) right now  
288 - var extraTime = 0;  
289 -  
290 - // if it was disappearing, cancel that  
291 - if (self.Status === 'disappearing') {  
292 -  
293 - self.Status = 'appearing';  
294 -  
295 - if (supportsTransitions()) {  
296 -  
297 - self.$tooltip  
298 - .clearQueue()  
299 - .removeClass('tooltipster-dying')  
300 - .addClass('tooltipster-'+ self.options.animation +'-show');  
301 -  
302 - if (self.options.speed > 0) self.$tooltip.delay(self.options.speed);  
303 -  
304 - self.$tooltip.queue(finish);  
305 - }  
306 - else {  
307 - // in case the tooltip was currently fading out, bring it back to life  
308 - self.$tooltip  
309 - .stop()  
310 - .fadeIn(finish);  
311 - }  
312 - }  
313 - // if the tooltip is already open, we still need to trigger the method custom callback  
314 - else if(self.Status === 'shown') {  
315 - finish();  
316 - }  
317 - }  
318 - // if the tooltip isn't already open, open that sucker up!  
319 - else {  
320 -  
321 - self.Status = 'appearing';  
322 -  
323 - // the timer (if any) will start when the tooltip has fully appeared after its transition  
324 - var extraTime = self.options.speed;  
325 -  
326 - // disable horizontal scrollbar to keep overflowing tooltips from jacking with it and then restore it to its previous value  
327 - self.bodyOverflowX = $('body').css('overflow-x');  
328 - $('body').css('overflow-x', 'hidden');  
329 -  
330 - // get some other settings related to building the tooltip  
331 - var animation = 'tooltipster-' + self.options.animation,  
332 - animationSpeed = '-webkit-transition-duration: '+ self.options.speed +'ms; -webkit-animation-duration: '+ self.options.speed +'ms; -moz-transition-duration: '+ self.options.speed +'ms; -moz-animation-duration: '+ self.options.speed +'ms; -o-transition-duration: '+ self.options.speed +'ms; -o-animation-duration: '+ self.options.speed +'ms; -ms-transition-duration: '+ self.options.speed +'ms; -ms-animation-duration: '+ self.options.speed +'ms; transition-duration: '+ self.options.speed +'ms; animation-duration: '+ self.options.speed +'ms;',  
333 - minWidth = self.options.minWidth ? 'min-width:'+ Math.round(self.options.minWidth) +'px;' : '',  
334 - maxWidth = self.options.maxWidth ? 'max-width:'+ Math.round(self.options.maxWidth) +'px;' : '',  
335 - pointerEvents = self.options.interactive ? 'pointer-events: auto;' : '';  
336 -  
337 - // build the base of our tooltip  
338 - self.$tooltip = $('<div class="tooltipster-base '+ self.options.theme +'" style="'+ minWidth +' '+ maxWidth +' '+ pointerEvents +' '+ animationSpeed +'"><div class="tooltipster-content"></div></div>');  
339 -  
340 - // only add the animation class if the user has a browser that supports animations  
341 - if (supportsTransitions()) self.$tooltip.addClass(animation);  
342 -  
343 - // insert the content  
344 - self._content_insert();  
345 -  
346 - // attach  
347 - self.$tooltip.appendTo('body');  
348 -  
349 - // do all the crazy calculations and positioning  
350 - self.reposition();  
351 -  
352 - // call our custom callback since the content of the tooltip is now part of the DOM  
353 - self.options.functionReady.call(self.$el, self.$el, self.$tooltip);  
354 -  
355 - // animate in the tooltip  
356 - if (supportsTransitions()) {  
357 -  
358 - self.$tooltip.addClass(animation + '-show');  
359 -  
360 - if(self.options.speed > 0) self.$tooltip.delay(self.options.speed);  
361 -  
362 - self.$tooltip.queue(finish);  
363 - }  
364 - else {  
365 - self.$tooltip.css('display', 'none').fadeIn(self.options.speed, finish);  
366 - }  
367 -  
368 - // will check if our tooltip origin is removed while the tooltip is shown  
369 - self._interval_set();  
370 -  
371 - // reposition on scroll (otherwise position:fixed element's tooltips will move away form their origin) and on resize (in case position can/has to be changed)  
372 - $(window).on('scroll.'+ self.namespace +' resize.'+ self.namespace, function() {  
373 - self.reposition();  
374 - });  
375 -  
376 - // auto-close bindings  
377 - if (self.options.autoClose) {  
378 -  
379 - // in case a listener is already bound for autoclosing (mouse or touch, hover or click), unbind it first  
380 - $('body').off('.'+ self.namespace);  
381 -  
382 - // here we'll have to set different sets of bindings for both touch and mouse  
383 - if (self.options.trigger == 'hover') {  
384 -  
385 - // if the user touches the body, hide  
386 - if (deviceHasTouchCapability) {  
387 - // timeout 0 : explanation below in click section  
388 - setTimeout(function() {  
389 - // we don't want to bind on click here because the initial touchstart event has not yet triggered its click event, which is thus about to happen  
390 - $('body').on('touchstart.'+ self.namespace, function() {  
391 - self.hide();  
392 - });  
393 - }, 0);  
394 - }  
395 -  
396 - // if we have to allow interaction  
397 - if (self.options.interactive) {  
398 -  
399 - // touch events inside the tooltip must not close it  
400 - if (deviceHasTouchCapability) {  
401 - self.$tooltip.on('touchstart.'+ self.namespace, function(event) {  
402 - event.stopPropagation();  
403 - });  
404 - }  
405 -  
406 - // as for mouse interaction, we get rid of the tooltip only after the mouse has spent some time out of it  
407 - var tolerance = null;  
408 -  
409 - self.$elProxy.add(self.$tooltip)  
410 - // hide after some time out of the proxy and the tooltip  
411 - .on('mouseleave.'+ self.namespace + '-autoClose', function() {  
412 - clearTimeout(tolerance);  
413 - tolerance = setTimeout(function(){  
414 - self.hide();  
415 - }, self.options.interactiveTolerance);  
416 - })  
417 - // suspend timeout when the mouse is over the proxy or the tooltip  
418 - .on('mouseenter.'+ self.namespace + '-autoClose', function() {  
419 - clearTimeout(tolerance);  
420 - });  
421 - }  
422 - // if this is a non-interactive tooltip, get rid of it if the mouse leaves  
423 - else {  
424 - self.$elProxy.on('mouseleave.'+ self.namespace + '-autoClose', function() {  
425 - self.hide();  
426 - });  
427 - }  
428 -  
429 - // close the tooltip when the proxy gets a click (common behavior of native tooltips)  
430 - if (self.options.hideOnClick) {  
431 -  
432 - self.$elProxy.on('click.'+ self.namespace + '-autoClose', function() {  
433 - self.hide();  
434 - });  
435 - }  
436 - }  
437 - // here we'll set the same bindings for both clicks and touch on the body to hide the tooltip  
438 - else if(self.options.trigger == 'click'){  
439 -  
440 - // use a timeout to prevent immediate closing if the method was called on a click event and if options.delay == 0 (because of bubbling)  
441 - setTimeout(function() {  
442 - $('body').on('click.'+ self.namespace +' touchstart.'+ self.namespace, function() {  
443 - self.hide();  
444 - });  
445 - }, 0);  
446 -  
447 - // if interactive, we'll stop the events that were emitted from inside the tooltip to stop autoClosing  
448 - if (self.options.interactive) {  
449 -  
450 - // note : the touch events will just not be used if the plugin is not enabled on touch devices  
451 - self.$tooltip.on('click.'+ self.namespace +' touchstart.'+ self.namespace, function(event) {  
452 - event.stopPropagation();  
453 - });  
454 - }  
455 - }  
456 - }  
457 - }  
458 -  
459 - // if we have a timer set, let the countdown begin  
460 - if (self.options.timer > 0) {  
461 -  
462 - self.timerHide = setTimeout(function() {  
463 - self.timerHide = null;  
464 - self.hide();  
465 - }, self.options.timer + extraTime);  
466 - }  
467 - }  
468 - });  
469 - },  
470 -  
471 - _interval_set: function() {  
472 -  
473 - var self = this;  
474 -  
475 - self.checkInterval = setInterval(function() {  
476 -  
477 - // if the tooltip and/or its interval should be stopped  
478 - if (  
479 - // if the origin has been removed  
480 - $('body').find(self.$el).length === 0  
481 - // if the elProxy has been removed  
482 - || $('body').find(self.$elProxy).length === 0  
483 - // if the tooltip has been closed  
484 - || self.Status == 'hidden'  
485 - // if the tooltip has somehow been removed  
486 - || $('body').find(self.$tooltip).length === 0  
487 - ) {  
488 - // remove the tooltip if it's still here  
489 - if (self.Status == 'shown' || self.Status == 'appearing') self.hide();  
490 -  
491 - // clear this interval as it is no longer necessary  
492 - self._interval_cancel();  
493 - }  
494 - // if everything is alright  
495 - else {  
496 - // compare the former and current positions of the elProxy to reposition the tooltip if need be  
497 - if(self.options.positionTracker){  
498 -  
499 - var p = self._repositionInfo(self.$elProxy),  
500 - identical = false;  
501 -  
502 - // compare size first (a change requires repositioning too)  
503 - if(areEqual(p.dimension, self.elProxyPosition.dimension)){  
504 -  
505 - // for elements with a fixed position, we track the top and left properties (relative to window)  
506 - if(self.$elProxy.css('position') === 'fixed'){  
507 - if(areEqual(p.position, self.elProxyPosition.position)) identical = true;  
508 - }  
509 - // otherwise, track total offset (relative to document)  
510 - else {  
511 - if(areEqual(p.offset, self.elProxyPosition.offset)) identical = true;  
512 - }  
513 - }  
514 -  
515 - if(!identical){  
516 - self.reposition();  
517 - self.options.positionTrackerCallback.call(self, self.$el);  
518 - }  
519 - }  
520 - }  
521 - }, 200);  
522 - },  
523 -  
524 - _interval_cancel: function() {  
525 - clearInterval(this.checkInterval);  
526 - // clean delete  
527 - this.checkInterval = null;  
528 - },  
529 -  
530 - _content_set: function(content) {  
531 - // clone if asked. Cloning the object makes sure that each instance has its own version of the content (in case a same object were provided for several instances)  
532 - // reminder : typeof null === object  
533 - if (typeof content === 'object' && content !== null && this.options.contentCloning) {  
534 - content = content.clone(true);  
535 - }  
536 - this.Content = content;  
537 - },  
538 -  
539 - _content_insert: function() {  
540 -  
541 - var self = this,  
542 - $d = this.$tooltip.find('.tooltipster-content');  
543 -  
544 - if (typeof self.Content === 'string' && !self.options.contentAsHTML) {  
545 - $d.text(self.Content);  
546 - }  
547 - else {  
548 - $d  
549 - .empty()  
550 - .append(self.Content);  
551 - }  
552 - },  
553 -  
554 - _update: function(content) {  
555 -  
556 - var self = this;  
557 -  
558 - // change the content  
559 - self._content_set(content);  
560 -  
561 - if (self.Content !== null) {  
562 -  
563 - // update the tooltip if it is open  
564 - if (self.Status !== 'hidden') {  
565 -  
566 - // reset the content in the tooltip  
567 - self._content_insert();  
568 -  
569 - // reposition and resize the tooltip  
570 - self.reposition();  
571 -  
572 - // if we want to play a little animation showing the content changed  
573 - if (self.options.updateAnimation) {  
574 -  
575 - if (supportsTransitions()) {  
576 -  
577 - self.$tooltip.css({  
578 - 'width': '',  
579 - '-webkit-transition': 'all ' + self.options.speed + 'ms, width 0ms, height 0ms, left 0ms, top 0ms',  
580 - '-moz-transition': 'all ' + self.options.speed + 'ms, width 0ms, height 0ms, left 0ms, top 0ms',  
581 - '-o-transition': 'all ' + self.options.speed + 'ms, width 0ms, height 0ms, left 0ms, top 0ms',  
582 - '-ms-transition': 'all ' + self.options.speed + 'ms, width 0ms, height 0ms, left 0ms, top 0ms',  
583 - 'transition': 'all ' + self.options.speed + 'ms, width 0ms, height 0ms, left 0ms, top 0ms'  
584 - }).addClass('tooltipster-content-changing');  
585 -  
586 - // reset the CSS transitions and finish the change animation  
587 - setTimeout(function() {  
588 -  
589 - if(self.Status != 'hidden'){  
590 -  
591 - self.$tooltip.removeClass('tooltipster-content-changing');  
592 -  
593 - // after the changing animation has completed, reset the CSS transitions  
594 - setTimeout(function() {  
595 -  
596 - if(self.Status !== 'hidden'){  
597 - self.$tooltip.css({  
598 - '-webkit-transition': self.options.speed + 'ms',  
599 - '-moz-transition': self.options.speed + 'ms',  
600 - '-o-transition': self.options.speed + 'ms',  
601 - '-ms-transition': self.options.speed + 'ms',  
602 - 'transition': self.options.speed + 'ms'  
603 - });  
604 - }  
605 - }, self.options.speed);  
606 - }  
607 - }, self.options.speed);  
608 - }  
609 - else {  
610 - self.$tooltip.fadeTo(self.options.speed, 0.5, function() {  
611 - if(self.Status != 'hidden'){  
612 - self.$tooltip.fadeTo(self.options.speed, 1);  
613 - }  
614 - });  
615 - }  
616 - }  
617 - }  
618 - }  
619 - else {  
620 - self.hide();  
621 - }  
622 - },  
623 -  
624 - _repositionInfo: function($el) {  
625 - return {  
626 - dimension: {  
627 - height: $el.outerHeight(false),  
628 - width: $el.outerWidth(false)  
629 - },  
630 - offset: $el.offset(),  
631 - position: {  
632 - left: parseInt($el.css('left')),  
633 - top: parseInt($el.css('top'))  
634 - }  
635 - };  
636 - },  
637 -  
638 - hide: function(callback) {  
639 -  
640 - var self = this;  
641 -  
642 - // save the method custom callback and cancel any show method custom callbacks  
643 - if (callback) self.callbacks.hide.push(callback);  
644 - self.callbacks.show = [];  
645 -  
646 - // get rid of any appearance timeout  
647 - clearTimeout(self.timerShow);  
648 - self.timerShow = null;  
649 - clearTimeout(self.timerHide);  
650 - self.timerHide = null;  
651 -  
652 - var finishCallbacks = function() {  
653 - // trigger any hide method custom callbacks and reset them  
654 - $.each(self.callbacks.hide, function(i,c) { c.call(self.$el); });  
655 - self.callbacks.hide = [];  
656 - };  
657 -  
658 - // hide  
659 - if (self.Status == 'shown' || self.Status == 'appearing') {  
660 -  
661 - self.Status = 'disappearing';  
662 -  
663 - var finish = function() {  
664 -  
665 - self.Status = 'hidden';  
666 -  
667 - // detach our content object first, so the next jQuery's remove() call does not unbind its event handlers  
668 - if (typeof self.Content == 'object' && self.Content !== null) {  
669 - self.Content.detach();  
670 - }  
671 -  
672 - self.$tooltip.remove();  
673 - self.$tooltip = null;  
674 -  
675 - // unbind orientationchange, scroll and resize listeners  
676 - $(window).off('.'+ self.namespace);  
677 -  
678 - $('body')  
679 - // unbind any auto-closing click/touch listeners  
680 - .off('.'+ self.namespace)  
681 - .css('overflow-x', self.bodyOverflowX);  
682 -  
683 - // unbind any auto-closing click/touch listeners  
684 - $('body').off('.'+ self.namespace);  
685 -  
686 - // unbind any auto-closing hover listeners  
687 - self.$elProxy.off('.'+ self.namespace + '-autoClose');  
688 -  
689 - // call our constructor custom callback function  
690 - self.options.functionAfter.call(self.$el, self.$el);  
691 -  
692 - // call our method custom callbacks functions  
693 - finishCallbacks();  
694 - };  
695 -  
696 - if (supportsTransitions()) {  
697 -  
698 - self.$tooltip  
699 - .clearQueue()  
700 - .removeClass('tooltipster-' + self.options.animation + '-show')  
701 - // for transitions only  
702 - .addClass('tooltipster-dying');  
703 -  
704 - if(self.options.speed > 0) self.$tooltip.delay(self.options.speed);  
705 -  
706 - self.$tooltip.queue(finish);  
707 - }  
708 - else {  
709 - self.$tooltip  
710 - .stop()  
711 - .fadeOut(self.options.speed, finish);  
712 - }  
713 - }  
714 - // if the tooltip is already hidden, we still need to trigger the method custom callback  
715 - else if(self.Status == 'hidden') {  
716 - finishCallbacks();  
717 - }  
718 -  
719 - return self;  
720 - },  
721 -  
722 - // the public show() method is actually an alias for the private showNow() method  
723 - show: function(callback) {  
724 - this._showNow(callback);  
725 - return this;  
726 - },  
727 -  
728 - // 'update' is deprecated in favor of 'content' but is kept for backward compatibility  
729 - update: function(c) {  
730 - return this.content(c);  
731 - },  
732 - content: function(c) {  
733 - // getter method  
734 - if(typeof c === 'undefined'){  
735 - return this.Content;  
736 - }  
737 - // setter method  
738 - else {  
739 - this._update(c);  
740 - return this;  
741 - }  
742 - },  
743 -  
744 - reposition: function() {  
745 -  
746 - var self = this;  
747 -  
748 - // in case the tooltip has been removed from DOM manually  
749 - if ($('body').find(self.$tooltip).length !== 0) {  
750 -  
751 - // reset width  
752 - self.$tooltip.css('width', '');  
753 -  
754 - // find variables to determine placement  
755 - self.elProxyPosition = self._repositionInfo(self.$elProxy);  
756 - var arrowReposition = null,  
757 - windowWidth = $(window).width(),  
758 - // shorthand  
759 - proxy = self.elProxyPosition,  
760 - tooltipWidth = self.$tooltip.outerWidth(false),  
761 - tooltipInnerWidth = self.$tooltip.innerWidth() + 1, // this +1 stops FireFox from sometimes forcing an additional text line  
762 - tooltipHeight = self.$tooltip.outerHeight(false);  
763 -  
764 - // if this is an <area> tag inside a <map>, all hell breaks loose. Recalculate all the measurements based on coordinates  
765 - if (self.$elProxy.is('area')) {  
766 - var areaShape = self.$elProxy.attr('shape'),  
767 - mapName = self.$elProxy.parent().attr('name'),  
768 - map = $('img[usemap="#'+ mapName +'"]'),  
769 - mapOffsetLeft = map.offset().left,  
770 - mapOffsetTop = map.offset().top,  
771 - areaMeasurements = self.$elProxy.attr('coords') !== undefined ? self.$elProxy.attr('coords').split(',') : undefined;  
772 -  
773 - if (areaShape == 'circle') {  
774 - var areaLeft = parseInt(areaMeasurements[0]),  
775 - areaTop = parseInt(areaMeasurements[1]),  
776 - areaWidth = parseInt(areaMeasurements[2]);  
777 - proxy.dimension.height = areaWidth * 2;  
778 - proxy.dimension.width = areaWidth * 2;  
779 - proxy.offset.top = mapOffsetTop + areaTop - areaWidth;  
780 - proxy.offset.left = mapOffsetLeft + areaLeft - areaWidth;  
781 - }  
782 - else if (areaShape == 'rect') {  
783 - var areaLeft = parseInt(areaMeasurements[0]),  
784 - areaTop = parseInt(areaMeasurements[1]),  
785 - areaRight = parseInt(areaMeasurements[2]),  
786 - areaBottom = parseInt(areaMeasurements[3]);  
787 - proxy.dimension.height = areaBottom - areaTop;  
788 - proxy.dimension.width = areaRight - areaLeft;  
789 - proxy.offset.top = mapOffsetTop + areaTop;  
790 - proxy.offset.left = mapOffsetLeft + areaLeft;  
791 - }  
792 - else if (areaShape == 'poly') {  
793 - var areaXs = [],  
794 - areaYs = [],  
795 - areaSmallestX = 0,  
796 - areaSmallestY = 0,  
797 - areaGreatestX = 0,  
798 - areaGreatestY = 0,  
799 - arrayAlternate = 'even';  
800 -  
801 - for (var i = 0; i < areaMeasurements.length; i++) {  
802 - var areaNumber = parseInt(areaMeasurements[i]);  
803 -  
804 - if (arrayAlternate == 'even') {  
805 - if (areaNumber > areaGreatestX) {  
806 - areaGreatestX = areaNumber;  
807 - if (i === 0) {  
808 - areaSmallestX = areaGreatestX;  
809 - }  
810 - }  
811 -  
812 - if (areaNumber < areaSmallestX) {  
813 - areaSmallestX = areaNumber;  
814 - }  
815 -  
816 - arrayAlternate = 'odd';  
817 - }  
818 - else {  
819 - if (areaNumber > areaGreatestY) {  
820 - areaGreatestY = areaNumber;  
821 - if (i == 1) {  
822 - areaSmallestY = areaGreatestY;  
823 - }  
824 - }  
825 -  
826 - if (areaNumber < areaSmallestY) {  
827 - areaSmallestY = areaNumber;  
828 - }  
829 -  
830 - arrayAlternate = 'even';  
831 - }  
832 - }  
833 -  
834 - proxy.dimension.height = areaGreatestY - areaSmallestY;  
835 - proxy.dimension.width = areaGreatestX - areaSmallestX;  
836 - proxy.offset.top = mapOffsetTop + areaSmallestY;  
837 - proxy.offset.left = mapOffsetLeft + areaSmallestX;  
838 - }  
839 - else {  
840 - proxy.dimension.height = map.outerHeight(false);  
841 - proxy.dimension.width = map.outerWidth(false);  
842 - proxy.offset.top = mapOffsetTop;  
843 - proxy.offset.left = mapOffsetLeft;  
844 - }  
845 - }  
846 -  
847 - // our function and global vars for positioning our tooltip  
848 - var myLeft = 0,  
849 - myLeftMirror = 0,  
850 - myTop = 0,  
851 - offsetY = parseInt(self.options.offsetY),  
852 - offsetX = parseInt(self.options.offsetX),  
853 - // this is the arrow position that will eventually be used. It may differ from the position option if the tooltip cannot be displayed in this position  
854 - practicalPosition = self.options.position;  
855 -  
856 - // a function to detect if the tooltip is going off the screen horizontally. If so, reposition the crap out of it!  
857 - function dontGoOffScreenX() {  
858 -  
859 - var windowLeft = $(window).scrollLeft();  
860 -  
861 - // if the tooltip goes off the left side of the screen, line it up with the left side of the window  
862 - if((myLeft - windowLeft) < 0) {  
863 - arrowReposition = myLeft - windowLeft;  
864 - myLeft = windowLeft;  
865 - }  
866 -  
867 - // if the tooltip goes off the right of the screen, line it up with the right side of the window  
868 - if (((myLeft + tooltipWidth) - windowLeft) > windowWidth) {  
869 - arrowReposition = myLeft - ((windowWidth + windowLeft) - tooltipWidth);  
870 - myLeft = (windowWidth + windowLeft) - tooltipWidth;  
871 - }  
872 - }  
873 -  
874 - // a function to detect if the tooltip is going off the screen vertically. If so, switch to the opposite!  
875 - function dontGoOffScreenY(switchTo, switchFrom) {  
876 - // if it goes off the top off the page  
877 - if(((proxy.offset.top - $(window).scrollTop() - tooltipHeight - offsetY - 12) < 0) && (switchFrom.indexOf('top') > -1)) {  
878 - practicalPosition = switchTo;  
879 - }  
880 -  
881 - // if it goes off the bottom of the page  
882 - if (((proxy.offset.top + proxy.dimension.height + tooltipHeight + 12 + offsetY) > ($(window).scrollTop() + $(window).height())) && (switchFrom.indexOf('bottom') > -1)) {  
883 - practicalPosition = switchTo;  
884 - myTop = (proxy.offset.top - tooltipHeight) - offsetY - 12;  
885 - }  
886 - }  
887 -  
888 - if(practicalPosition == 'top') {  
889 - var leftDifference = (proxy.offset.left + tooltipWidth) - (proxy.offset.left + proxy.dimension.width);  
890 - myLeft = (proxy.offset.left + offsetX) - (leftDifference / 2);  
891 - myTop = (proxy.offset.top - tooltipHeight) - offsetY - 12;  
892 - dontGoOffScreenX();  
893 - dontGoOffScreenY('bottom', 'top');  
894 - }  
895 -  
896 - if(practicalPosition == 'top-left') {  
897 - myLeft = proxy.offset.left + offsetX;  
898 - myTop = (proxy.offset.top - tooltipHeight) - offsetY - 12;  
899 - dontGoOffScreenX();  
900 - dontGoOffScreenY('bottom-left', 'top-left');  
901 - }  
902 -  
903 - if(practicalPosition == 'top-right') {  
904 - myLeft = (proxy.offset.left + proxy.dimension.width + offsetX) - tooltipWidth;  
905 - myTop = (proxy.offset.top - tooltipHeight) - offsetY - 12;  
906 - dontGoOffScreenX();  
907 - dontGoOffScreenY('bottom-right', 'top-right');  
908 - }  
909 -  
910 - if(practicalPosition == 'bottom') {  
911 - var leftDifference = (proxy.offset.left + tooltipWidth) - (proxy.offset.left + proxy.dimension.width);  
912 - myLeft = proxy.offset.left - (leftDifference / 2) + offsetX;  
913 - myTop = (proxy.offset.top + proxy.dimension.height) + offsetY + 12;  
914 - dontGoOffScreenX();  
915 - dontGoOffScreenY('top', 'bottom');  
916 - }  
917 -  
918 - if(practicalPosition == 'bottom-left') {  
919 - myLeft = proxy.offset.left + offsetX;  
920 - myTop = (proxy.offset.top + proxy.dimension.height) + offsetY + 12;  
921 - dontGoOffScreenX();  
922 - dontGoOffScreenY('top-left', 'bottom-left');  
923 - }  
924 -  
925 - if(practicalPosition == 'bottom-right') {  
926 - myLeft = (proxy.offset.left + proxy.dimension.width + offsetX) - tooltipWidth;  
927 - myTop = (proxy.offset.top + proxy.dimension.height) + offsetY + 12;  
928 - dontGoOffScreenX();  
929 - dontGoOffScreenY('top-right', 'bottom-right');  
930 - }  
931 -  
932 - if(practicalPosition == 'left') {  
933 - myLeft = proxy.offset.left - offsetX - tooltipWidth - 12;  
934 - myLeftMirror = proxy.offset.left + offsetX + proxy.dimension.width + 12;  
935 - var topDifference = (proxy.offset.top + tooltipHeight) - (proxy.offset.top + proxy.dimension.height);  
936 - myTop = proxy.offset.top - (topDifference / 2) - offsetY;  
937 -  
938 - // if the tooltip goes off boths sides of the page  
939 - if((myLeft < 0) && ((myLeftMirror + tooltipWidth) > windowWidth)) {  
940 - var borderWidth = parseFloat(self.$tooltip.css('border-width')) * 2,  
941 - newWidth = (tooltipWidth + myLeft) - borderWidth;  
942 - self.$tooltip.css('width', newWidth + 'px');  
943 -  
944 - tooltipHeight = self.$tooltip.outerHeight(false);  
945 - myLeft = proxy.offset.left - offsetX - newWidth - 12 - borderWidth;  
946 - topDifference = (proxy.offset.top + tooltipHeight) - (proxy.offset.top + proxy.dimension.height);  
947 - myTop = proxy.offset.top - (topDifference / 2) - offsetY;  
948 - }  
949 -  
950 - // if it only goes off one side, flip it to the other side  
951 - else if(myLeft < 0) {  
952 - myLeft = proxy.offset.left + offsetX + proxy.dimension.width + 12;  
953 - arrowReposition = 'left';  
954 - }  
955 - }  
956 -  
957 - if(practicalPosition == 'right') {  
958 - myLeft = proxy.offset.left + offsetX + proxy.dimension.width + 12;  
959 - myLeftMirror = proxy.offset.left - offsetX - tooltipWidth - 12;  
960 - var topDifference = (proxy.offset.top + tooltipHeight) - (proxy.offset.top + proxy.dimension.height);  
961 - myTop = proxy.offset.top - (topDifference / 2) - offsetY;  
962 -  
963 - // if the tooltip goes off boths sides of the page  
964 - if(((myLeft + tooltipWidth) > windowWidth) && (myLeftMirror < 0)) {  
965 - var borderWidth = parseFloat(self.$tooltip.css('border-width')) * 2,  
966 - newWidth = (windowWidth - myLeft) - borderWidth;  
967 - self.$tooltip.css('width', newWidth + 'px');  
968 -  
969 - tooltipHeight = self.$tooltip.outerHeight(false);  
970 - topDifference = (proxy.offset.top + tooltipHeight) - (proxy.offset.top + proxy.dimension.height);  
971 - myTop = proxy.offset.top - (topDifference / 2) - offsetY;  
972 - }  
973 -  
974 - // if it only goes off one side, flip it to the other side  
975 - else if((myLeft + tooltipWidth) > windowWidth) {  
976 - myLeft = proxy.offset.left - offsetX - tooltipWidth - 12;  
977 - arrowReposition = 'right';  
978 - }  
979 - }  
980 -  
981 - // if arrow is set true, style it and append it  
982 - if (self.options.arrow) {  
983 -  
984 - var arrowClass = 'tooltipster-arrow-' + practicalPosition;  
985 -  
986 - // set color of the arrow  
987 - if(self.options.arrowColor.length < 1) {  
988 - var arrowColor = self.$tooltip.css('background-color');  
989 - }  
990 - else {  
991 - var arrowColor = self.options.arrowColor;  
992 - }  
993 -  
994 - // if the tooltip was going off the page and had to re-adjust, we need to update the arrow's position  
995 - if (!arrowReposition) {  
996 - arrowReposition = '';  
997 - }  
998 - else if (arrowReposition == 'left') {  
999 - arrowClass = 'tooltipster-arrow-right';  
1000 - arrowReposition = '';  
1001 - }  
1002 - else if (arrowReposition == 'right') {  
1003 - arrowClass = 'tooltipster-arrow-left';  
1004 - arrowReposition = '';  
1005 - }  
1006 - else {  
1007 - arrowReposition = 'left:'+ Math.round(arrowReposition) +'px;';  
1008 - }  
1009 -  
1010 - // building the logic to create the border around the arrow of the tooltip  
1011 - if ((practicalPosition == 'top') || (practicalPosition == 'top-left') || (practicalPosition == 'top-right')) {  
1012 - var tooltipBorderWidth = parseFloat(self.$tooltip.css('border-bottom-width')),  
1013 - tooltipBorderColor = self.$tooltip.css('border-bottom-color');  
1014 - }  
1015 - else if ((practicalPosition == 'bottom') || (practicalPosition == 'bottom-left') || (practicalPosition == 'bottom-right')) {  
1016 - var tooltipBorderWidth = parseFloat(self.$tooltip.css('border-top-width')),  
1017 - tooltipBorderColor = self.$tooltip.css('border-top-color');  
1018 - }  
1019 - else if (practicalPosition == 'left') {  
1020 - var tooltipBorderWidth = parseFloat(self.$tooltip.css('border-right-width')),  
1021 - tooltipBorderColor = self.$tooltip.css('border-right-color');  
1022 - }  
1023 - else if (practicalPosition == 'right') {  
1024 - var tooltipBorderWidth = parseFloat(self.$tooltip.css('border-left-width')),  
1025 - tooltipBorderColor = self.$tooltip.css('border-left-color');  
1026 - }  
1027 - else {  
1028 - var tooltipBorderWidth = parseFloat(self.$tooltip.css('border-bottom-width')),  
1029 - tooltipBorderColor = self.$tooltip.css('border-bottom-color');  
1030 - }  
1031 -  
1032 - if (tooltipBorderWidth > 1) {  
1033 - tooltipBorderWidth++;  
1034 - }  
1035 -  
1036 - var arrowBorder = '';  
1037 - if (tooltipBorderWidth !== 0) {  
1038 - var arrowBorderSize = '',  
1039 - arrowBorderColor = 'border-color: '+ tooltipBorderColor +';';  
1040 - if (arrowClass.indexOf('bottom') !== -1) {  
1041 - arrowBorderSize = 'margin-top: -'+ Math.round(tooltipBorderWidth) +'px;';  
1042 - }  
1043 - else if (arrowClass.indexOf('top') !== -1) {  
1044 - arrowBorderSize = 'margin-bottom: -'+ Math.round(tooltipBorderWidth) +'px;';  
1045 - }  
1046 - else if (arrowClass.indexOf('left') !== -1) {  
1047 - arrowBorderSize = 'margin-right: -'+ Math.round(tooltipBorderWidth) +'px;';  
1048 - }  
1049 - else if (arrowClass.indexOf('right') !== -1) {  
1050 - arrowBorderSize = 'margin-left: -'+ Math.round(tooltipBorderWidth) +'px;';  
1051 - }  
1052 - arrowBorder = '<span class="tooltipster-arrow-border" style="'+ arrowBorderSize +' '+ arrowBorderColor +';"></span>';  
1053 - }  
1054 -  
1055 - // if the arrow already exists, remove and replace it  
1056 - self.$tooltip.find('.tooltipster-arrow').remove();  
1057 -  
1058 - // build out the arrow and append it  
1059 - var arrowConstruct = '<div class="'+ arrowClass +' tooltipster-arrow" style="'+ arrowReposition +'">'+ arrowBorder +'<span style="border-color:'+ arrowColor +';"></span></div>';  
1060 - self.$tooltip.append(arrowConstruct);  
1061 - }  
1062 -  
1063 - // position the tooltip  
1064 - self.$tooltip.css({'top': Math.round(myTop) + 'px', 'left': Math.round(myLeft) + 'px'});  
1065 - }  
1066 -  
1067 - return self;  
1068 - },  
1069 -  
1070 - enable: function() {  
1071 - this.enabled = true;  
1072 - return this;  
1073 - },  
1074 -  
1075 - disable: function() {  
1076 - // hide first, in case the tooltip would not disappear on its own (autoClose false)  
1077 - this.hide();  
1078 - this.enabled = false;  
1079 - return this;  
1080 - },  
1081 -  
1082 - destroy: function() {  
1083 -  
1084 - var self = this;  
1085 -  
1086 - self.hide();  
1087 -  
1088 - // remove the icon, if any  
1089 - if (self.$el[0] !== self.$elProxy[0]) {  
1090 - self.$elProxy.remove();  
1091 - }  
1092 -  
1093 - self.$el  
1094 - .removeData(self.namespace)  
1095 - .off('.'+ self.namespace);  
1096 -  
1097 - var ns = self.$el.data('tooltipster-ns');  
1098 -  
1099 - // if there are no more tooltips on this element  
1100 - if(ns.length === 1){  
1101 -  
1102 - // optional restoration of a title attribute  
1103 - var title = null;  
1104 - if (self.options.restoration === 'previous'){  
1105 - title = self.$el.data('tooltipster-initialTitle');  
1106 - }  
1107 - else if(self.options.restoration === 'current'){  
1108 -  
1109 - // old school technique to stringify when outerHTML is not supported  
1110 - title =  
1111 - (typeof self.Content === 'string') ?  
1112 - self.Content :  
1113 - $('<div></div>').append(self.Content).html();  
1114 - }  
1115 -  
1116 - if (title) {  
1117 - self.$el.attr('title', title);  
1118 - }  
1119 -  
1120 - // final cleaning  
1121 - self.$el  
1122 - .removeClass('tooltipstered')  
1123 - .removeData('tooltipster-ns')  
1124 - .removeData('tooltipster-initialTitle');  
1125 - }  
1126 - else {  
1127 - // remove the instance namespace from the list of namespaces of tooltips present on the element  
1128 - ns = $.grep(ns, function(el, i){  
1129 - return el !== self.namespace;  
1130 - });  
1131 - self.$el.data('tooltipster-ns', ns);  
1132 - }  
1133 -  
1134 - return self;  
1135 - },  
1136 -  
1137 - elementIcon: function() {  
1138 - return (this.$el[0] !== this.$elProxy[0]) ? this.$elProxy[0] : undefined;  
1139 - },  
1140 -  
1141 - elementTooltip: function() {  
1142 - return this.$tooltip ? this.$tooltip[0] : undefined;  
1143 - },  
1144 -  
1145 - // public methods but for internal use only  
1146 - // getter if val is ommitted, setter otherwise  
1147 - option: function(o, val) {  
1148 - if (typeof val == 'undefined') return this.options[o];  
1149 - else {  
1150 - this.options[o] = val;  
1151 - return this;  
1152 - }  
1153 - },  
1154 - status: function() {  
1155 - return this.Status;  
1156 - }  
1157 - };  
1158 -  
1159 - $.fn[pluginName] = function () {  
1160 -  
1161 - // for using in closures  
1162 - var args = arguments;  
1163 -  
1164 - // if we are not in the context of jQuery wrapped HTML element(s) :  
1165 - // this happens when calling static methods in the form $.fn.tooltipster('methodName'), or when calling $(sel).tooltipster('methodName or options') where $(sel) does not match anything  
1166 - if (this.length === 0) {  
1167 -  
1168 - // if the first argument is a method name  
1169 - if (typeof args[0] === 'string') {  
1170 -  
1171 - var methodIsStatic = true;  
1172 -  
1173 - // list static methods here (usable by calling $.fn.tooltipster('methodName');)  
1174 - switch (args[0]) {  
1175 -  
1176 - case 'setDefaults':  
1177 - // change default options for all future instances  
1178 - $.extend(defaults, args[1]);  
1179 - break;  
1180 -  
1181 - default:  
1182 - methodIsStatic = false;  
1183 - break;  
1184 - }  
1185 -  
1186 - // $.fn.tooltipster('methodName') calls will return true  
1187 - if (methodIsStatic) return true;  
1188 - // $(sel).tooltipster('methodName') calls will return the list of objects event though it's empty because chaining should work on empty lists  
1189 - else return this;  
1190 - }  
1191 - // the first argument is undefined or an object of options : we are initalizing but there is no element matched by selector  
1192 - else {  
1193 - // still chainable : same as above  
1194 - return this;  
1195 - }  
1196 - }  
1197 - // this happens when calling $(sel).tooltipster('methodName or options') where $(sel) matches one or more elements  
1198 - else {  
1199 -  
1200 - // method calls  
1201 - if (typeof args[0] === 'string') {  
1202 -  
1203 - var v = '#*$~&';  
1204 -  
1205 - this.each(function() {  
1206 -  
1207 - // retrieve the namepaces of the tooltip(s) that exist on that element. We will interact with the first tooltip only.  
1208 - var ns = $(this).data('tooltipster-ns'),  
1209 - // self represents the instance of the first tooltipster plugin associated to the current HTML object of the loop  
1210 - self = ns ? $(this).data(ns[0]) : null;  
1211 -  
1212 - // if the current element holds a tooltipster instance  
1213 - if (self) {  
1214 -  
1215 - if (typeof self[args[0]] === 'function') {  
1216 - // note : args[1] and args[2] may not be defined  
1217 - var resp = self[args[0]](args[1], args[2]);  
1218 - }  
1219 - else {  
1220 - throw new Error('Unknown method .tooltipster("' + args[0] + '")');  
1221 - }  
1222 -  
1223 - // if the function returned anything other than the instance itself (which implies chaining)  
1224 - if (resp !== self){  
1225 - v = resp;  
1226 - // return false to stop .each iteration on the first element matched by the selector  
1227 - return false;  
1228 - }  
1229 - }  
1230 - else {  
1231 - throw new Error('You called Tooltipster\'s "' + args[0] + '" method on an uninitialized element');  
1232 - }  
1233 - });  
1234 -  
1235 - return (v !== '#*$~&') ? v : this;  
1236 - }  
1237 - // first argument is undefined or an object : the tooltip is initializing  
1238 - else {  
1239 -  
1240 - var instances = [],  
1241 - // is there a defined value for the multiple option in the options object ?  
1242 - multipleIsSet = args[0] && typeof args[0].multiple !== 'undefined',  
1243 - // if the multiple option is set to true, or if it's not defined but set to true in the defaults  
1244 - multiple = (multipleIsSet && args[0].multiple) || (!multipleIsSet && defaults.multiple),  
1245 - // same for debug  
1246 - debugIsSet = args[0] && typeof args[0].debug !== 'undefined',  
1247 - debug = (debugIsSet && args[0].debug) || (!debugIsSet && defaults.debug);  
1248 -  
1249 - // initialize a tooltipster instance for each element if it doesn't already have one or if the multiple option is set, and attach the object to it  
1250 - this.each(function () {  
1251 -  
1252 - var go = false,  
1253 - ns = $(this).data('tooltipster-ns'),  
1254 - instance = null;  
1255 -  
1256 - if (!ns) {  
1257 - go = true;  
1258 - }  
1259 - else if (multiple) {  
1260 - go = true;  
1261 - }  
1262 - else if (debug) {  
1263 - console.log('Tooltipster: one or more tooltips are already attached to this element: ignoring. Use the "multiple" option to attach more tooltips.');  
1264 - }  
1265 -  
1266 - if (go) {  
1267 - instance = new Plugin(this, args[0]);  
1268 -  
1269 - // save the reference of the new instance  
1270 - if (!ns) ns = [];  
1271 - ns.push(instance.namespace);  
1272 - $(this).data('tooltipster-ns', ns)  
1273 -  
1274 - // save the instance itself  
1275 - $(this).data(instance.namespace, instance);  
1276 - }  
1277 -  
1278 - instances.push(instance);  
1279 - });  
1280 -  
1281 - if (multiple) return instances;  
1282 - else return this;  
1283 - }  
1284 - }  
1285 - };  
1286 -  
1287 - // quick & dirty compare function (not bijective nor multidimensional)  
1288 - function areEqual(a,b) {  
1289 - var same = true;  
1290 - $.each(a, function(i, el){  
1291 - if(typeof b[i] === 'undefined' || a[i] !== b[i]){  
1292 - same = false;  
1293 - return false;  
1294 - }  
1295 - });  
1296 - return same;  
1297 - }  
1298 -  
1299 - // detect if this device can trigger touch events  
1300 - var deviceHasTouchCapability = !!('ontouchstart' in window);  
1301 -  
1302 - // we'll assume the device has no mouse until we detect any mouse movement  
1303 - var deviceHasMouse = false;  
1304 - $('body').one('mousemove', function() {  
1305 - deviceHasMouse = true;  
1306 - });  
1307 -  
1308 - function deviceIsPureTouch() {  
1309 - return (!deviceHasMouse && deviceHasTouchCapability);  
1310 - }  
1311 -  
1312 - // detecting support for CSS transitions  
1313 - function supportsTransitions() {  
1314 - var b = document.body || document.documentElement,  
1315 - s = b.style,  
1316 - p = 'transition';  
1317 -  
1318 - if(typeof s[p] == 'string') {return true; }  
1319 -  
1320 - v = ['Moz', 'Webkit', 'Khtml', 'O', 'ms'],  
1321 - p = p.charAt(0).toUpperCase() + p.substr(1);  
1322 - for(var i=0; i<v.length; i++) {  
1323 - if(typeof s[v[i] + p] == 'string') { return true; }  
1324 - }  
1325 - return false;  
1326 - }  
1327 -})( jQuery, window, document );  
controllets/shared_js/tooltipster-master/js/jquery.tooltipster.min.js deleted
1 -/* Tooltipster v3.3.0 */;(function(e,t,n){function s(t,n){this.bodyOverflowX;this.callbacks={hide:[],show:[]};this.checkInterval=null;this.Content;this.$el=e(t);this.$elProxy;this.elProxyPosition;this.enabled=true;this.options=e.extend({},i,n);this.mouseIsOverProxy=false;this.namespace="tooltipster-"+Math.round(Math.random()*1e5);this.Status="hidden";this.timerHide=null;this.timerShow=null;this.$tooltip;this.options.iconTheme=this.options.iconTheme.replace(".","");this.options.theme=this.options.theme.replace(".","");this._init()}function o(t,n){var r=true;e.each(t,function(e,i){if(typeof n[e]==="undefined"||t[e]!==n[e]){r=false;return false}});return r}function f(){return!a&&u}function l(){var e=n.body||n.documentElement,t=e.style,r="transition";if(typeof t[r]=="string"){return true}v=["Moz","Webkit","Khtml","O","ms"],r=r.charAt(0).toUpperCase()+r.substr(1);for(var i=0;i<v.length;i++){if(typeof t[v[i]+r]=="string"){return true}}return false}var r="tooltipster",i={animation:"fade",arrow:true,arrowColor:"",autoClose:true,content:null,contentAsHTML:false,contentCloning:true,debug:true,delay:200,minWidth:0,maxWidth:null,functionInit:function(e,t){},functionBefore:function(e,t){t()},functionReady:function(e,t){},functionAfter:function(e){},hideOnClick:false,icon:"(?)",iconCloning:true,iconDesktop:false,iconTouch:false,iconTheme:"tooltipster-icon",interactive:false,interactiveTolerance:350,multiple:false,offsetX:0,offsetY:0,onlyOne:false,position:"top",positionTracker:false,positionTrackerCallback:function(e){if(this.option("trigger")=="hover"&&this.option("autoClose")){this.hide()}},restoration:"current",speed:350,timer:0,theme:"tooltipster-default",touchDevices:true,trigger:"hover",updateAnimation:true};s.prototype={_init:function(){var t=this;if(n.querySelector){var r=null;if(t.$el.data("tooltipster-initialTitle")===undefined){r=t.$el.attr("title");if(r===undefined)r=null;t.$el.data("tooltipster-initialTitle",r)}if(t.options.content!==null){t._content_set(t.options.content)}else{t._content_set(r)}var i=t.options.functionInit.call(t.$el,t.$el,t.Content);if(typeof i!=="undefined")t._content_set(i);t.$el.removeAttr("title").addClass("tooltipstered");if(!u&&t.options.iconDesktop||u&&t.options.iconTouch){if(typeof t.options.icon==="string"){t.$elProxy=e('<span class="'+t.options.iconTheme+'"></span>');t.$elProxy.text(t.options.icon)}else{if(t.options.iconCloning)t.$elProxy=t.options.icon.clone(true);else t.$elProxy=t.options.icon}t.$elProxy.insertAfter(t.$el)}else{t.$elProxy=t.$el}if(t.options.trigger=="hover"){t.$elProxy.on("mouseenter."+t.namespace,function(){if(!f()||t.options.touchDevices){t.mouseIsOverProxy=true;t._show()}}).on("mouseleave."+t.namespace,function(){if(!f()||t.options.touchDevices){t.mouseIsOverProxy=false}});if(u&&t.options.touchDevices){t.$elProxy.on("touchstart."+t.namespace,function(){t._showNow()})}}else if(t.options.trigger=="click"){t.$elProxy.on("click."+t.namespace,function(){if(!f()||t.options.touchDevices){t._show()}})}}},_show:function(){var e=this;if(e.Status!="shown"&&e.Status!="appearing"){if(e.options.delay){e.timerShow=setTimeout(function(){if(e.options.trigger=="click"||e.options.trigger=="hover"&&e.mouseIsOverProxy){e._showNow()}},e.options.delay)}else e._showNow()}},_showNow:function(n){var r=this;r.options.functionBefore.call(r.$el,r.$el,function(){if(r.enabled&&r.Content!==null){if(n)r.callbacks.show.push(n);r.callbacks.hide=[];clearTimeout(r.timerShow);r.timerShow=null;clearTimeout(r.timerHide);r.timerHide=null;if(r.options.onlyOne){e(".tooltipstered").not(r.$el).each(function(t,n){var r=e(n),i=r.data("tooltipster-ns");e.each(i,function(e,t){var n=r.data(t),i=n.status(),s=n.option("autoClose");if(i!=="hidden"&&i!=="disappearing"&&s){n.hide()}})})}var i=function(){r.Status="shown";e.each(r.callbacks.show,function(e,t){t.call(r.$el)});r.callbacks.show=[]};if(r.Status!=="hidden"){var s=0;if(r.Status==="disappearing"){r.Status="appearing";if(l()){r.$tooltip.clearQueue().removeClass("tooltipster-dying").addClass("tooltipster-"+r.options.animation+"-show");if(r.options.speed>0)r.$tooltip.delay(r.options.speed);r.$tooltip.queue(i)}else{r.$tooltip.stop().fadeIn(i)}}else if(r.Status==="shown"){i()}}else{r.Status="appearing";var s=r.options.speed;r.bodyOverflowX=e("body").css("overflow-x");e("body").css("overflow-x","hidden");var o="tooltipster-"+r.options.animation,a="-webkit-transition-duration: "+r.options.speed+"ms; -webkit-animation-duration: "+r.options.speed+"ms; -moz-transition-duration: "+r.options.speed+"ms; -moz-animation-duration: "+r.options.speed+"ms; -o-transition-duration: "+r.options.speed+"ms; -o-animation-duration: "+r.options.speed+"ms; -ms-transition-duration: "+r.options.speed+"ms; -ms-animation-duration: "+r.options.speed+"ms; transition-duration: "+r.options.speed+"ms; animation-duration: "+r.options.speed+"ms;",f=r.options.minWidth?"min-width:"+Math.round(r.options.minWidth)+"px;":"",c=r.options.maxWidth?"max-width:"+Math.round(r.options.maxWidth)+"px;":"",h=r.options.interactive?"pointer-events: auto;":"";r.$tooltip=e('<div class="tooltipster-base '+r.options.theme+'" style="'+f+" "+c+" "+h+" "+a+'"><div class="tooltipster-content"></div></div>');if(l())r.$tooltip.addClass(o);r._content_insert();r.$tooltip.appendTo("body");r.reposition();r.options.functionReady.call(r.$el,r.$el,r.$tooltip);if(l()){r.$tooltip.addClass(o+"-show");if(r.options.speed>0)r.$tooltip.delay(r.options.speed);r.$tooltip.queue(i)}else{r.$tooltip.css("display","none").fadeIn(r.options.speed,i)}r._interval_set();e(t).on("scroll."+r.namespace+" resize."+r.namespace,function(){r.reposition()});if(r.options.autoClose){e("body").off("."+r.namespace);if(r.options.trigger=="hover"){if(u){setTimeout(function(){e("body").on("touchstart."+r.namespace,function(){r.hide()})},0)}if(r.options.interactive){if(u){r.$tooltip.on("touchstart."+r.namespace,function(e){e.stopPropagation()})}var p=null;r.$elProxy.add(r.$tooltip).on("mouseleave."+r.namespace+"-autoClose",function(){clearTimeout(p);p=setTimeout(function(){r.hide()},r.options.interactiveTolerance)}).on("mouseenter."+r.namespace+"-autoClose",function(){clearTimeout(p)})}else{r.$elProxy.on("mouseleave."+r.namespace+"-autoClose",function(){r.hide()})}if(r.options.hideOnClick){r.$elProxy.on("click."+r.namespace+"-autoClose",function(){r.hide()})}}else if(r.options.trigger=="click"){setTimeout(function(){e("body").on("click."+r.namespace+" touchstart."+r.namespace,function(){r.hide()})},0);if(r.options.interactive){r.$tooltip.on("click."+r.namespace+" touchstart."+r.namespace,function(e){e.stopPropagation()})}}}}if(r.options.timer>0){r.timerHide=setTimeout(function(){r.timerHide=null;r.hide()},r.options.timer+s)}}})},_interval_set:function(){var t=this;t.checkInterval=setInterval(function(){if(e("body").find(t.$el).length===0||e("body").find(t.$elProxy).length===0||t.Status=="hidden"||e("body").find(t.$tooltip).length===0){if(t.Status=="shown"||t.Status=="appearing")t.hide();t._interval_cancel()}else{if(t.options.positionTracker){var n=t._repositionInfo(t.$elProxy),r=false;if(o(n.dimension,t.elProxyPosition.dimension)){if(t.$elProxy.css("position")==="fixed"){if(o(n.position,t.elProxyPosition.position))r=true}else{if(o(n.offset,t.elProxyPosition.offset))r=true}}if(!r){t.reposition();t.options.positionTrackerCallback.call(t,t.$el)}}}},200)},_interval_cancel:function(){clearInterval(this.checkInterval);this.checkInterval=null},_content_set:function(e){if(typeof e==="object"&&e!==null&&this.options.contentCloning){e=e.clone(true)}this.Content=e},_content_insert:function(){var e=this,t=this.$tooltip.find(".tooltipster-content");if(typeof e.Content==="string"&&!e.options.contentAsHTML){t.text(e.Content)}else{t.empty().append(e.Content)}},_update:function(e){var t=this;t._content_set(e);if(t.Content!==null){if(t.Status!=="hidden"){t._content_insert();t.reposition();if(t.options.updateAnimation){if(l()){t.$tooltip.css({width:"","-webkit-transition":"all "+t.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-moz-transition":"all "+t.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-o-transition":"all "+t.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-ms-transition":"all "+t.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms",transition:"all "+t.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms"}).addClass("tooltipster-content-changing");setTimeout(function(){if(t.Status!="hidden"){t.$tooltip.removeClass("tooltipster-content-changing");setTimeout(function(){if(t.Status!=="hidden"){t.$tooltip.css({"-webkit-transition":t.options.speed+"ms","-moz-transition":t.options.speed+"ms","-o-transition":t.options.speed+"ms","-ms-transition":t.options.speed+"ms",transition:t.options.speed+"ms"})}},t.options.speed)}},t.options.speed)}else{t.$tooltip.fadeTo(t.options.speed,.5,function(){if(t.Status!="hidden"){t.$tooltip.fadeTo(t.options.speed,1)}})}}}}else{t.hide()}},_repositionInfo:function(e){return{dimension:{height:e.outerHeight(false),width:e.outerWidth(false)},offset:e.offset(),position:{left:parseInt(e.css("left")),top:parseInt(e.css("top"))}}},hide:function(n){var r=this;if(n)r.callbacks.hide.push(n);r.callbacks.show=[];clearTimeout(r.timerShow);r.timerShow=null;clearTimeout(r.timerHide);r.timerHide=null;var i=function(){e.each(r.callbacks.hide,function(e,t){t.call(r.$el)});r.callbacks.hide=[]};if(r.Status=="shown"||r.Status=="appearing"){r.Status="disappearing";var s=function(){r.Status="hidden";if(typeof r.Content=="object"&&r.Content!==null){r.Content.detach()}r.$tooltip.remove();r.$tooltip=null;e(t).off("."+r.namespace);e("body").off("."+r.namespace).css("overflow-x",r.bodyOverflowX);e("body").off("."+r.namespace);r.$elProxy.off("."+r.namespace+"-autoClose");r.options.functionAfter.call(r.$el,r.$el);i()};if(l()){r.$tooltip.clearQueue().removeClass("tooltipster-"+r.options.animation+"-show").addClass("tooltipster-dying");if(r.options.speed>0)r.$tooltip.delay(r.options.speed);r.$tooltip.queue(s)}else{r.$tooltip.stop().fadeOut(r.options.speed,s)}}else if(r.Status=="hidden"){i()}return r},show:function(e){this._showNow(e);return this},update:function(e){return this.content(e)},content:function(e){if(typeof e==="undefined"){return this.Content}else{this._update(e);return this}},reposition:function(){var n=this;if(e("body").find(n.$tooltip).length!==0){n.$tooltip.css("width","");n.elProxyPosition=n._repositionInfo(n.$elProxy);var r=null,i=e(t).width(),s=n.elProxyPosition,o=n.$tooltip.outerWidth(false),u=n.$tooltip.innerWidth()+1,a=n.$tooltip.outerHeight(false);if(n.$elProxy.is("area")){var f=n.$elProxy.attr("shape"),l=n.$elProxy.parent().attr("name"),c=e('img[usemap="#'+l+'"]'),h=c.offset().left,p=c.offset().top,d=n.$elProxy.attr("coords")!==undefined?n.$elProxy.attr("coords").split(","):undefined;if(f=="circle"){var v=parseInt(d[0]),m=parseInt(d[1]),g=parseInt(d[2]);s.dimension.height=g*2;s.dimension.width=g*2;s.offset.top=p+m-g;s.offset.left=h+v-g}else if(f=="rect"){var v=parseInt(d[0]),m=parseInt(d[1]),y=parseInt(d[2]),b=parseInt(d[3]);s.dimension.height=b-m;s.dimension.width=y-v;s.offset.top=p+m;s.offset.left=h+v}else if(f=="poly"){var w=[],E=[],S=0,x=0,T=0,N=0,C="even";for(var k=0;k<d.length;k++){var L=parseInt(d[k]);if(C=="even"){if(L>T){T=L;if(k===0){S=T}}if(L<S){S=L}C="odd"}else{if(L>N){N=L;if(k==1){x=N}}if(L<x){x=L}C="even"}}s.dimension.height=N-x;s.dimension.width=T-S;s.offset.top=p+x;s.offset.left=h+S}else{s.dimension.height=c.outerHeight(false);s.dimension.width=c.outerWidth(false);s.offset.top=p;s.offset.left=h}}var A=0,O=0,M=0,_=parseInt(n.options.offsetY),D=parseInt(n.options.offsetX),P=n.options.position;function H(){var n=e(t).scrollLeft();if(A-n<0){r=A-n;A=n}if(A+o-n>i){r=A-(i+n-o);A=i+n-o}}function B(n,r){if(s.offset.top-e(t).scrollTop()-a-_-12<0&&r.indexOf("top")>-1){P=n}if(s.offset.top+s.dimension.height+a+12+_>e(t).scrollTop()+e(t).height()&&r.indexOf("bottom")>-1){P=n;M=s.offset.top-a-_-12}}if(P=="top"){var j=s.offset.left+o-(s.offset.left+s.dimension.width);A=s.offset.left+D-j/2;M=s.offset.top-a-_-12;H();B("bottom","top")}if(P=="top-left"){A=s.offset.left+D;M=s.offset.top-a-_-12;H();B("bottom-left","top-left")}if(P=="top-right"){A=s.offset.left+s.dimension.width+D-o;M=s.offset.top-a-_-12;H();B("bottom-right","top-right")}if(P=="bottom"){var j=s.offset.left+o-(s.offset.left+s.dimension.width);A=s.offset.left-j/2+D;M=s.offset.top+s.dimension.height+_+12;H();B("top","bottom")}if(P=="bottom-left"){A=s.offset.left+D;M=s.offset.top+s.dimension.height+_+12;H();B("top-left","bottom-left")}if(P=="bottom-right"){A=s.offset.left+s.dimension.width+D-o;M=s.offset.top+s.dimension.height+_+12;H();B("top-right","bottom-right")}if(P=="left"){A=s.offset.left-D-o-12;O=s.offset.left+D+s.dimension.width+12;var F=s.offset.top+a-(s.offset.top+s.dimension.height);M=s.offset.top-F/2-_;if(A<0&&O+o>i){var I=parseFloat(n.$tooltip.css("border-width"))*2,q=o+A-I;n.$tooltip.css("width",q+"px");a=n.$tooltip.outerHeight(false);A=s.offset.left-D-q-12-I;F=s.offset.top+a-(s.offset.top+s.dimension.height);M=s.offset.top-F/2-_}else if(A<0){A=s.offset.left+D+s.dimension.width+12;r="left"}}if(P=="right"){A=s.offset.left+D+s.dimension.width+12;O=s.offset.left-D-o-12;var F=s.offset.top+a-(s.offset.top+s.dimension.height);M=s.offset.top-F/2-_;if(A+o>i&&O<0){var I=parseFloat(n.$tooltip.css("border-width"))*2,q=i-A-I;n.$tooltip.css("width",q+"px");a=n.$tooltip.outerHeight(false);F=s.offset.top+a-(s.offset.top+s.dimension.height);M=s.offset.top-F/2-_}else if(A+o>i){A=s.offset.left-D-o-12;r="right"}}if(n.options.arrow){var R="tooltipster-arrow-"+P;if(n.options.arrowColor.length<1){var U=n.$tooltip.css("background-color")}else{var U=n.options.arrowColor}if(!r){r=""}else if(r=="left"){R="tooltipster-arrow-right";r=""}else if(r=="right"){R="tooltipster-arrow-left";r=""}else{r="left:"+Math.round(r)+"px;"}if(P=="top"||P=="top-left"||P=="top-right"){var z=parseFloat(n.$tooltip.css("border-bottom-width")),W=n.$tooltip.css("border-bottom-color")}else if(P=="bottom"||P=="bottom-left"||P=="bottom-right"){var z=parseFloat(n.$tooltip.css("border-top-width")),W=n.$tooltip.css("border-top-color")}else if(P=="left"){var z=parseFloat(n.$tooltip.css("border-right-width")),W=n.$tooltip.css("border-right-color")}else if(P=="right"){var z=parseFloat(n.$tooltip.css("border-left-width")),W=n.$tooltip.css("border-left-color")}else{var z=parseFloat(n.$tooltip.css("border-bottom-width")),W=n.$tooltip.css("border-bottom-color")}if(z>1){z++}var X="";if(z!==0){var V="",J="border-color: "+W+";";if(R.indexOf("bottom")!==-1){V="margin-top: -"+Math.round(z)+"px;"}else if(R.indexOf("top")!==-1){V="margin-bottom: -"+Math.round(z)+"px;"}else if(R.indexOf("left")!==-1){V="margin-right: -"+Math.round(z)+"px;"}else if(R.indexOf("right")!==-1){V="margin-left: -"+Math.round(z)+"px;"}X='<span class="tooltipster-arrow-border" style="'+V+" "+J+';"></span>'}n.$tooltip.find(".tooltipster-arrow").remove();var K='<div class="'+R+' tooltipster-arrow" style="'+r+'">'+X+'<span style="border-color:'+U+';"></span></div>';n.$tooltip.append(K)}n.$tooltip.css({top:Math.round(M)+"px",left:Math.round(A)+"px"})}return n},enable:function(){this.enabled=true;return this},disable:function(){this.hide();this.enabled=false;return this},destroy:function(){var t=this;t.hide();if(t.$el[0]!==t.$elProxy[0]){t.$elProxy.remove()}t.$el.removeData(t.namespace).off("."+t.namespace);var n=t.$el.data("tooltipster-ns");if(n.length===1){var r=null;if(t.options.restoration==="previous"){r=t.$el.data("tooltipster-initialTitle")}else if(t.options.restoration==="current"){r=typeof t.Content==="string"?t.Content:e("<div></div>").append(t.Content).html()}if(r){t.$el.attr("title",r)}t.$el.removeClass("tooltipstered").removeData("tooltipster-ns").removeData("tooltipster-initialTitle")}else{n=e.grep(n,function(e,n){return e!==t.namespace});t.$el.data("tooltipster-ns",n)}return t},elementIcon:function(){return this.$el[0]!==this.$elProxy[0]?this.$elProxy[0]:undefined},elementTooltip:function(){return this.$tooltip?this.$tooltip[0]:undefined},option:function(e,t){if(typeof t=="undefined")return this.options[e];else{this.options[e]=t;return this}},status:function(){return this.Status}};e.fn[r]=function(){var t=arguments;if(this.length===0){if(typeof t[0]==="string"){var n=true;switch(t[0]){case"setDefaults":e.extend(i,t[1]);break;default:n=false;break}if(n)return true;else return this}else{return this}}else{if(typeof t[0]==="string"){var r="#*$~&";this.each(function(){var n=e(this).data("tooltipster-ns"),i=n?e(this).data(n[0]):null;if(i){if(typeof i[t[0]]==="function"){var s=i[t[0]](t[1],t[2])}else{throw new Error('Unknown method .tooltipster("'+t[0]+'")')}if(s!==i){r=s;return false}}else{throw new Error("You called Tooltipster's \""+t[0]+'" method on an uninitialized element')}});return r!=="#*$~&"?r:this}else{var o=[],u=t[0]&&typeof t[0].multiple!=="undefined",a=u&&t[0].multiple||!u&&i.multiple,f=t[0]&&typeof t[0].debug!=="undefined",l=f&&t[0].debug||!f&&i.debug;this.each(function(){var n=false,r=e(this).data("tooltipster-ns"),i=null;if(!r){n=true}else if(a){n=true}else if(l){console.log('Tooltipster: one or more tooltips are already attached to this element: ignoring. Use the "multiple" option to attach more tooltips.')}if(n){i=new s(this,t[0]);if(!r)r=[];r.push(i.namespace);e(this).data("tooltipster-ns",r);e(this).data(i.namespace,i)}o.push(i)});if(a)return o;else return this}}};var u=!!("ontouchstart"in t);var a=false;e("body").one("mousemove",function(){a=true})})(jQuery,window,document);  
2 \ No newline at end of file 0 \ No newline at end of file
controllets/shared_js/tooltipster-master/tooltipster.jquery.json deleted
1 -{  
2 - "name": "tooltipster",  
3 - "title": "Tooltipster",  
4 - "description": "A lightweight, flexible jQuery plugin enabling you to easily create semantic, modern tooltips enhanced with the power of CSS.",  
5 - "keywords": [  
6 - "tooltip"  
7 - ],  
8 - "version": "3.3.0",  
9 - "author": {  
10 - "name": "Caleb Jacob",  
11 - "url": "http://calebjacob.com/"  
12 - },  
13 - "maintainers": [  
14 - {  
15 - "name": "Caleb Jacob",  
16 - "email": "hello@calebjacob.com",  
17 - "url": "http://calebjacob.com/"  
18 - },  
19 - {  
20 - "name": "Louis Ameline",  
21 - "email": "evangun2001@yahoo.fr",  
22 - "url": "https://github.com/louisameline"  
23 - }  
24 - ],  
25 - "licenses": [  
26 - {  
27 - "type": "MIT",  
28 - "url": "http://opensource.org/licenses/MIT"  
29 - }  
30 - ],  
31 - "homepage": "https://github.com/iamceege/tooltipster",  
32 - "docs": "http://iamceege.github.io/tooltipster",  
33 - "dependencies": {  
34 - "jquery": ">=1.7"  
35 - }  
36 -}  
37 \ No newline at end of file 0 \ No newline at end of file