| OLD | NEW |
| 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 | 4 |
| 5 /** | 5 /** |
| 6 * @constructor | 6 * @constructor |
| 7 */ | 7 */ |
| 8 WebInspector.ASTService = function() | 8 WebInspector.ASTService = function() |
| 9 { | 9 { |
| 10 } | 10 } |
| 11 | 11 |
| 12 WebInspector.ASTService.prototype = { | 12 WebInspector.ASTService.prototype = { |
| 13 /** | 13 /** |
| 14 * @param {string} url | 14 * @param {string} url |
| 15 * @param {string} text | 15 * @param {string} text |
| 16 * @return {!Promise<!WebInspector.SASSSupport.AST>} | 16 * @return {!Promise<!WebInspector.SASSSupport.AST>} |
| 17 */ | 17 */ |
| 18 parseCSS: function(url, text) | 18 parseCSS: function(url, text) |
| 19 { | 19 { |
| 20 return WebInspector.SASSSupport.parseCSS(url, text); | 20 return WebInspector.SASSSupport.parseSCSS(url, text); |
| 21 }, | 21 }, |
| 22 | 22 |
| 23 /** | 23 /** |
| 24 * @param {string} url | 24 * @param {string} url |
| 25 * @param {string} text | 25 * @param {string} text |
| 26 * @return {!Promise<!WebInspector.SASSSupport.AST>} | 26 * @return {!Promise<!WebInspector.SASSSupport.AST>} |
| 27 */ | 27 */ |
| 28 parseSCSS: function(url, text) | 28 parseSCSS: function(url, text) |
| 29 { | 29 { |
| 30 return WebInspector.SASSSupport.parseSCSS(url, text); | 30 return WebInspector.SASSSupport.parseSCSS(url, text); |
| 31 }, | 31 }, |
| 32 } | 32 } |
| OLD | NEW |