[extensions-web] js: Err, actually mark as unchanged



commit 06bf0127b2a8391f3df89b49e89711152a898894
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Jun 15 16:41:03 2012 -0400

    js: Err, actually mark as unchanged

 sweettooth/static/js/diff.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/sweettooth/static/js/diff.js b/sweettooth/static/js/diff.js
index 3219504..12c7775 100644
--- a/sweettooth/static/js/diff.js
+++ b/sweettooth/static/js/diff.js
@@ -103,7 +103,7 @@ define(['jquery'], function($) {
         // find something useful, or we're in a regular delete/inserted
         // chunk. Highlight the entire region as unchanged.
         if (!regions || regions.length === 0)
-            return changed(contents);
+            return unchanged(contents);
 
         var regionElems = [];
         var lastEnd = 0;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]