From bf9dba001ec84243e2f12cd13b0c0ae020fba4a2 Mon Sep 17 00:00:00 2001 From: Ananya Sen Date: Mon, 9 Jul 2012 12:23:13 -0700 Subject: removed unnecessary todo comments Signed-off-by: Ananya Sen --- js/clipboard/internal-ops/elements-clipboard-agent.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'js/clipboard/internal-ops') diff --git a/js/clipboard/internal-ops/elements-clipboard-agent.js b/js/clipboard/internal-ops/elements-clipboard-agent.js index 14984593..fa433a59 100644 --- a/js/clipboard/internal-ops/elements-clipboard-agent.js +++ b/js/clipboard/internal-ops/elements-clipboard-agent.js @@ -141,7 +141,7 @@ var ElementsClipboardAgent = exports.ElementsClipboardAgent = Montage.create(Com } }, - pasteFromCopy:{//todo: change to appropriate name + pasteFromCopy:{ value:function(){ var i=0, j=0, pastedElements = [],//array of te pastes clones - for selection @@ -151,7 +151,7 @@ var ElementsClipboardAgent = exports.ElementsClipboardAgent = Montage.create(Com this.pasteCounter++; - //TODO: cleanse HTML + //cleanse HTML for(j=0; j< this.copiedObjects.copy.length; j++){ copiedElement = this.copiedObjects.copy[j]; @@ -229,9 +229,6 @@ var ElementsClipboardAgent = exports.ElementsClipboardAgent = Montage.create(Com //build the computed style attribute computedStyles = elem.ownerDocument.defaultView.getComputedStyle(elem); - //todo: consider cleaning up the position data [or making position:relative with 0,0] from the computed styles, - // so that the object is pasted onto expernal applicaitons [like gmail] with no offset - for (i = 0; i < computedStyles.length; i++) { stylePropertyName = computedStyles[i]; computedStylesStr = computedStylesStr + stylePropertyName + ":" + computedStyles.getPropertyValue(stylePropertyName) + ";"; -- cgit v1.2.3