From c2c2fa3448716c06a04262648c20095eff07e342 Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Thu, 16 Dec 2010 19:09:13 +0100 Subject: [PATCH] add deprecation warning --- plugins/pilot/util.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/pilot/util.js b/plugins/pilot/util.js index 6d9a0c29..9a80e472 100644 --- a/plugins/pilot/util.js +++ b/plugins/pilot/util.js @@ -37,6 +37,9 @@ define(function(require, exports, module) { +throw new Error("pilot/util is deprecated. If you need one of the functions from this\ +module please copy the code to the appropriate placein pilot/(lang|dom|event)"); + /** * Create an object representing a de-serialized query section of a URL. * Query keys with multiple values are returned in an array.