@contently/videojs-annotation-comments
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "@contently/videojs-annotation-comments", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "A plugin for video.js to add support for timeline moment/range comments and annotations", | ||
@@ -13,4 +13,6 @@ "repository": "git@github.com:contently/videojs-annotation-comments.git", | ||
"test": "gulp test", | ||
"integration": "echo open in chrome: http://localhost:3004/mocha/features/index.html", | ||
"watch": "gulp watch", | ||
"build": "gulp build" | ||
"build": "gulp build", | ||
"lint": "eslint ./src" | ||
}, | ||
@@ -24,2 +26,4 @@ "author": "Evan Carothers (@ecaroth) & Jack Pope (@jackpope)", | ||
"babel-core": "^6.26.3", | ||
"babel-eslint": "^10.0.3", | ||
"babel-plugin-transform-object-rest-spread": "^6.26.0", | ||
"babel-plugin-transform-es2015-modules-simple-commonjs": "^0.3.0", | ||
@@ -32,2 +36,7 @@ "babel-preset-es2015": "^6.24.1", | ||
"es6-object-assign": "^1.1.0", | ||
"eslint": "^6.8.0", | ||
"eslint-config-airbnb-base": "^14.0.0", | ||
"eslint-config-prettier": "^6.9.0", | ||
"eslint-plugin-import": "^2.19.1", | ||
"eslint-plugin-prettier": "^3.1.2", | ||
"gulp": "^3.9.1", | ||
@@ -43,3 +52,2 @@ "gulp-autoprefixer": "^4.1.0", | ||
"gulp-insert": "^0.5.0", | ||
"gulp-jshint": "^2.1.0", | ||
"gulp-mocha": "^4.3.1", | ||
@@ -57,6 +65,5 @@ "gulp-rename": "^1.4.0", | ||
"ie-array-find-polyfill": "^1.1.0", | ||
"jshint": "^2.9.6", | ||
"jshint-stylish": "~2.0.1", | ||
"mocha": "^6.2.0", | ||
"moment": "^2.24.0", | ||
"prettier": "^1.19.1", | ||
"pump": "^1.0.3", | ||
@@ -63,0 +70,0 @@ "semantic-release": "^15.13.21", |
@@ -125,3 +125,3 @@ [![CircleCI](https://circleci.com/gh/contently/videojs-annotation-comments/tree/master.svg?style=svg)](https://circleci.com/gh/contently/videojs-annotation-comments/tree/master) | ||
```javascript | ||
plugin.registerListenerReady(() => { | ||
plugin.onReady(() => { | ||
// do stuff with the plugin, such as fire events or setup listeners | ||
@@ -163,3 +163,3 @@ }); | ||
// toggleAnnotationMode : toggle annotation mode to alternative on/off value | ||
plugin.fire('toggleAnnotations'); | ||
plugin.fire('toggleAnnotationMode'); | ||
``` | ||
@@ -166,0 +166,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
9
2405063
49
14658