Skip to content

Commit

Permalink
Deprecated decorate*() js functions (#3526)
Browse files Browse the repository at this point in the history
  • Loading branch information
fballiano authored Sep 19, 2023
1 parent 3a7de34 commit df74ac1
Showing 1 changed file with 4 additions and 0 deletions.
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

0 comments on commit df74ac1

Please sign in to comment.