mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Adding a bunch of apps and extensions to Goodies.
This commit is contained in:
parent
7ad7f7300f
commit
cab2349f0b
7 changed files with 191 additions and 24 deletions
97
config/jslint.json
Normal file
97
config/jslint.json
Normal file
|
@ -0,0 +1,97 @@
|
|||
/*
|
||||
Options files live in your home directory or project repository, and can be
|
||||
written in JSON or YAML. They can be used not just by JSLintMate, but also by
|
||||
teammates' lint tools in other editors, continuous integration systems,
|
||||
automated testing systems, and more. This is great for helping your team use
|
||||
the same coding standards everywhere.
|
||||
|
||||
To use this file, save a copy as `~/.jslintrc`. JSLintMate reads JSLint
|
||||
options from this path by default, and detects whether it contains JSON or
|
||||
YAML. If you want to change this path:
|
||||
|
||||
1. Save a copy of this file where you'd like it. For example:
|
||||
|
||||
* If you want to keep a personal set of options, save it outside
|
||||
of your project's directory, e.g., `~/Documents/jslint.json`.
|
||||
* If you want to share an options file with project collaborators,
|
||||
save it in your project's directory, e.g., `config/jslint.json`.
|
||||
|
||||
2. In TextMate's "Bundles" menu, select "Bundle Editor" >
|
||||
"Show Bundle Editor" > "JavaScript JSLintMate" > "Options Files".
|
||||
|
||||
3. Change the value for `TM_JSLINTMATE_JSLINT_OPTIONS_FILE` to the path
|
||||
for your options file.
|
||||
|
||||
If your options file is within your project, the value should start
|
||||
with the variable `$TM_PROJECT_DIRECTORY`, e.g.,
|
||||
`$TM_PROJECT_DIRECTORY/config/jslint.json`.
|
||||
|
||||
4. Close the "Bundle Editor" window.
|
||||
|
||||
Tweak the options in your new options file, and you're done!
|
||||
|
||||
NOTE: Not all JSON parsers tolerate comments. If you use this options file with
|
||||
tools other than JSLintMate, you might need to remove these comments.
|
||||
|
||||
More info:
|
||||
- JSLint options: http://www.jslint.com/lint.html#options
|
||||
- JSLintMate: http://rondevera.github.com/jslintmate/
|
||||
*/
|
||||
|
||||
|
||||
{
|
||||
/*** Globals ***/
|
||||
// To ignore any custom global variables, enable the `predef` option and list
|
||||
// your variables within it.
|
||||
/*
|
||||
"predef": [
|
||||
"NEWSBLUR",
|
||||
"$"
|
||||
],
|
||||
*/
|
||||
|
||||
/*** Enforcing options ***/
|
||||
// Set these to `true` to enforce, or `false` to relax.
|
||||
"adsafe": false,
|
||||
"safe": false,
|
||||
|
||||
/*** Relaxing options ***/
|
||||
// Set these to `true` to relax, or `false` to enforce.
|
||||
"bitwise": false,
|
||||
"cap": false,
|
||||
"confusion": true,
|
||||
"continue": true,
|
||||
"css": true,
|
||||
"debug": false,
|
||||
"eqeq": false,
|
||||
"es5": true,
|
||||
"evil": false,
|
||||
"forin": false,
|
||||
"fragment": true,
|
||||
"newcap": false,
|
||||
"nomen": true,
|
||||
"on": false,
|
||||
"plusplus": true,
|
||||
"regexp": true,
|
||||
"sloppy": true,
|
||||
"sub": false,
|
||||
"undef": false,
|
||||
"unparam": false,
|
||||
"vars": true,
|
||||
"white": true,
|
||||
|
||||
/*** Environments ***/
|
||||
// Set each environment that you're using to `true`.
|
||||
"browser": true,
|
||||
"devel": false,
|
||||
"node": false,
|
||||
"rhino": false,
|
||||
"widget": false,
|
||||
"windows": false,
|
||||
|
||||
/*** Miscellaneous ***/
|
||||
"indent": 4,
|
||||
"maxerr": 50,
|
||||
// "maxlen": 80,
|
||||
"passfail": false
|
||||
}
|
|
@ -9211,6 +9211,38 @@ form.opml_import_form input {
|
|||
background: transparent url('/media/img/mobile/tafiti.png') no-repeat 0 0;
|
||||
background-size: 28px;
|
||||
}
|
||||
.NB-modal-goodies .NB-goodies-reeder-ios {
|
||||
float: right;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
margin: 0 6px 0 0;
|
||||
background: transparent url('/media/img/mobile/icon_reeder_ios.png') no-repeat 0 0;
|
||||
background-size: 28px;
|
||||
}
|
||||
.NB-modal-goodies .NB-goodies-reeder-mac {
|
||||
float: right;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
margin: 0 6px 0 0;
|
||||
background: transparent url('/media/img/mobile/icon_reeder_mac.png') no-repeat 0 0;
|
||||
background-size: 28px;
|
||||
}
|
||||
.NB-modal-goodies .NB-goodies-leaf {
|
||||
float: right;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
margin: 0 6px 0 0;
|
||||
background: transparent url('/media/img/mobile/icon_leaf.png') no-repeat 0 0;
|
||||
background-size: 28px;
|
||||
}
|
||||
.NB-modal-goodies .NB-goodies-unread-ios {
|
||||
float: right;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
margin: 0 6px 0 0;
|
||||
background: transparent url('/media/img/mobile/icon_unread.png') no-repeat 0 0;
|
||||
background-size: 28px;
|
||||
}
|
||||
.NB-modal-goodies .NB-goodies-bluree {
|
||||
float: right;
|
||||
width: 28px;
|
||||
|
|
BIN
media/img/mobile/icon_leaf.png
Normal file
BIN
media/img/mobile/icon_leaf.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 86 KiB |
BIN
media/img/mobile/icon_reeder_ios.png
Normal file
BIN
media/img/mobile/icon_reeder_ios.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.9 KiB |
BIN
media/img/mobile/icon_reeder_mac.png
Normal file
BIN
media/img/mobile/icon_reeder_mac.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
BIN
media/img/mobile/icon_unread.png
Normal file
BIN
media/img/mobile/icon_unread.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 79 KiB |
|
@ -55,6 +55,22 @@ _.extend(NEWSBLUR.ReaderGoodies.prototype, {
|
|||
$.make('div', { className: 'NB-goodies-android' }),
|
||||
$.make('div', { className: 'NB-goodies-title' }, 'Official NewsBlur Android App')
|
||||
]),
|
||||
$.make('div', { className: 'NB-goodies-group NB-modal-submit' }, [
|
||||
$.make('a', {
|
||||
className: 'NB-goodies-mobile-link NB-modal-submit-button NB-modal-submit-green',
|
||||
href: 'http://reederapp.com/ios'
|
||||
}, 'Download for iPhone and iPad'),
|
||||
$.make('div', { className: 'NB-goodies-reeder-ios' }),
|
||||
$.make('div', { className: 'NB-goodies-title' }, 'Reeder for iOS')
|
||||
]),
|
||||
$.make('div', { className: 'NB-goodies-group NB-modal-submit' }, [
|
||||
$.make('a', {
|
||||
className: 'NB-goodies-mobile-link NB-modal-submit-button NB-modal-submit-green',
|
||||
href: 'http://supertop.co/unread/'
|
||||
}, 'Download for iPhone and iPad'),
|
||||
$.make('div', { className: 'NB-goodies-unread-ios' }),
|
||||
$.make('div', { className: 'NB-goodies-title' }, 'Unread for iOS')
|
||||
]),
|
||||
$.make('div', { className: 'NB-goodies-group NB-modal-submit' }, [
|
||||
$.make('a', {
|
||||
className: 'NB-goodies-mobile-link NB-modal-submit-button NB-modal-submit-green',
|
||||
|
@ -130,6 +146,22 @@ _.extend(NEWSBLUR.ReaderGoodies.prototype, {
|
|||
$.make('div', { className: 'NB-goodies-readkit' }),
|
||||
$.make('div', { className: 'NB-goodies-title' }, 'ReadKit')
|
||||
]),
|
||||
$.make('div', { className: 'NB-goodies-group NB-modal-submit' }, [
|
||||
$.make('a', {
|
||||
className: 'NB-goodies-mobile-link NB-modal-submit-button NB-modal-submit-green',
|
||||
href: 'http://reederapp.com/mac'
|
||||
}, 'Download Reeder for Mac'),
|
||||
$.make('div', { className: 'NB-goodies-reeder-mac' }),
|
||||
$.make('div', { className: 'NB-goodies-title' }, 'Reeder for Mac')
|
||||
]),
|
||||
$.make('div', { className: 'NB-goodies-group NB-modal-submit' }, [
|
||||
$.make('a', {
|
||||
className: 'NB-goodies-mobile-link NB-modal-submit-button NB-modal-submit-green',
|
||||
href: 'https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CB8QFjAAahUKEwio9f6u_bDHAhXLOIgKHdRdAuY&url=https%3A%2F%2Fitunes.apple.com%2Fus%2Fapp%2Fleaf-rss-news-reader%2Fid576338668%3Fmt%3D12&ei=IUfSVejgIcvxoATUu4mwDg&usg=AFQjCNGAqtn9qxkLqh5LfjPUZ0QFKr1mLg&sig2=yreuovrI2rRrWvzUkB4ydw&bvm=bv.99804247,d.cGU'
|
||||
}, 'Download Leaf for Mac'),
|
||||
$.make('div', { className: 'NB-goodies-leaf' }),
|
||||
$.make('div', { className: 'NB-goodies-title' }, 'Leaf for Mac')
|
||||
]),
|
||||
$.make('div', { className: 'NB-goodies-group NB-modal-submit' }, [
|
||||
$.make('a', {
|
||||
className: 'NB-goodies-mobile-link NB-modal-submit-button NB-modal-submit-green',
|
||||
|
@ -157,6 +189,15 @@ _.extend(NEWSBLUR.ReaderGoodies.prototype, {
|
|||
$.make('div', { className: 'NB-goodies-firefox' }),
|
||||
$.make('div', { className: 'NB-goodies-title' }, 'Firefox: Register NewsBlur as an RSS reader')
|
||||
]),
|
||||
$.make('div', { className: 'NB-goodies-group NB-modal-submit' }, [
|
||||
$.make('a', {
|
||||
className: 'NB-modal-submit-button NB-modal-submit-green',
|
||||
href: 'https://addons.mozilla.org/en-US/firefox/addon/newsblurcom-notifier/'
|
||||
}, 'Download'),
|
||||
$.make('div', { className: 'NB-goodies-firefox' }),
|
||||
$.make('div', { className: 'NB-goodies-title' }, 'Firefox: NewsBlur Notifier'),
|
||||
$.make('div', { className: 'NB-goodies-subtitle' }, 'Shows a button with the number of unread articles.')
|
||||
]),
|
||||
$.make('div', { className: 'NB-goodies-group NB-modal-submit' }, [
|
||||
$.make('div', { className: 'NB-goodies-firefox' }),
|
||||
$.make('div', { className: 'NB-goodies-title' }, 'Firefox: Open links to background tab'),
|
||||
|
@ -175,14 +216,6 @@ _.extend(NEWSBLUR.ReaderGoodies.prototype, {
|
|||
])
|
||||
])
|
||||
]),
|
||||
$.make('div', { className: 'NB-goodies-group NB-modal-submit' }, [
|
||||
$.make('a', {
|
||||
className: 'NB-goodies-chrome-link NB-modal-submit-button NB-modal-submit-green',
|
||||
href: '#'
|
||||
}, 'Download'),
|
||||
$.make('div', { className: 'NB-goodies-chrome' }),
|
||||
$.make('div', { className: 'NB-goodies-title' }, 'Google Chrome: NewsBlur Chrome Web App')
|
||||
]),
|
||||
$.make('div', { className: 'NB-goodies-group NB-modal-submit' }, [
|
||||
$.make('a', {
|
||||
className: 'NB-modal-submit-button NB-modal-submit-green',
|
||||
|
@ -194,6 +227,24 @@ _.extend(NEWSBLUR.ReaderGoodies.prototype, {
|
|||
'To use this extension, use the custom add site URL below.'
|
||||
])
|
||||
]),
|
||||
$.make('div', { className: 'NB-goodies-group NB-modal-submit' }, [
|
||||
$.make('a', {
|
||||
className: 'NB-modal-submit-button NB-modal-submit-green',
|
||||
href: 'https://chrome.google.com/webstore/detail/rss-subscription-extensio/bmjffnfcokiodbeiamclanljnaheeoke'
|
||||
}, 'Download'),
|
||||
$.make('div', { className: 'NB-goodies-chrome' }),
|
||||
$.make('div', { className: 'NB-goodies-title' }, 'Google Chrome: NewsBlur Chrome Web App'),
|
||||
$.make('div', { className: 'NB-goodies-subtitle'}, 'Adds one-click subscription to your toolbar.')
|
||||
]),
|
||||
$.make('div', { className: 'NB-goodies-group NB-modal-submit' }, [
|
||||
$.make('a', {
|
||||
className: 'NB-modal-submit-button NB-modal-submit-green',
|
||||
href: 'https://chrome.google.com/webstore/detail/nnbhbdncokmmjheldobdfbmfpamelojh'
|
||||
}, 'Download'),
|
||||
$.make('div', { className: 'NB-goodies-chrome' }),
|
||||
$.make('div', { className: 'NB-goodies-title' }, 'Chrome: NewsBlur unread count notifier'),
|
||||
$.make('div', { className: 'NB-goodies-subtitle' }, 'Shows the unread count from your NewsBlur account.')
|
||||
]),
|
||||
$.make('div', { className: 'NB-goodies-group NB-modal-submit' }, [
|
||||
$.make('a', {
|
||||
className: 'NB-modal-submit-button NB-modal-submit-green',
|
||||
|
@ -237,18 +288,11 @@ _.extend(NEWSBLUR.ReaderGoodies.prototype, {
|
|||
$.make('div', { className: 'NB-goodies-group NB-modal-submit' }, [
|
||||
$.make('a', {
|
||||
className: 'NB-goodies-safari-notifier NB-modal-submit-button NB-modal-submit-green',
|
||||
href: 'https://menakite.eu/~anaconda/safari/NewsBlur-Counter/NewsBlur-Counter.safariextz'
|
||||
href: 'https://github.com/anaconda/NewsBlur-Counter'
|
||||
}, 'Download'),
|
||||
$.make('div', { className: 'NB-goodies-safari' }),
|
||||
$.make('div', { className: 'NB-goodies-title' }, 'Safari: NewsBlur unread count notifier')
|
||||
]),
|
||||
$.make('div', { className: 'NB-goodies-group NB-modal-submit' }, [
|
||||
$.make('a', {
|
||||
className: 'NB-goodies-chrome-link NB-modal-submit-button NB-modal-submit-green',
|
||||
href: 'https://chrome.google.com/webstore/detail/nnbhbdncokmmjheldobdfbmfpamelojh'
|
||||
}, 'Download'),
|
||||
$.make('div', { className: 'NB-goodies-chrome' }),
|
||||
$.make('div', { className: 'NB-goodies-title' }, 'Chrome: NewsBlur unread count notifier')
|
||||
$.make('div', { className: 'NB-goodies-title' }, 'Safari: NewsBlur unread count notifier'),
|
||||
$.make('div', { className: 'NB-goodies-subtitle' }, 'Safari extension to show on the toolbar how many unread stories are waiting for you on NewsBlur.')
|
||||
]),
|
||||
|
||||
$.make('fieldset', [
|
||||
|
@ -297,12 +341,6 @@ _.extend(NEWSBLUR.ReaderGoodies.prototype, {
|
|||
"NewsBlur");
|
||||
});
|
||||
|
||||
$.targetIs(e, { tagSelector: '.NB-goodies-chrome-link' }, function($t, $p) {
|
||||
e.preventDefault();
|
||||
|
||||
window.location.href = 'https://chrome.google.com/webstore/detail/rss-subscription-extensio/bmjffnfcokiodbeiamclanljnaheeoke';
|
||||
});
|
||||
|
||||
$.targetIs(e, { tagSelector: '.NB-goodies-custom-input' }, function($t, $p) {
|
||||
e.preventDefault();
|
||||
$t.select();
|
||||
|
|
Loading…
Add table
Reference in a new issue