diff --git a/CHANGELOG.md b/CHANGELOG.md index 9dc456a..2f8e503 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/assets/js/filters.js b/assets/js/filters.js index 0743548..7dfc7a1 100644 --- a/assets/js/filters.js +++ b/assets/js/filters.js @@ -8,6 +8,8 @@ */ (function(angular, App) { + 'use strict'; + /* text, select diff --git a/assets/js/index.js b/assets/js/index.js index d3716ec..f4d5146 100644 --- a/assets/js/index.js +++ b/assets/js/index.js @@ -6,6 +6,8 @@ */ (function($, angular, App) { + 'use strict'; + /** * ImportController * @class @@ -244,7 +246,7 @@ localizations : localizations }); - }, this); + }); } }); @@ -335,7 +337,7 @@ response.data.forEach(function(row, i) { tableData[i] = row; - }, this); + }); availableColumns.length = 1; @@ -347,7 +349,7 @@ App.i18n.get('import.header.ColumnNo', i), value: i }); - }, this); + }); $scope.$apply(function() { @@ -406,6 +408,7 @@ } }); + /* // Use backend to parse file if (false) { $scope.$watch('file', function(fileData, oldFileData) { @@ -453,6 +456,7 @@ ; }); } + */ //// Methods