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

Unified Diff: chrome/browser/resources/md_bookmarks/store_client.js

Issue 2735953002: MD Bookmarks: Integrate new data store with UI elements (Closed)
Patch Set: More tweaks Created 3 years, 9 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/md_bookmarks/store_client.js
diff --git a/chrome/browser/resources/md_bookmarks/store_client.js b/chrome/browser/resources/md_bookmarks/store_client.js
index 9397c84a8599d985b3f4c733911e37501741b7a4..344df43db1ea8142842866d281d8346b0273021f 100644
--- a/chrome/browser/resources/md_bookmarks/store_client.js
+++ b/chrome/browser/resources/md_bookmarks/store_client.js
@@ -40,6 +40,10 @@ cr.define('bookmarks', function() {
* Note that object identity is used to determine if the value has changed
* before updating the UI, rather than Polymer-style deep equality.
*
+ * Typechecking is supressed because this conflicts with
+ * Object.prototype.watch, which is a Gecko-only method that is recognized
+ * by Closure.
+ * @suppress {checkTypes}
calamity 2017/03/09 04:58:57 lol.
* @param {string} localProperty
* @param {function(!BookmarksPageState)} valueGetter
*/
@@ -87,5 +91,7 @@ cr.define('bookmarks', function() {
},
};
- return {StoreClient: StoreClient};
+ return {
+ StoreClient: StoreClient,
+ };
});

Powered by Google App Engine
This is Rietveld 408576698