Skip to content

Deprecated decorate*() js functions #3526

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions js/varien/js.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ function setPLocation(url, setFocus){
*
* @param elements - array of elements to be decorated
* [@param decorateParams] - array of classes to be set. If omitted, all available will be used
* @deprecated
*/
function decorateGeneric(elements, decorateParams)
{
Expand Down Expand Up @@ -81,6 +82,7 @@ function decorateGeneric(elements, decorateParams)
/**
* Decorate table rows and cells, tbody etc
* @see decorateGeneric()
* @deprecated
*/
function decorateTable(table, options) {
var table = $(table);
Expand Down Expand Up @@ -126,6 +128,7 @@ function decorateTable(table, options) {
/**
* Set "odd", "even" and "last" CSS classes for list items
* @see decorateGeneric()
* @deprecated
*/
function decorateList(list, nonRecursive) {
if ($(list)) {
Expand All @@ -142,6 +145,7 @@ function decorateList(list, nonRecursive) {
/**
* Set "odd", "even" and "last" CSS classes for list items
* @see decorateGeneric()
* @deprecated
*/
function decorateDataList(list) {
list = $(list);
Expand Down