From 4e98109237bfbae56d53349e6c067c9f3ebdcf30 Mon Sep 17 00:00:00 2001 From: Adam Kariv Date: Thu, 6 Apr 2017 21:49:40 +0300 Subject: [PATCH] self -> this :( --- package.json | 2 +- src/profiles.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 870b9bd..1530b92 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "datapackage", - "version": "0.8.2", + "version": "0.8.3", "description": "Utilities to work with Data Packages as defined on dataprotocols.org", "keywords": [ "data package", diff --git a/src/profiles.js b/src/profiles.js index 9a13806..8f5c836 100644 --- a/src/profiles.js +++ b/src/profiles.js @@ -126,7 +126,7 @@ export default class Profiles { let profilePath - if (Utils.isBrowser && !self._remote) { + if (Utils.isBrowser && !this._remote) { profilePath = profile.schema_path.split('.')[0] } else if (this._basePath && profile.schema_path) { profilePath = path.join(this._basePath, profile.schema_path)