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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/sass/ASTService.js

Issue 2466123002: DevTools: reformat front-end code to match chromium style. (Closed)
Patch Set: all done Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 /**
5 * @unrestricted
6 */
7 WebInspector.ASTService = class {
8 /**
9 * @param {string} url
10 * @param {string} text
11 * @return {!Promise<!WebInspector.SASSSupport.AST>}
12 */
13 parseCSS(url, text) {
14 return WebInspector.SASSSupport.parseSCSS(url, text);
15 }
4 16
5 /** 17 /**
6 * @constructor 18 * @param {string} url
7 */ 19 * @param {string} text
8 WebInspector.ASTService = function() 20 * @return {!Promise<!WebInspector.SASSSupport.AST>}
9 { 21 */
22 parseSCSS(url, text) {
23 return WebInspector.SASSSupport.parseSCSS(url, text);
24 }
10 }; 25 };
11
12 WebInspector.ASTService.prototype = {
13 /**
14 * @param {string} url
15 * @param {string} text
16 * @return {!Promise<!WebInspector.SASSSupport.AST>}
17 */
18 parseCSS: function(url, text)
19 {
20 return WebInspector.SASSSupport.parseSCSS(url, text);
21 },
22
23 /**
24 * @param {string} url
25 * @param {string} text
26 * @return {!Promise<!WebInspector.SASSSupport.AST>}
27 */
28 parseSCSS: function(url, text)
29 {
30 return WebInspector.SASSSupport.parseSCSS(url, text);
31 },
32 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698