diff options
Diffstat (limited to 'lib/scripts/compatibility.js')
-rw-r--r-- | lib/scripts/compatibility.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/scripts/compatibility.js b/lib/scripts/compatibility.js new file mode 100644 index 000000000..559cc359a --- /dev/null +++ b/lib/scripts/compatibility.js @@ -0,0 +1,16 @@ +/*jslint sloppy: true */ +/*global dw_index, DEPRECATED */ + +var index = { + throbber_delay: dw_index.throbber_delay, + + toggle: function () { + DEPRECATED(); + dw_index.toggle.apply(dw_index, arguments); + }, + + treeattach: function () { + DEPRECATED(); + dw_index.treeattach.apply(dw_index, arguments); + } +}; |