From fbd185761ebc2b337e2b75b8be854dfa12124836 Mon Sep 17 00:00:00 2001 From: Richard Szakacs Date: Tue, 17 Jan 2017 06:03:41 +0100 Subject: [PATCH] Release v1.0.1 --- dist/load-svg-file.amd.js | 2 +- dist/load-svg-file.amd.min.js | 2 +- dist/load-svg-file.commonjs.js | 2 +- dist/load-svg-file.es6.js | 2 +- dist/load-svg-file.js | 2 +- dist/load-svg-file.min.js | 2 +- dist/load-svg-file.umd.js | 2 +- dist/load-svg-file.umd.min.js | 2 +- package.json | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/dist/load-svg-file.amd.js b/dist/load-svg-file.amd.js index dcb1ffe..1a55f5f 100644 --- a/dist/load-svg-file.amd.js +++ b/dist/load-svg-file.amd.js @@ -1,6 +1,6 @@ /** * @file Load SVG files over XHR and embed the SVG content into the DOM. - * @version 1.0.0 + * @version 1.0.1 * @copyright Richard Szakacs, richardszkcs@gmail.com, www.richardszkcs.com * @license MIT */ diff --git a/dist/load-svg-file.amd.min.js b/dist/load-svg-file.amd.min.js index 9b8ba1e..7e8cb0a 100644 --- a/dist/load-svg-file.amd.min.js +++ b/dist/load-svg-file.amd.min.js @@ -1,2 +1,2 @@ -/*! load-svg-file v1.0.0 | (c) MIT @ Richard Szakacs, richardszkcs@gmail.com, www.richardszkcs.com */ +/*! load-svg-file v1.0.1 | (c) MIT @ Richard Szakacs, richardszkcs@gmail.com, www.richardszkcs.com */ "use strict";define(function(){return function(o,e,r){var n=typeof o;if(!o||"string"!==n)throw n="string"!==n?n:"empty "+n,new Error('The url must be a non-empty string, got: "'+n+'".');o.lastIndexOf(".svg")!==o.length-4&&(o+=".svg");var s=e||{};n=typeof e,e&&"object"===n?s=e:"function"===n&&(s={},r=e);var i=void 0,a=void 0,l=void 0;Promise&&(i=new Promise(function(e,n){a=e,l=n}));var d=new XMLHttpRequest;return d.onloadend=d.onerror=function(){if(200===d.status){var e=document.createElement("div");e.innerHTML=d.response;var n="string"==typeof s.class?s.class:"";0