From 4a3fa3d38d8be6a00daa58665023f14e304f4b99 Mon Sep 17 00:00:00 2001 From: NejcZdovc Date: Thu, 26 Apr 2018 10:25:23 +0200 Subject: [PATCH] Removes youtube channel rule --- index.js | 4 ---- package.json | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/index.js b/index.js index e33522c..5003187 100644 --- a/index.js +++ b/index.js @@ -140,10 +140,6 @@ Client.prototype.sync = function (callback) { } if (!self.state.ruleset) { self.state.ruleset = [ - { condition: 'SLD === \'youtube.com\' && pathname.indexOf(\'/channel/\') === 0', - consequent: '\'youtube#channel:\' + pathname.split(\'/\')[2]', - description: 'youtube channels' - }, { condition: '/^[a-z][a-z].gov$/.test(SLD)', consequent: 'QLD + \'.\' + SLD', diff --git a/package.json b/package.json index 9e12a6b..f605a7b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bat-client", - "version": "2.2.4", + "version": "2.2.6", "description": "An example of client code for the BAT.", "main": "index.js", "scripts": {