Skip to content

Commit

Permalink
Fixes tslint erros again. (refs #130)
Browse files Browse the repository at this point in the history
  • Loading branch information
doomsayer2 committed May 25, 2018
1 parent 8be40b6 commit 297c704
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app_constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ export class AppConstants {
static FARM_FILE = 'https://dl.dropboxusercontent.com/s/zunih3hkcooh1gm/Farm_Subsidies_Data.csv?dl=0';
static MEDIA_FILE = 'https://dl.dropboxusercontent.com/s/34ev5sr6u3xdisq/Media_Transperency_Data.csv?dl=0';
static FILE4 = 'https://dl.dropboxusercontent.com/s/k4dhuh7hnmoclzf/Simple_Data.csv?dl=0';
static OECD_FILE = 'https://dl.dropboxusercontent.com/s/cvigz33c3g8h5be/Aid_Payments_OECD.csv?dl=0'
static OECD_FILE = 'https://dl.dropboxusercontent.com/s/cvigz33c3g8h5be/Aid_Payments_OECD.csv?dl=0';
}
4 changes: 2 additions & 2 deletions src/data_import.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ class DataImport implements MAppViews {
console.log('In edit mode');
} else {
console.log('Not in edit mode');
Promise.resolve(this.storeData()).then(res => {
Promise.resolve(this.storeData()).then((res) => {
console.log('res: ', res);
events.fire(AppConstants.EVENT_DATA_PARSED, 'parsed');
d3.select('.dataLoadingView').classed('invisibleClass', true);
Expand Down Expand Up @@ -423,7 +423,7 @@ class DataImport implements MAppViews {
*/
private reworkNegativeValues(json) {
const data = json.data;
data.forEach(o => {
data.forEach((o) => {
if (o.valueNode < 0) {
[o.sourceNode, o.targetNode] = [o.targetNode, o.sourceNode];
o.valueNode = (o.valueNode * -1) + '';
Expand Down

0 comments on commit 297c704

Please sign in to comment.