Project

General

Profile

Actions

action #2244

closed

Migrate from prototype.js to jQuery.

Added by ancorgs about 10 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Feature requests
Target version:
-
Start date:
2014-04-04
Due date:
% Done:

20%

Estimated time:
6.00 h

Description

Prototype lost the war against jQuery long time ago, but for historical reasons we are still using it and is reducing our options every time we need a Javascript library or component (most of the cool stuff nowadays is based in jQuery).

Some things that needs to be changed (from the top of my head)

  • Calls to "$" and "$$"
  • Iterators (like "each", "eachSlide" and so on)
  • AJAX calls
  • ...

Useful cheatsheet: http://gneady.com/migrating-from-prototype-to-jquery/

To be really sure with the change, we should implement tests with Javascript support, but that is probably asking for too much right now.
https://progress.opensuse.org/issues/1272#note-15

Actions

Also available in: Atom PDF