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

Unified Diff: chrome/browser/resources/settings/settings.js

Issue 2360873005: MD Settings: Cleanup, remove unnecessary <cr-settings> wrapper. (Closed)
Patch Set: Remove more Created 4 years, 3 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/settings/settings.js
diff --git a/chrome/browser/resources/settings/settings.js b/chrome/browser/resources/settings/settings.js
deleted file mode 100644
index bb59abb216d3d78b622ace0c7baff3db4087f197..0000000000000000000000000000000000000000
--- a/chrome/browser/resources/settings/settings.js
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-cr.exportPath('settings');
-assert(!settings.defaultResourceLoaded,
- 'settings.js run twice. You probably have an invalid import.');
-/** Global defined when the main Settings script runs. */
-settings.defaultResourceLoaded = true;
-
-/**
- * @fileoverview
- * 'cr-settings' is the main MD-Settings element, combining the UI and models.
- *
- * Example:
- *
- * <cr-settings></cr-settings>
- */
-Polymer({
- is: 'cr-settings',
-
- /** @override */
- created: function() {
- settings.initializeRouteFromUrl();
- },
-
- /** @override */
- ready: function() {
- this.$.ui.directionDelegate = new settings.DirectionDelegateImpl;
- },
-});
« no previous file with comments | « chrome/browser/resources/settings/settings.html ('k') | chrome/browser/resources/settings/settings_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698