[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

@ -94,13 +94,6 @@ define(
* @constructor
*/
function MCTSplitPane($parse, $log, $interval) {
var anchors = {
left: true,
right: true,
top: true,
bottom: true
};
function controller($scope, $element, $attrs) {
var anchorKey = $attrs.anchor || DEFAULT_ANCHOR,
anchor,
@ -162,7 +155,7 @@ define(
// Getter-setter for the pixel offset of the splitter,
// relative to the current edge.
function getSetPosition(value) {
var min, max, prior = position;
var prior = position;
if (typeof value === 'number') {
position = value;
enforceExtrema();

View File

@ -28,13 +28,7 @@ define(
var SPLITTER_TEMPLATE = "<div class='abs'" +
"mct-drag-down=\"splitter.startMove()\" " +
"mct-drag=\"splitter.move(delta)\" " +
"mct-drag-up=\"splitter.endMove()\"></div>",
OFFSETS_BY_EDGE = {
left: "offsetLeft",
right: "offsetRight",
top: "offsetTop",
bottom: "offsetBottom"
};
"mct-drag-up=\"splitter.endMove()\"></div>";
/**
* Implements `mct-splitter` directive.
@ -50,7 +44,6 @@ define(
scope.splitter = {
// Begin moving this splitter
startMove: function () {
var splitter = element[0];
initialPosition = mctSplitPane.position();
mctSplitPane.toggleClass('resizing');
},