Skip to content

Commit

Permalink
v0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
richtr committed Nov 30, 2018
1 parent 53577da commit 1c28f05
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "nosleep",
"title": "NoSleep.js",
"version": "0.7.0",
"version": "0.8.0",
"description": "Prevent display sleep on all Android and iOS browsers",
"homepage": "https://github.com/richtr/NoSleep.js",
"authors": [
Expand Down
5 changes: 3 additions & 2 deletions dist/NoSleep.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! NoSleep.js v0.7.0 - git.io/vfn01 - Rich Tibbett - MIT license */
/*! NoSleep.js v0.8.0 - git.io/vfn01 - Rich Tibbett - MIT license */
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
Expand All @@ -8,7 +8,7 @@
exports["NoSleep"] = factory();
else
root["NoSleep"] = factory();
})(this, function() {
})(typeof self !== 'undefined' ? self : this, function() {
return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
Expand Down Expand Up @@ -100,6 +100,7 @@ var NoSleep = function () {
// Set up no sleep video element
this.noSleepVideo = document.createElement('video');

this.noSleepVideo.setAttribute('title', 'No Sleep');
this.noSleepVideo.setAttribute('playsinline', '');
this.noSleepVideo.setAttribute('src', mediaFile);

Expand Down
4 changes: 2 additions & 2 deletions dist/NoSleep.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nosleep.js",
"version": "0.7.0",
"version": "0.8.0",
"author": "Rich Tibbett",
"license": "MIT",
"description": "Prevent display sleep and enable wake lock in any Android or iOS web browser",
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ module.exports = {
minimize: true
}),
new webpack.BannerPlugin({
banner: `[name].js v0.7.0 - git.io/vfn01 - Rich Tibbett - MIT license`
banner: `[name].js v0.8.0 - git.io/vfn01 - Rich Tibbett - MIT license`
})
]
}

0 comments on commit 1c28f05

Please sign in to comment.