Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #5069 from adobe/rlim/quick-doc-for-scss
Browse files Browse the repository at this point in the history
Provide Quick Docs for SCSS.
  • Loading branch information
redmunds committed Sep 5, 2013
2 parents 630e0fe + 904714f commit c07938f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/extensions/default/WebPlatformDocs/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,9 @@ define(function (require, exports, module) {
* @return {?$.Promise} resolved with an InlineWidget; null if we're not going to provide anything
*/
function inlineProvider(hostEditor, pos) {
var langId = hostEditor.getLanguageForSelection().getId();
// Only provide docs when cursor is in CSS content
if (hostEditor.getLanguageForSelection().getId() !== "css") {
if (langId !== "css" && langId !== "scss") {
return null;
}

Expand Down

0 comments on commit c07938f

Please # to comment.