mirror of
https://github.com/Mibew/title-notification-plugin.git
synced 2025-04-08 05:30:12 +03:00
Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
9c13afa271 | |||
7d08ec1e82 | |||
2535ca2e3c | |||
654311f280 | |||
585438a2f5 | |||
c6de6fd33e | |||
c391541d5d |
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,6 @@
|
||||
# Do not index node.js modules that are used for building
|
||||
node_modules
|
||||
package-lock.json
|
||||
|
||||
# Do not index bower components
|
||||
vendor
|
||||
|
@ -107,7 +107,7 @@ class Plugin extends \Mibew\Plugin\AbstractPlugin implements \Mibew\Plugin\Plugi
|
||||
$need_chat_plugin = $this->needChatPlugin($args['request']);
|
||||
|
||||
if ($need_users_plugin || $need_chat_plugin) {
|
||||
$base_path = $this->getFilesPath();
|
||||
$base_path = str_replace(DIRECTORY_SEPARATOR, '/', $this->getFilesPath());
|
||||
$args['js'][] = $base_path . '/vendor/jquery-titlealert/jquery.titlealert.js';
|
||||
|
||||
if ($need_users_plugin) {
|
||||
@ -125,7 +125,7 @@ class Plugin extends \Mibew\Plugin\AbstractPlugin implements \Mibew\Plugin\Plugi
|
||||
*/
|
||||
public static function getVersion()
|
||||
{
|
||||
return '1.0.0';
|
||||
return '1.0.1';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -5,7 +5,7 @@ It provides notification about new messages and new threads in window title.
|
||||
|
||||
## Installation
|
||||
|
||||
1. Get the archive with the plugin sources. At the moment the only option is to build the plugin from sources.
|
||||
1. Get the archive with the plugin sources. You can download it from the [official site](https://mibew.org/plugins#mibew-title-notification) or build the plugin from sources.
|
||||
|
||||
2. Untar/unzip the plugin's archive.
|
||||
|
||||
|
@ -18,7 +18,7 @@ gulp.task('bower', function(callback) {
|
||||
});
|
||||
});
|
||||
|
||||
gulp.task('prepare-release', ['bower'], function() {
|
||||
gulp.task('prepare-release', gulp.series('bower', function() {
|
||||
var version = require('./package.json').version;
|
||||
|
||||
return eventStream.merge(
|
||||
@ -30,12 +30,10 @@ gulp.task('prepare-release', ['bower'], function() {
|
||||
)
|
||||
.pipe(chmod(0644))
|
||||
.pipe(gulp.dest('release'));
|
||||
});
|
||||
}));
|
||||
|
||||
// Builds and packs plugins sources
|
||||
gulp.task('default', ['prepare-release'], function() {
|
||||
// The "default" task is just an alias for "prepare-release" task.
|
||||
});
|
||||
gulp.task('default', gulp.series('prepare-release'));
|
||||
|
||||
/**
|
||||
* Returns files stream with the plugin sources.
|
||||
|
12
package.json
12
package.json
@ -1,13 +1,13 @@
|
||||
{
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"devDependencies": {
|
||||
"bower": "~1.3.12",
|
||||
"gulp": "~3.8.10",
|
||||
"bower": "~1.8.8",
|
||||
"gulp": "~4.0.0",
|
||||
"event-stream": "~3.1.7",
|
||||
"gulp-zip": "~2.0.2",
|
||||
"gulp-tar": "~1.3.1",
|
||||
"gulp-tar": "~3.1.0",
|
||||
"gulp-gzip": "~0.0.8",
|
||||
"gulp-chmod": "~1.2.0",
|
||||
"gulp-chmod": "~3.0.0",
|
||||
"gulp-rename": "~1.2.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user