[Build] Remove unused variables

...to satisfy JSHint
This commit is contained in:
Victor Woeltjen
2016-03-04 11:41:48 -08:00
parent bf232d0593
commit a1a7b2b8ce
44 changed files with 55 additions and 109 deletions

View File

@ -21,8 +21,8 @@
*****************************************************************************/
define(
['moment'],
function (moment) {
[],
function () {
var TICK_SPACING_PX = 150;
@ -180,7 +180,7 @@ define(
};
}
function updateOuterStart(t) {
function updateOuterStart() {
var ngModel = $scope.ngModel;
ngModel.inner.start =
@ -195,7 +195,7 @@ define(
updateTicks();
}
function updateOuterEnd(t) {
function updateOuterEnd() {
var ngModel = $scope.ngModel;
ngModel.inner.end =

View File

@ -60,9 +60,7 @@ define(
*/
function TreeNodeController($scope, $timeout) {
var self = this,
selectedObject = ($scope.ngModel || {}).selectedObject,
isSelected = false,
hasBeenExpanded = false;
selectedObject = ($scope.ngModel || {}).selectedObject;
// Look up the id for a domain object. A convenience
// for mapping; additionally does some undefined-checking.