You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ha...@apache.org on 2017/01/25 18:22:23 UTC
mesos git commit: Fixed a typo in webui.
Repository: mesos
Updated Branches:
refs/heads/master 636866c54 -> 416b26675
Fixed a typo in webui.
Review: https://reviews.apache.org/r/54834/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/416b2667
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/416b2667
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/416b2667
Branch: refs/heads/master
Commit: 416b26675e384d5a1b9c0fe61de20fe43f0e7a39
Parents: 636866c
Author: haosdent huang <ha...@apache.org>
Authored: Thu Jan 26 02:21:10 2017 +0800
Committer: Haosdent Huang <ha...@apache.org>
Committed: Thu Jan 26 02:21:10 2017 +0800
----------------------------------------------------------------------
src/webui/master/static/index.html | 2 +-
src/webui/master/static/js/controllers.js | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/416b2667/src/webui/master/static/index.html
----------------------------------------------------------------------
diff --git a/src/webui/master/static/index.html b/src/webui/master/static/index.html
index ecbcbb8..a679caf 100644
--- a/src/webui/master/static/index.html
+++ b/src/webui/master/static/index.html
@@ -18,7 +18,7 @@
<img src="/static/img/loading.gif" height="64" width="64" alt="">
</div>
- <div ng-controller="MainCntl">
+ <div ng-controller="MainCtrl">
<header class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
http://git-wip-us.apache.org/repos/asf/mesos/blob/416b2667/src/webui/master/static/js/controllers.js
----------------------------------------------------------------------
diff --git a/src/webui/master/static/js/controllers.js b/src/webui/master/static/js/controllers.js
index dddfa30..472deb0 100644
--- a/src/webui/master/static/js/controllers.js
+++ b/src/webui/master/static/js/controllers.js
@@ -275,10 +275,10 @@
// Main controller that can be used to handle "global" events. E.g.,:
// $scope.$on('$afterRouteChange', function() { ...; });
//
- // In addition, the MainCntl encapsulates the "view", allowing the
+ // In addition, the MainCtrl encapsulates the "view", allowing the
// active controller/view to easily access anything in scope (e.g.,
// the state).
- mesosApp.controller('MainCntl', [
+ mesosApp.controller('MainCtrl', [
'$scope', '$http', '$location', '$timeout', '$modal',
function($scope, $http, $location, $timeout, $modal) {
$scope.doneLoading = true;