Skip to content

Commit

Permalink
Bump version to 2.1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgindi committed Mar 30, 2016
1 parent c29da9f commit f464acd
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 9 deletions.
5 changes: 5 additions & 0 deletions README.md
Expand Up @@ -278,6 +278,11 @@ $(window).on("backstretch.after", function (e, instance, index) {

## Changelog

### Version 2.1.13

* Bugfix: Native video source tags were misspelled
* Bugfix: Youtube matching regex was not constrained to `youtube.com`/`youtu.be` domain

### Version 2.1.12

* New: Added `'fade_in_out'` transition
Expand Down
2 changes: 1 addition & 1 deletion bower.json
@@ -1,7 +1,7 @@
{
"name": "jquery-backstretch-2",
"description": "An updated version of: A simple jQuery plugin that allows you to add a dynamically-resized, slideshow-capable background image to any page or element.",
"version": "2.1.12",
"version": "2.1.13",
"homepage": "http://srobbin.com/jquery-plugins/backstretch/",
"author": {
"name": "Scott Robbin",
Expand Down
4 changes: 2 additions & 2 deletions jquery.backstretch.js
Expand Up @@ -10,7 +10,7 @@
'use strict';

/** @const */
var YOUTUBE_REGEXP = /^.*(youtu\.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/i;
var YOUTUBE_REGEXP = /^.*(youtu\.be\/|youtube\.com\/v\/|youtube\.com\/embed\/|youtube\.com\/watch\?v=|youtube\.com\/watch\?.*\&v=)([^#\&\?]*).*/i;

/* PLUGIN DEFINITION
* ========================= */
Expand Down Expand Up @@ -1169,7 +1169,7 @@
if (typeof(sourceItem) === 'string') {
sourceItem = { src: sourceItem };
}
$('<src>')
$('<source>')
.attr('src', sourceItem.src)
// Make sure to not specify type if unknown -
// so the browser will try to autodetect.
Expand Down
2 changes: 1 addition & 1 deletion jquery.backstretch.min.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions package.json
Expand Up @@ -2,7 +2,7 @@
"name": "jquery.backstretch",
"title": "Backstretch",
"description": "A simple jQuery plugin that allows you to add a dynamically-resized, slideshow-capable background image to any page or element.",
"version": "2.1.12",
"version": "2.1.13",
"main": "jquery.backstretch.js",
"author": {
"name": "Scott Robbin",
Expand Down Expand Up @@ -30,11 +30,11 @@
},
"devDependencies": {
"grunt": "0.4.*",
"grunt-contrib-qunit": "0.7.*",
"grunt-contrib-qunit": "1.1.*",
"grunt-contrib-jshint": "0.11.*",
"grunt-contrib-concat": "0.5.*",
"grunt-contrib-uglify": "0.9.*",
"grunt-contrib-watch": "0.6.*"
"grunt-contrib-concat": "1.0.*",
"grunt-contrib-uglify": "1.0.*",
"grunt-contrib-watch": "1.0.*"
},
"keywords": []
}

0 comments on commit f464acd

Please sign in to comment.