mirror of
https://github.com/Mibew/mibew-operator-status-plugin.git
synced 2025-04-12 06:50:13 +03:00
Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
7ebb2f84ad | |||
0aa7e62a6e | |||
47f91842e4 | |||
4a0a561c0a | |||
13b30db232 | |||
84c94f427a |
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,6 @@
|
|||||||
# Do not index node.js modules that are used for building
|
# Do not index node.js modules that are used for building
|
||||||
node_modules
|
node_modules
|
||||||
|
package-lock.json
|
||||||
|
|
||||||
# Do not index releases
|
# Do not index releases
|
||||||
release
|
release
|
@ -1,7 +1,7 @@
|
|||||||
# Mibew Operator Status plugin
|
# Mibew Operator Status plugin
|
||||||
Plugin for Mibew, get statement based on the availability of operators.
|
Plugin for Mibew, get statement based on the availability of operators.
|
||||||
|
|
||||||
# Useage
|
# Usage
|
||||||
|
|
||||||
1. Get any operators online status:
|
1. Get any operators online status:
|
||||||
|
|
||||||
@ -20,7 +20,7 @@ Plugin for Mibew, get statement based on the availability of operators.
|
|||||||
|
|
||||||
4. Use callback parameter:
|
4. Use callback parameter:
|
||||||
|
|
||||||
Just inset `<script>` tag and set `src` to URL above and add `callback` parameter
|
Just insert `<script>` tag and set `src` to URL above and add `callback` parameter
|
||||||
|
|
||||||
* `<MIBEW-BASE-URL>/opstatus?callback=<CALLBACK_FUNCTION>`
|
* `<MIBEW-BASE-URL>/opstatus?callback=<CALLBACK_FUNCTION>`
|
||||||
* `<MIBEW-BASE-URL>/opstatus/<OPERATOR-CODE>?callback=<CALLBACK_FUNCTION>`
|
* `<MIBEW-BASE-URL>/opstatus/<OPERATOR-CODE>?callback=<CALLBACK_FUNCTION>`
|
||||||
|
@ -21,9 +21,7 @@ gulp.task('prepare-release', function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Builds and packs plugins sources
|
// Builds and packs plugins sources
|
||||||
gulp.task('default', ['prepare-release'], function() {
|
gulp.task('default', gulp.series('prepare-release'));
|
||||||
// The "default" task is just an alias for "prepare-release" task.
|
|
||||||
});
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns files stream with the plugin sources.
|
* Returns files stream with the plugin sources.
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"version": "0.4.0",
|
"version": "0.4.0",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"event-stream": "~3.3.1",
|
"event-stream": "3.3.4",
|
||||||
"gulp": "^3.9.1",
|
"gulp": "^4.0.0",
|
||||||
"gulp-chmod": "~1.2.0",
|
"gulp-chmod": "~3.0.0",
|
||||||
"gulp-gzip": "~1.1.0",
|
"gulp-gzip": "~1.1.0",
|
||||||
"gulp-rename": "~1.2.2",
|
"gulp-rename": "~1.2.2",
|
||||||
"gulp-tar": "~1.4.0",
|
"gulp-tar": "~3.1.0",
|
||||||
"gulp-zip": "~3.0.2"
|
"gulp-zip": "~3.0.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user