浏览代码

Fix typo in comment

Gaël Métais 10 年之前
父节点
当前提交
b00eba77f9
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lib/screenshotHandler.js

+ 2 - 2
lib/screenshotHandler.js

@@ -94,9 +94,9 @@ var screenshotHandler = function() {
         return deferred.promise;        
     };
 
-    // If the page doesn't set a background color, the default PhantomJS one is transparent.
+    // If the page doesn't set a bg color, the default PhantomJS one is transparent
     // When transforming PNG to JPG, transparent pixels become black.
-    // This is why we need to had a transparent background.
+    // This is why we need to add a transparent background.
     this.addWhiteBackground = function(image) {
         var deferred = Q.defer();