Repository: ambari Updated Branches: refs/heads/trunk b8884677d -> 8d3289418
Revert "AMBARI-20584. Pig view doesn't load in older version of firefox (Venkata Sairam via pallavkul)" This reverts commit b8884677da5cc4c8cfc9fb0246d8a8598af765aa. Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/8d328941 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/8d328941 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/8d328941 Branch: refs/heads/trunk Commit: 8d32894181f5dc13bef7c2a517a26b4c3ca711b4 Parents: b888467 Author: pallavkul <[email protected]> Authored: Mon Mar 27 18:55:14 2017 +0530 Committer: pallavkul <[email protected]> Committed: Mon Mar 27 18:55:14 2017 +0530 ---------------------------------------------------------------------- .../src/main/resources/ui/hive-web/app/controllers/splash.js | 2 +- .../src/main/resources/ui/hive-web/app/routes/splash.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/8d328941/contrib/views/hive-next/src/main/resources/ui/hive-web/app/controllers/splash.js ---------------------------------------------------------------------- diff --git a/contrib/views/hive-next/src/main/resources/ui/hive-web/app/controllers/splash.js b/contrib/views/hive-next/src/main/resources/ui/hive-web/app/controllers/splash.js index 47b5272..423a0e3 100644 --- a/contrib/views/hive-next/src/main/resources/ui/hive-web/app/controllers/splash.js +++ b/contrib/views/hive-next/src/main/resources/ui/hive-web/app/controllers/splash.js @@ -106,7 +106,7 @@ checkConnection: function() { }; - var checks = []; + let checks = []; if(model.get("serviceCheckPolicy").checkHdfs){ checks.push("hdfs"); }else{ http://git-wip-us.apache.org/repos/asf/ambari/blob/8d328941/contrib/views/hive-next/src/main/resources/ui/hive-web/app/routes/splash.js ---------------------------------------------------------------------- diff --git a/contrib/views/hive-next/src/main/resources/ui/hive-web/app/routes/splash.js b/contrib/views/hive-next/src/main/resources/ui/hive-web/app/routes/splash.js index 087bab3..7e35340 100644 --- a/contrib/views/hive-next/src/main/resources/ui/hive-web/app/routes/splash.js +++ b/contrib/views/hive-next/src/main/resources/ui/hive-web/app/routes/splash.js @@ -99,9 +99,9 @@ export default Ember.Route.extend({ this.fetchServiceCheckPolicy() .then((data) => { - var numberOfChecks = 0; - var serviceCheckPolicy = data.serviceCheckPolicy; - for (var serviceCheck in serviceCheckPolicy) { + let numberOfChecks = 0; + let serviceCheckPolicy = data.serviceCheckPolicy; + for (let serviceCheck in serviceCheckPolicy) { if (serviceCheckPolicy[serviceCheck] === true) { numberOfChecks++; } @@ -121,7 +121,7 @@ export default Ember.Route.extend({ }, fetchServiceCheckPolicy: function(){ - var adapter = this.container.lookup('adapter:service-check'); + let adapter = this.container.lookup('adapter:service-check'); return adapter.fetchServiceCheckPolicy(); }, actions: {
