Index: trunk/extensions/UsabilityInitiative/UsabilityInitiative.hooks.php |
— | — | @@ -64,7 +64,7 @@ |
65 | 65 | |
66 | 66 | // Core functionality of extension scripts |
67 | 67 | array( 'src' => 'js/plugins/jquery.async.js', 'version' => 3 ), |
68 | | - array( 'src' => 'js/plugins/jquery.autoEllipsis.js', 'version' => 9 ), |
| 68 | + array( 'src' => 'js/plugins/jquery.autoEllipsis.js', 'version' => 10 ), |
69 | 69 | array( 'src' => 'js/plugins/jquery.browser.js', 'version' => 6 ), |
70 | 70 | array( 'src' => 'js/plugins/jquery.collapsibleTabs.js', 'version' => 6 ), |
71 | 71 | array( 'src' => 'js/plugins/jquery.color.js', 'version' => 1 ), |
— | — | @@ -85,10 +85,10 @@ |
86 | 86 | array( 'src' => 'js/plugins/jquery.wikiEditor.publish.js', 'version' => 5 ), |
87 | 87 | ), |
88 | 88 | 'combined' => array( |
89 | | - array( 'src' => 'js/plugins.combined.js', 'version' => 406 ), |
| 89 | + array( 'src' => 'js/plugins.combined.js', 'version' => 407 ), |
90 | 90 | ), |
91 | 91 | 'minified' => array( |
92 | | - array( 'src' => 'js/plugins.combined.min.js', 'version' => 406 ), |
| 92 | + array( 'src' => 'js/plugins.combined.min.js', 'version' => 407 ), |
93 | 93 | ), |
94 | 94 | ), |
95 | 95 | ); |
Index: trunk/extensions/UsabilityInitiative/js/plugins/jquery.autoEllipsis.js |
— | — | @@ -87,9 +87,9 @@ |
88 | 88 | } |
89 | 89 | break; |
90 | 90 | } |
91 | | - if ( options.tooltip ) |
92 | | - $text.attr( 'title', text ); |
93 | 91 | } |
| 92 | + if ( options.tooltip ) |
| 93 | + $text.attr( 'title', text ); |
94 | 94 | cache[text][w] = $text.text(); |
95 | 95 | } ); |
96 | 96 | }; |
Index: trunk/extensions/UsabilityInitiative/js/plugins.combined.js |
— | — | @@ -5259,9 +5259,9 @@ |
5260 | 5260 | } |
5261 | 5261 | break; |
5262 | 5262 | } |
5263 | | - if ( options.tooltip ) |
5264 | | - $text.attr( 'title', text ); |
5265 | 5263 | } |
| 5264 | + if ( options.tooltip ) |
| 5265 | + $text.attr( 'title', text ); |
5266 | 5266 | cache[text][w] = $text.text(); |
5267 | 5267 | } ); |
5268 | 5268 | }; |
Index: trunk/extensions/UsabilityInitiative/js/plugins.combined.min.js |
— | — | @@ -365,10 +365,9 @@ |
366 | 366 | if(w in cache[text]){$text.text(cache[text][w]);return;} |
367 | 367 | $text.text(text);if($text.width()>w){switch(options.position){case'right':var l=0,r=text.length;do{var m=Math.ceil((l+r)/2);$text.text(text.substr(0,m)+'...');if($text.width()>w){r=m-1;}else{l=m;}}while(l<r);$text.text(text.substr(0,l)+'...');break;case'center':var i=[Math.round(text.length/2),Math.round(text.length/2)];var side=1;while($text.outerWidth()>w&&i[0]>0){$text.text(text.substr(0,i[0])+'...'+text.substr(i[1]));if(side==0){i[0]--;side=1;}else{i[1]++;side=0;}} |
368 | 368 | break;case'left':var r=0;while($text.outerWidth()>w&&r<text.length){$text.text('...'+text.substr(r));r++;} |
369 | | -break;} |
| 369 | +break;}} |
370 | 370 | if(options.tooltip) |
371 | | -$text.attr('title',text);} |
372 | | -cache[text][w]=$text.text();});};})(jQuery);(function($){$.browserTest=function(a,z){var u='unknown',x='X',m=function(r,h){for(var i=0;i<h.length;i=i+1){r=r.replace(h[i][0],h[i][1]);} |
| 371 | +$text.attr('title',text);cache[text][w]=$text.text();});};})(jQuery);(function($){$.browserTest=function(a,z){var u='unknown',x='X',m=function(r,h){for(var i=0;i<h.length;i=i+1){r=r.replace(h[i][0],h[i][1]);} |
373 | 372 | return r;},c=function(i,a,b,c){var r={name:m((a.exec(i)||[u,u])[1],b)};r[r.name]=true;r.version=(c.exec(i)||[x,x,x,x])[3];if(r.name.match(/safari/)&&r.version>400){r.version='2.0';} |
374 | 373 | if(r.name==='presto'){r.version=($.browser.version>9.27)?'futhark':'linear_b';} |
375 | 374 | if(r.name==='opera'&&$.browser.version>=9.8){r.version=i.match(/version\/([0-9\.]*)/i)[1]||10;} |