Skip to content

Commit

Permalink
support old-style widgets
Browse files Browse the repository at this point in the history
  • Loading branch information
pix666 committed Nov 30, 2022
1 parent 00c13f1 commit 4570d67
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions paper_admin/static/paper_admin/src/js/utilities/widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,23 @@ class Widget {
});
}
}

/**
* @deprecated
* @param selector
*/
initAll(selector) {
this.bind(selector);
this.attach();
}

/**
* @deprecated
* @param selector
*/
observe(selector) {

}
}

export default Widget;

0 comments on commit 4570d67

Please sign in to comment.