Fix comments

This commit is contained in:
Ilya Radchenko 2015-05-12 11:58:56 -04:00
parent bc953b1185
commit 621fe55ea9

View File

@ -291,7 +291,7 @@ CanvasLayer.prototype.setPaneName = function(paneName) {
* Set the opacity for the canvas. * Set the opacity for the canvas.
* *
* @param {number} opacity The opacity of the canvas * @param {number} opacity The opacity of the canvas
* / */
CanvasLayer.prototype.setOpacity = function (opacity) { CanvasLayer.prototype.setOpacity = function (opacity) {
this.canvas.style.opacity = opacity; this.canvas.style.opacity = opacity;
}; };
@ -300,7 +300,7 @@ CanvasLayer.prototype.setOpacity = function (opacity) {
* Get the canvases opacity. * Get the canvases opacity.
* *
* @return {number} The opacity of the canvas * @return {number} The opacity of the canvas
* / */
CanvasLayer.prototype.getOpacity = function () { CanvasLayer.prototype.getOpacity = function () {
return this.canvas.style.opacity; return this.canvas.style.opacity;
}; };