mirror of
https://bitbucket.org/skobkin/chrome_point_plus.git
synced 2024-09-28 18:53:13 +00:00
Compare commits
No commits in common. "master" and "1.41.0" have entirely different histories.
|
@ -1,5 +1,5 @@
|
||||||
var vendorCopy = [
|
var vendorCopy = [
|
||||||
'jquery/dist/jquery.min.js',
|
'jquery/jquery.min.js',
|
||||||
|
|
||||||
'fancybox/source/jquery.fancybox.pack.js',
|
'fancybox/source/jquery.fancybox.pack.js',
|
||||||
'fancybox/source/helpers/jquery.fancybox-media.js',
|
'fancybox/source/helpers/jquery.fancybox-media.js',
|
||||||
|
|
|
@ -55,9 +55,3 @@ npm run lint
|
||||||
```
|
```
|
||||||
grunt bump
|
grunt bump
|
||||||
```
|
```
|
||||||
|
|
||||||
Запустить сборку расширения браузером:
|
|
||||||
|
|
||||||
```
|
|
||||||
/bin/bash pack_chromium.sh /usr/bin/chromium /path/to/repository/chrome_point_plus /path/to/private/key.pem
|
|
||||||
```
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "chrome-point-plus",
|
"name": "chrome-point-plus",
|
||||||
"version": "1.42.1",
|
"version": "1.41.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
"Alexey Skobkin"
|
"Alexey Skobkin"
|
||||||
],
|
],
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
"chrome_point_plus/vendors/**"
|
"chrome_point_plus/vendors/**"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"jquery": "~3",
|
"jquery": "~1.10.1",
|
||||||
"fancybox": "~2.1.5",
|
"fancybox": "~2.1.5",
|
||||||
"markitup": "~1.1.14",
|
"markitup": "~1.1.14",
|
||||||
"soundcloud": "git@github.com:soundcloud/Widget-JS-API.git"
|
"soundcloud": "git@github.com:soundcloud/Widget-JS-API.git"
|
||||||
|
|
|
@ -734,7 +734,7 @@ function create_comment_elements(commentData, onCommentCreated) {
|
||||||
* @param {?object} $span jQuery object of unread count <span>
|
* @param {?object} $span jQuery object of unread count <span>
|
||||||
*/
|
*/
|
||||||
function update_right_panel_unread_count($span) {
|
function update_right_panel_unread_count($span) {
|
||||||
var unread_count = $('#comments').find('div.post.unread').length;
|
var unread_count = $('#comments').children('div.post.unread').length;
|
||||||
|
|
||||||
if (typeof $span === 'undefined') {
|
if (typeof $span === 'undefined') {
|
||||||
$span = $('#pp-unread-count');
|
$span = $('#pp-unread-count');
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "Point+",
|
"name": "Point+",
|
||||||
"version": "1.42.1",
|
"version": "1.41.0",
|
||||||
"default_locale": "ru",
|
"default_locale": "ru",
|
||||||
"author": "__MSG_ext_author__",
|
"author": "__MSG_ext_author__",
|
||||||
"homepage_url": "https://bitbucket.org/skobkin/chrome_point_plus",
|
"homepage_url": "https://bitbucket.org/skobkin/chrome_point_plus",
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
{
|
{
|
||||||
"matches": ["http://*.point.im/*", "https://*.point.im/*"],
|
"matches": ["http://*.point.im/*", "https://*.point.im/*"],
|
||||||
"js": [
|
"js": [
|
||||||
"vendor/jquery/dist/jquery.min.js",
|
"vendor/jquery/jquery.min.js",
|
||||||
|
|
||||||
"js/options-manager.js",
|
"js/options-manager.js",
|
||||||
"js/message-sender.js",
|
"js/message-sender.js",
|
||||||
|
|
|
@ -11,10 +11,10 @@ function Booru($links, options) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Base URL of gelbooru picture API (@NokitaKaze)
|
* Откуда тянуть картинки
|
||||||
* @type {String}
|
* @type {String}
|
||||||
*/
|
*/
|
||||||
Booru.baseUrl = 'https://evidell.xyz/get_booru_picture.php';
|
Booru.baseUrl = 'https://api.kanaria.ru/point/get_booru_picture.php';
|
||||||
|
|
||||||
/* jshint maxlen:false */
|
/* jshint maxlen:false */
|
||||||
Booru.services = {
|
Booru.services = {
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
BROWSER_BINARY=$1
|
|
||||||
PATH_EXTENSION=$2
|
|
||||||
PATH_KEY=$3
|
|
||||||
|
|
||||||
echo "Packing extension using $BROWSER_BINARY and key from $PATH_KEY"
|
|
||||||
#echo "$BROWSER_BINARY --pack-extension=$PATH_EXTENSION --pack-extension-key=$PATH_KEY"
|
|
||||||
eval "$BROWSER_BINARY --pack-extension=$PATH_EXTENSION --pack-extension-key=$PATH_KEY"
|
|
|
@ -1,2 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
zip -9 -r chrome_point_plus.zip chrome_point_plus
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "chrome-point-plus",
|
"name": "chrome-point-plus",
|
||||||
"version": "1.42.1",
|
"version": "1.41.0",
|
||||||
"description": "Chrome extension for point.im",
|
"description": "Chrome extension for point.im",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
Loading…
Reference in a new issue