diff --git a/bower.json b/bower.json index f29d7c8..9456c15 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "jsVideoUrlParser", - "version": "0.1.4", + "version": "0.1.5", "homepage": "https://github.com/Zod-/jsVideoUrlParser", "authors": [{ "name": "Julian Hangstörfer", diff --git a/dist/jsVideoUrlParser.js b/dist/jsVideoUrlParser.js index ab79abb..dec39af 100644 --- a/dist/jsVideoUrlParser.js +++ b/dist/jsVideoUrlParser.js @@ -49,7 +49,7 @@ URLParser.prototype.create = function (op) { }; var urlParser = new URLParser(); -if (typeof module !== undefined && module.exports) { +if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') { module.exports = urlParser; } diff --git a/dist/jsVideoUrlParser.min.js b/dist/jsVideoUrlParser.min.js index da71663..7491d25 100644 --- a/dist/jsVideoUrlParser.min.js +++ b/dist/jsVideoUrlParser.min.js @@ -1 +1 @@ -function URLParser(){"use strict";this.plugins={}}function cloneObject(a){"use strict";if(null===a||"object"!=typeof a)return a;var b=a.constructor();for(var c in a)b[c]=cloneObject(a[c]);return b}function getQueryParams(a){"use strict";if("string"!=typeof a)return{};a=a.split("+").join(" ");var b,c={},d=a.match(/(?:[\?](?:[^=]+)=(?:[^&#]*)(?:[&](?:[^=]+)=(?:[^&#]*))*(?:[#].*)?)|(?:[#].*)/);if(null===d)return{};b=d[0].substr(1).split(/[&#=]/);for(var e=0;e