From 6ec745d7d8ac73996838bf3e2c2c8b124cbaf31f Mon Sep 17 00:00:00 2001 From: Jason Skomorowski Date: Tue, 7 Oct 2014 10:43:34 -0400 Subject: [PATCH] Deprecate very backwards compatibility. --- src/mkws-core.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/mkws-core.js b/src/mkws-core.js index d88e751..73f2b8d 100644 --- a/src/mkws-core.js +++ b/src/mkws-core.js @@ -497,21 +497,6 @@ mkws.log("Using window.name '" + window.name + "'"); if (message) greet += " :: " + message; mkws.log(greet); - // TODO: Let's remove this soon - // Backwards compatibility: set new magic class names on any - // elements that have the old magic IDs. - var ids = [ "Switch", "Lang", "Search", "Pager", "Navi", - "Results", "Records", "Targets", "Ranking", - "Termlists", "Stat", "MOTD" ]; - for (var i = 0; i < ids.length; i++) { - var id = 'mkws' + ids[i]; - var node = $('#' + id); - if (node.attr('id')) { - node.addClass(id); - log("added magic class to '" + node.attr('id') + "'"); - } - } - // MKWS is not active until init() has been run against an object with widget nodes. // We only set initial configuration when MKWS is first activated. if (!mkws.isActive) { -- 1.7.10.4