Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Unified Diff: chrome/browser/resources/ntp4/tile_page.js

Issue 405743002: Typecheck some of ui/webui/resources/js/ with Closure compiler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: done for tonight Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/ntp4/tile_page.js
diff --git a/chrome/browser/resources/ntp4/tile_page.js b/chrome/browser/resources/ntp4/tile_page.js
index df809bd1826eaf847328826dc9ec1c719050dc5f..be0fc88c1b53ac228c6a08bc96795f9e3b2adc4b 100644
--- a/chrome/browser/resources/ntp4/tile_page.js
+++ b/chrome/browser/resources/ntp4/tile_page.js
@@ -1372,7 +1372,7 @@ cr.define('ntp', function() {
* @param {number} index The tile index at which the drop occurred.
*/
addDragData: function(dataTransfer, index) {
- assert(false);
+ notReached();
},
/**
@@ -1390,7 +1390,7 @@ cr.define('ntp', function() {
* @param {Object} dataTransfer The drag event dataTransfer object.
*/
setDropEffect: function(dataTransfer) {
- assert(false);
+ notReached();
},
};

Powered by Google App Engine
This is Rietveld 408576698