-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Oleksandr Bardanov
committed
Aug 15, 2014
1 parent
007b14b
commit 199146f
Showing
6 changed files
with
25 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
"title": "Documents Toolbar", | ||
"description": "Adds toolbar with a list of open documents on the top of the editor.", | ||
"homepage": "https://github.com/dnbard/brackets-documents-toolbar", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"author": "Alex Bardanov <[email protected]>", | ||
"license": "MIT", | ||
"engines": { | ||
|
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,15 @@ | ||
var PreferencesManager = require('preferences/PreferencesManager'); | ||
|
||
define(function(require, exports){ | ||
var prefs = PreferencesManager.getExtensionPrefs('dnbard.documents-toolbar'); | ||
|
||
exports.init = function(){ | ||
if (prefs.get('icons') === undefined){ | ||
prefs.set('icons', true); | ||
} | ||
} | ||
|
||
exports.get = function(id){ | ||
return prefs.get(id); | ||
} | ||
}); |
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