Projet

Général

Profil

Révision 7547bb19

Ajouté par Assos Assos il y a environ 7 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/views_slideshow/contrib/views_slideshow_cycle/views_slideshow_cycle.drush.inc
46 46
    ),
47 47
    'aliases' => array('dl-pause'),
48 48
  );
49
  $items['views-slideshow-cycle-easing'] = array(
50
    'description' => dt('Download and install the jQuery.easing library.'),
51
    'bootstrap' => DRUSH_BOOTSTRAP_DRUSH,
52
    'arguments' => array(
53
      'path' => dt('Optional. The path to install the jQuery.easing library in. If omitted Drush will use the default location.'),
54
    ),
55
    'aliases' => array('dl-easing'),
56
  );
49 57
  $items['views-slideshow-cycle-lib'] = array(
50 58
    'description' => dt('Download and install the jQuery Cycle, jQuery hoverIntent and JSON2 libraries.'),
51 59
    'bootstrap' => DRUSH_BOOTSTRAP_DRUSH,
......
68 76
    case 'drush:views-slideshow-cycle-pause':
69 77
      return dt('Download and install the jQuery pause library from https://raw.githubusercontent.com/tobia/Pause/master/jquery.pause.js, default location is libraries/jquery.pause.');
70 78

  
79
    case 'drush:views-slideshow-cycle-easing':
80
      return dt('Download and install the jQuery pause library from http://gsgd.co.uk/sandbox/jquery/easing/jquery.easing.1.3.js, default location is libraries/jquery.easing.');
81

  
71 82
    case 'drush:views-slideshow-cycle-json2':
72 83
      return dt('Download and install the JSON2 library from https://github.com/douglascrockford/JSON-js/, default location is libraries/json2.');
73 84

  
......
128 139
  );
129 140
}
130 141

  
142
/**
143
 * Command to download the jQuery.pause library.
144
 */
145
function drush_views_slideshow_cycle_easing() {
146
  _drush_views_slideshow_cycle_install_library(
147
    'jQuery easing',
148
    'libraries/jquery.easing',
149
    'jquery.easing.1.3.js',
150
    'http://gsgd.co.uk/sandbox/jquery/easing/jquery.easing.1.3.js',
151
    func_get_args()
152
  );
153
}
154

  
131 155
/**
132 156
 * Command to download all libraries.
133 157
 */
......
136 160
  drush_views_slideshow_cycle_json2();
137 161
  drush_views_slideshow_cycle_hoverintent();
138 162
  drush_views_slideshow_cycle_pause();
163
  drush_views_slideshow_cycle_easing();
139 164
}
140 165

  
141 166
/**

Formats disponibles : Unified diff