From 782d0c09fca0a1fac3b778ce6c25f0f609376626 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Thu, 9 Jun 2011 09:52:58 +0200 Subject: marked sack library as deprecated --- lib/scripts/tw-sack.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/scripts/tw-sack.js b/lib/scripts/tw-sack.js index b5a5c8861..cc988f5be 100644 --- a/lib/scripts/tw-sack.js +++ b/lib/scripts/tw-sack.js @@ -66,6 +66,8 @@ function sack(file){ }; this.runAJAX = function(urlstring){ + DEPRECATED('Please use jQuery.post() or any other of jQuery\'s AJAX methods.'); + this.responseStatus = new Array(2); if(this.failed && this.AjaxFailedAlert){ alert(this.AjaxFailedAlert); -- cgit v1.2.3