From 9da5045df2d772743853b4b9731c1fd0a958c7a9 Mon Sep 17 00:00:00 2001 From: Andrew Dupont Date: Sat, 21 Feb 2009 23:32:00 -0600 Subject: [PATCH] Removed redundant lines in selector.js. [#138 state:resolved] (Richard Quadling) --- src/dom/selector.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/dom/selector.js b/src/dom/selector.js index 11486c7..979b7fe 100644 --- a/src/dom/selector.js +++ b/src/dom/selector.js @@ -682,8 +682,6 @@ Object.extend(Selector, { '^=': function(nv, v) { return nv == v || nv && nv.startsWith(v); }, '$=': function(nv, v) { return nv == v || nv && nv.endsWith(v); }, '*=': function(nv, v) { return nv == v || nv && nv.include(v); }, - '$=': function(nv, v) { return nv.endsWith(v); }, - '*=': function(nv, v) { return nv.include(v); }, '~=': function(nv, v) { return (' ' + nv + ' ').include(' ' + v + ' '); }, '|=': function(nv, v) { return ('-' + (nv || "").toUpperCase() + '-').include('-' + (v || "").toUpperCase() + '-'); }