| LEFT | RIGHT | 
|    1 /* |    1 /* | 
|    2  * This file is part of Adblock Plus <https://adblockplus.org/>, |    2  * This file is part of Adblock Plus <https://adblockplus.org/>, | 
|    3  * Copyright (C) 2006-present eyeo GmbH |    3  * Copyright (C) 2006-present eyeo GmbH | 
|    4  * |    4  * | 
|    5  * Adblock Plus is free software: you can redistribute it and/or modify |    5  * Adblock Plus is free software: you can redistribute it and/or modify | 
|    6  * it under the terms of the GNU General Public License version 3 as |    6  * it under the terms of the GNU General Public License version 3 as | 
|    7  * published by the Free Software Foundation. |    7  * published by the Free Software Foundation. | 
|    8  * |    8  * | 
|    9  * Adblock Plus is distributed in the hope that it will be useful, |    9  * Adblock Plus is distributed in the hope that it will be useful, | 
|   10  * but WITHOUT ANY WARRANTY; without even the implied warranty of |   10  * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  101               break; |  101               break; | 
|  102  |  102  | 
|  103             case "subscription filters": |  103             case "subscription filters": | 
|  104               if (this.subscriptions.length) |  104               if (this.subscriptions.length) | 
|  105               { |  105               { | 
|  106                 let currentSubscription = this.subscriptions[ |  106                 let currentSubscription = this.subscriptions[ | 
|  107                   this.subscriptions.length - 1 |  107                   this.subscriptions.length - 1 | 
|  108                 ]; |  108                 ]; | 
|  109                 for (let text of this._curObj) |  109                 for (let text of this._curObj) | 
|  110                 { |  110                 { | 
|  111                   let filter = Filter.fromText(text); |  | 
|  112                   currentSubscription.addFilterText(text); |  111                   currentSubscription.addFilterText(text); | 
|  113                   filter.addSubscription(currentSubscription); |  112                   Filter.fromText(text).addSubscription(currentSubscription); | 
|  114                 } |  113                 } | 
|  115               } |  114               } | 
|  116               break; |  115               break; | 
|  117           } |  116           } | 
|  118         } |  117         } | 
|  119  |  118  | 
|  120         if (line === null) |  119         if (line === null) | 
|  121           return; |  120           return; | 
|  122  |  121  | 
|  123         this._curSection = match[1].toLowerCase(); |  122         this._curSection = match[1].toLowerCase(); | 
| (...skipping 20 matching lines...) Expand all  Loading... | 
|  144     } |  143     } | 
|  145     finally |  144     finally | 
|  146     { |  145     { | 
|  147       Filter.knownFilters = origKnownFilters; |  146       Filter.knownFilters = origKnownFilters; | 
|  148       Subscription.knownSubscriptions = origKnownSubscriptions; |  147       Subscription.knownSubscriptions = origKnownSubscriptions; | 
|  149     } |  148     } | 
|  150   } |  149   } | 
|  151 } |  150 } | 
|  152  |  151  | 
|  153 exports.INIParser = INIParser; |  152 exports.INIParser = INIParser; | 
| LEFT | RIGHT |