Compare commits

..

No commits in common. "master" and "1.41.0" have entirely different histories.

9 changed files with 9 additions and 25 deletions

View file

@ -1,5 +1,5 @@
var vendorCopy = [
'jquery/dist/jquery.min.js',
'jquery/jquery.min.js',
'fancybox/source/jquery.fancybox.pack.js',
'fancybox/source/helpers/jquery.fancybox-media.js',

View file

@ -55,9 +55,3 @@ npm run lint
```
grunt bump
```
Запустить сборку расширения браузером:
```
/bin/bash pack_chromium.sh /usr/bin/chromium /path/to/repository/chrome_point_plus /path/to/private/key.pem
```

View file

@ -1,6 +1,6 @@
{
"name": "chrome-point-plus",
"version": "1.42.1",
"version": "1.41.0",
"authors": [
"Alexey Skobkin"
],
@ -14,7 +14,7 @@
"chrome_point_plus/vendors/**"
],
"dependencies": {
"jquery": "~3",
"jquery": "~1.10.1",
"fancybox": "~2.1.5",
"markitup": "~1.1.14",
"soundcloud": "git@github.com:soundcloud/Widget-JS-API.git"

View file

@ -734,7 +734,7 @@ function create_comment_elements(commentData, onCommentCreated) {
* @param {?object} $span jQuery object of 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') {
$span = $('#pp-unread-count');

View file

@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Point+",
"version": "1.42.1",
"version": "1.41.0",
"default_locale": "ru",
"author": "__MSG_ext_author__",
"homepage_url": "https://bitbucket.org/skobkin/chrome_point_plus",
@ -27,7 +27,7 @@
{
"matches": ["http://*.point.im/*", "https://*.point.im/*"],
"js": [
"vendor/jquery/dist/jquery.min.js",
"vendor/jquery/jquery.min.js",
"js/options-manager.js",
"js/message-sender.js",

View file

@ -11,10 +11,10 @@ function Booru($links, options) {
}
/**
* Base URL of gelbooru picture API (@NokitaKaze)
* Откуда тянуть картинки
* @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 */
Booru.services = {

View file

@ -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"

View file

@ -1,2 +0,0 @@
#!/usr/bin/env bash
zip -9 -r chrome_point_plus.zip chrome_point_plus

View file

@ -1,6 +1,6 @@
{
"name": "chrome-point-plus",
"version": "1.42.1",
"version": "1.41.0",
"description": "Chrome extension for point.im",
"main": "index.js",
"scripts": {