videocontext
Advanced tools
Comparing version 0.52.4 to 0.52.5
@@ -0,1 +1,3 @@ | ||
#### 0.52.5 (2018-07-24) | ||
#### 0.52.3 (2018-07-20) | ||
@@ -2,0 +4,0 @@ |
{ | ||
"name": "videocontext", | ||
"version": "0.52.4", | ||
"version": "0.52.5", | ||
"description": "A WebGL & HTML5 graph based video composition library", | ||
@@ -42,3 +42,3 @@ "repository": { | ||
"release:patch": "npm run docs-commit && changelog -p && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version --new-version patch", | ||
"postversion": "git push origin --follow-tags" | ||
"postversion": "git push -u origin HEAD --follow-tags" | ||
}, | ||
@@ -45,0 +45,0 @@ "dependencies": { |
@@ -387,10 +387,48 @@ # VideoContext | ||
## Build | ||
## Development | ||
VideoContext has a pretty standard `package.json` | ||
Live reload development version | ||
``` | ||
# install build and development dependencies | ||
npm install | ||
# run a dev server with automatic reload | ||
npm run dev | ||
# watch unit and integration tests | ||
npm run test-watch | ||
# run regression tests in headless browser | ||
npm run test-regression | ||
``` | ||
### Gitflow | ||
VideoContext uses the gitflow branching model. | ||
To contribute raise a pull request against the `develop` branch. | ||
### Releases | ||
Releases are prepared in release branches. When the the release is ready run one of | ||
``` | ||
npm run release:major | ||
npm run release:minor | ||
npm run release:patch | ||
``` | ||
these scripts build and commit the docs, the changelog, update the `package.json` verson number | ||
and push to the current branch with tags. | ||
CI will publish to npm when the release branch has been merged into master. | ||
### CI | ||
VideoContext uses the BBCs public travis account to run all tests and publish to npmjs. | ||
All tests must pass before PRs can be merged. | ||
Other options | ||
@@ -397,0 +435,0 @@ ``` |
@@ -56,3 +56,3 @@ //Matthew Shotton, R&D User Experience,© BBC 2015 | ||
super._unload(); | ||
if (this._isResponsibleForElementLifeCycle) { | ||
if (this._isResponsibleForElementLifeCycle && this._element !== undefined) { | ||
this._element.src = ""; | ||
@@ -59,0 +59,0 @@ this._element.onerror = undefined; |
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
25352736
441