From 0608e045f6aa471916829468f48082ea07a453f4 Mon Sep 17 00:00:00 2001 From: Giulio Cesare Solaroli Date: Sun, 21 Apr 2013 15:53:34 +0000 Subject: Removed extra JS libraries no longer used for the mobile version --- (limited to 'frontend/gamma/js/JQTouch/extensions/jqt.autotitles.js') diff --git a/frontend/gamma/js/JQTouch/extensions/jqt.autotitles.js b/frontend/gamma/js/JQTouch/extensions/jqt.autotitles.js deleted file mode 100644 index 94f3d9b..0000000 --- a/frontend/gamma/js/JQTouch/extensions/jqt.autotitles.js +++ b/dev/null @@ -1,52 +0,0 @@ -/* - - _/ _/_/ _/_/_/_/_/ _/ - _/ _/ _/ _/_/ _/ _/ _/_/_/ _/_/_/ - _/ _/ _/_/ _/ _/ _/ _/ _/ _/ _/ _/ - _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ - _/ _/_/ _/ _/ _/_/ _/_/_/ _/_/_/ _/ _/ - _/ - _/ - - Created by David Kaneda - Maintained by Thomas Yip - Sponsored by Sencha Labs - Special thanks to Jonathan Stark - - Documentation and issue tracking on GitHub - - (c) 2009-2011 Sencha Labs - jQTouch may be freely distributed under the MIT license. - -*/ - -(function($) { - if ($.jQTouch) - { - $.jQTouch.addExtension(function AutoTitles(jQT){ - - var titleSelector='.toolbar h1'; - - $(function(){ - $('#jqt').bind('pageAnimationStart', function(e, data){ - if (data.direction === 'in'){ - var $title = $(titleSelector, $(e.target)); - var $ref = $(e.target).data('referrer'); - if ($title.length && $ref && $title.text() === ''){ - $title.html($ref.text()); - } - } - }); - }); - - function setTitleSelector(ts){ - titleSelector=ts; - } - - return { - setTitleSelector: setTitleSelector - }; - - }); - } -})($); -- cgit v0.9.0.2