Index: lib/subscriptionClasses.js |
=================================================================== |
--- a/lib/subscriptionClasses.js |
+++ b/lib/subscriptionClasses.js |
@@ -149,17 +149,17 @@ Subscription.prototype = |
return buffer.join("\n"); |
} |
}; |
/** |
* Cache for known filter subscriptions, maps URL to subscription objects. |
* @type Object |
*/ |
-Subscription.knownSubscriptions = {__proto__: null}; |
+Subscription.knownSubscriptions = Object.create(null); |
/** |
* Returns a subscription from its URL, creates a new one if necessary. |
* @param {String} url URL of the subscription |
* @return {Subscription} subscription or null if the subscription couldn't be created |
*/ |
Subscription.fromURL = function(url) |
{ |