var path = sub.split("."); var sid = path.pop(); this._unsubscribe(this._subscriptions, path, 0, sid);