I forked this module → http://drupal.org/project/jquerycdn in order to provide more functionality.
My module allows more modern versions of jQuery and jQuery UI and *also* including Prototype, Scriptacolous & Mootools. Grabbing always these js files from Google CDN.

My project is in http://drupal.org/sandbox/leandro713/1515260
git clone --branch master leandro713@git.drupal.org:sandbox/leandro713/1515260.git
This module is intended only for Drupal 7


Reviews of other project applications:

http://drupal.org/node/1515382#comment-5829202">http://drupal.org/node/1515382#comment-5828284


http://drupal.org/node/1515382#comment-5829202">http://drupal.org/node/1515382#comment-5829202


Comments

luxpaparazzi’s picture

If statements should not be

  if ($cdn_ssl):
    $cdn_jquery_ui_path = str_replace('http://', 'https://', $cdn_jquery_ui_path);
    $cdn_jquery_ui_theme = str_replace('http://', 'https://', $cdn_jquery_ui_theme);
  endif;

or
if ($cdn_ssl) $cdn_jquery_path = str_replace('http://', 'https://', $cdn_jquery_path);

but should be done according to the coding standards defined at:

if (condition1 || condition2) {
  action1;
}
elseif (condition3 && condition4) {
  action2;
}
else {
  defaultaction;
}
luxpaparazzi’s picture

Status: Needs review » Needs work

The same for other control structures:

  foreach ($killlist as $lib => $filepart):
    if (isset($libraries[$lib])) unset($libraries[$lib]);
  endforeach;

see http://drupal.org/coding-standards#controlstruct

leandro713’s picture

Status: Needs work » Needs review

i did some cosmetic rewriting and passed the code to 7.x-.1x branch

klausi’s picture

Status: Needs review » Postponed (maintainer needs more info)

why did you fork the module? Have you opened an issue in the queue of that module to incorporate your enhancements? Have you contacted the maintainer of that module to get her/his opinion? Duplication is a big problem on drupal.org, we should avoid that.

Also, you have not listed any reviews of other project applications in your issue summary as strongly recommended here: http://drupal.org/node/1011698

sreynen’s picture

why did you fork the module? Have you opened an issue in the queue of that module to incorporate your enhancements? Have you contacted the maintainer of that module to get her/his opinion? Duplication is a big problem on drupal.org, we should avoid that.

I had the same thoughts on reading the application description and was surprised to see that leandro713 is actually a maintainer of the original module, jquerycdn. So no need to contact the maintainer (yourself), leandro713, but it would still be good to explain why you felt this code shouldn't go into the original module.

leandro713’s picture

Status: Postponed (maintainer needs more info) » Needs review

at the moment i revised 2 times another project:
http://drupal.org/node/1515382#comment-5828284
http://drupal.org/node/1515382#comment-5829202

well, the problem with the other similar module: i really cant get in touch with the mantainer. He hasnt active his contact form and usually dont read my issues (i opened various for him). i asked him for many times git access and talk about the future of his module, but he doesnt answer me.

in the other hand, my module is similar but adds much more options and functionality, meanwhile the author of the other module doesnt answer........ he granted me git acces, but i dont know why, i cant update the branch, nor create a dev branch. i only can do isolated commits... :( maybe he didnt gave me sufficient permissions, i dont know. i only talked with him one time. anyway i dont see me authorized to change most of the code without contact him :-S

so sreynen, that is the explanation
-Leandro

patrickd’s picture

Status: Needs review » Closed (duplicate)

Still no reason for duplicating a new module with same functionality, please follow the guidelines of how to take over an abandoned module.

// edit

oh, wait, you already got full git access rights, the only right you don't have is the right to administer the maintainer list.
Where's the problem ?

patrickd’s picture

Issue summary: View changes

added reviews of other project applications

avpaderno’s picture

Title: JS CDN Module » [D7] JS CDN Module
Issue summary: View changes
Status: Closed (duplicate) » Closed (won't fix)