From d271e30bb75677c7fbc838112ad0ddc006c056a5 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 28 Dec 2011 14:45:49 -0500 Subject: [PATCH] Remove references to goog in web_frontend/ --- web_frontend/actor.js | 13 +++---------- web_frontend/path_control.js | 6 +++--- web_frontend/tv_renamer.js | 1 - 3 files changed, 6 insertions(+), 14 deletions(-) diff --git a/web_frontend/actor.js b/web_frontend/actor.js index c225f61..fc9d679 100644 --- a/web_frontend/actor.js +++ b/web_frontend/actor.js @@ -13,10 +13,9 @@ $.namespace('armadillo.Actor'); * The Actor is a popup that displays the various actions that can be performed * on a given File. * @param {armadillo.File} file The file to act on. - * @param {goog.dom.DomHelper} opt_domHelper * @constructor */ -armadillo.Actor = function(file, opt_domHelper) { +armadillo.Actor = function(file) { /** * The file object on which this acts. * @type {armadillo.File} @@ -29,15 +28,9 @@ armadillo.Actor = function(file, opt_domHelper) { */ this.element_ = null; - /** - * The UI element used for a specific action. - * @type {goog.Disposable} - */ - this.actionObject_ = null; - /** * Controls for the current action. - * @type {goog.ui.Control} + * @type {Element} */ this.controlContainer_ = null; } @@ -98,7 +91,7 @@ armadillo.Actor.prototype.decorateInternal = function(element) { /** * Creates the DOM Element that is inserted into the popup. * @param {armadillo.Actor.options_} Key of the option to create - * @returns {goog.ui.Control} + * @returns {Element} */ armadillo.Actor.prototype.createTile_ = function(option) { var value = armadillo.Actor.options_[option]; diff --git a/web_frontend/path_control.js b/web_frontend/path_control.js index 80348ab..14bf946 100644 --- a/web_frontend/path_control.js +++ b/web_frontend/path_control.js @@ -38,7 +38,7 @@ armadillo.PathControl = function(path, editLastComponent, opt_domHelper) { /** * Control UI for the name component of the path. - * @type {goog.ui.Control} + * @type {Element} */ this.nameControl_ = null; }; @@ -62,7 +62,7 @@ armadillo.PathControl.prototype.getPath = function() { /** * Gets the name control. - * @returns {goog.ui.Control} + * @returns {Element} */ armadillo.PathControl.prototype.getNameControl = function() { return this.nameControl_; @@ -147,7 +147,7 @@ armadillo.PathControl.prototype.createComponentNode_ = function(path, name) { * the given menu. * @param {string} path The path to get a list of items in * @param {string} name The name to select - * @param {goog.ui.Menu} The menu to attach items to + * @param {Element} The menu to attach items to */ armadillo.PathControl.prototype.fetchMenuContents_ = function(path, name, menu) { var fullPath = this.path_; diff --git a/web_frontend/tv_renamer.js b/web_frontend/tv_renamer.js index de9caa0..9a05ed8 100644 --- a/web_frontend/tv_renamer.js +++ b/web_frontend/tv_renamer.js @@ -11,7 +11,6 @@ $.namespace('armadillo.TVRenamer'); /** * Creates a helper to rename a file in a pretty format for TV episodes. - * @extends {goog.Disposable} * @constructor */ armadillo.TVRenamer = function(file) { -- 2.22.5