X-Git-Url: https://svn.cri.ensmp.fr/git/Portfolio.git/blobdiff_plain/011a53d5681ad1f5fa88a534ec041c93d3e7be95..bf33c9ca85d7668e07e0a98d7af0be131d665b31:/skins/cart_widgets.js diff --git a/skins/cart_widgets.js b/skins/cart_widgets.js index 0473c3a..9f59306 100644 --- a/skins/cart_widgets.js +++ b/skins/cart_widgets.js @@ -1,10 +1,7 @@ /* -* © 2009 Luxia SAS. All rights reserved. -* Contributors -* — Benoît Pin -* -* $Id: cart_widgets.js 1006 2009-05-16 16:20:20Z pin $ -* $URL: http://svn.luxia.fr/svn/labo/projects/zope/Portfolio/trunk/skins/cart_widgets.js $ +* 2009 Benoit Pin - MINES ParisTech +* http://plinn.org +* Licence GPL */ @@ -22,7 +19,7 @@ CartWidget = function(slide, url) { req.send(null); hideProgressImage(); - if (req.status != 200){ + if (req.status !== 200){ alert(req.status); return; } @@ -30,12 +27,12 @@ CartWidget = function(slide, url) { var wdgtNode = this.wdgtNode = getCopyOfNode(doc); slide.appendChild(wdgtNode); - var descriptions = this.descriptions = new Array(); + var descriptions = this.descriptions = []; var divs = wdgtNode.getElementsByTagName('div'); - var d; - for (var i=0; i