Skip to content
This repository has been archived by the owner on Jun 6, 2019. It is now read-only.

Commit

Permalink
Removes youtube channel rule
Browse files Browse the repository at this point in the history
  • Loading branch information
NejcZdovc committed Apr 26, 2018
1 parent f0f0d4e commit 4a3fa3d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 4a3fa3d

Please sign in to comment.