Skip to content

Commit

Permalink
Added strict mode where was missing
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-cz committed Aug 26, 2016
1 parent 6758536 commit 529096e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).

## [v1.1.2] - 2016-08-16
### Added
- Use Google maps API Key if available
- Use Google maps API Key if available (see https://github.com/COCOPi/cockpit/pull/423)

### Fixed
- Assets handling in Cockpit view
Expand Down
2 changes: 2 additions & 0 deletions assets/js/filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
*/
(function(angular, App) {

'use strict';

/*
text,
select
Expand Down
10 changes: 7 additions & 3 deletions assets/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
*/
(function($, angular, App) {

'use strict';

/**
* ImportController
* @class
Expand Down Expand Up @@ -244,7 +246,7 @@
localizations : localizations
});

}, this);
});
}
});

Expand Down Expand Up @@ -335,7 +337,7 @@

response.data.forEach(function(row, i) {
tableData[i] = row;
}, this);
});

availableColumns.length = 1;

Expand All @@ -347,7 +349,7 @@
App.i18n.get('import.header.ColumnNo', i),
value: i
});
}, this);
});

$scope.$apply(function() {

Expand Down Expand Up @@ -406,6 +408,7 @@
}
});

/*
// Use backend to parse file
if (false) {
$scope.$watch('file', function(fileData, oldFileData) {
Expand Down Expand Up @@ -453,6 +456,7 @@
;
});
}
*/

//// Methods

Expand Down

0 comments on commit 529096e

Please sign in to comment.