-
-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from devvaannsh/emmet-css
Emmet css
- Loading branch information
Showing
6 changed files
with
255 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/* | ||
* GNU AGPL-3.0 License | ||
* | ||
* Copyright (c) 2021 - present core.ai . All rights reserved. | ||
* Original work Copyright (c) 2012 - 2021 Adobe Systems Incorporated. All rights reserved. | ||
* | ||
* This program is free software: you can redistribute it and/or modify it | ||
* under the terms of the GNU Affero General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License | ||
* for more details. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see https://opensource.org/licenses/AGPL-3.0. | ||
* | ||
*/ | ||
|
||
/* | ||
* This file houses all the preferences used across Phoenix. | ||
* | ||
* To use: | ||
* ``` | ||
* const AllPreferences = brackets.getModule("preferences/AllPreferences"); | ||
* function preferenceChanged() { | ||
enabled = PreferencesManager.get(AllPreferences.EMMET); | ||
} | ||
* PreferencesManager.on("change", AllPreferences.EMMET, preferenceChanged); | ||
preferenceChanged(); | ||
* ``` | ||
*/ | ||
|
||
define(function (require, exports, module) { | ||
const PreferencesManager = require("preferences/PreferencesManager"); | ||
const Strings = require("strings"); | ||
|
||
// list of all the preferences | ||
const PREFERENCES_LIST = { | ||
EMMET: "emmet" | ||
}; | ||
|
||
PreferencesManager.definePreference(PREFERENCES_LIST.EMMET, "boolean", true, { | ||
description: Strings.DESCRIPTION_EMMET | ||
}); | ||
|
||
module.exports = PREFERENCES_LIST; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters