From b5bbf352a3feab7b1d74725c06f495fab2dc7ec6 Mon Sep 17 00:00:00 2001 From: dmitry Date: Thu, 3 Sep 2020 13:31:44 +0200 Subject: [PATCH] =?UTF-8?q?chore:=20release=202.6.0=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 5 +++++ README.md | 10 ++-------- build/js-cloudimage-360-view.min.js | 6 +++--- examples/src/index.html | 2 +- package.json | 2 +- 5 files changed, 12 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5272b55..1fec6c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,11 @@ Types of changes: ------------- +## 2.6.0 - 2020-09-03 + +### Feat +- add ability to specify custom 360 view logo + ## 2.5.0 - 2020-07-05 ### Feat diff --git a/README.md b/README.md index 4e0452e..9f2ee0b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Release](https://img.shields.io/badge/release-v2.5.0-blue.svg)](https://github.com/scaleflex/js-cloudimage-360-view/releases) +[![Release](https://img.shields.io/badge/release-v2.6.0-blue.svg)](https://github.com/scaleflex/js-cloudimage-360-view/releases) [![Contributions welcome](https://img.shields.io/badge/contributions-welcome-orange.svg)](#contributing) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT) [![Scaleflex team](https://img.shields.io/badge/%3C%2F%3E%20with%20%E2%99%A5%20by-the%20Scaleflex%20team-6986fa.svg)](https://www.scaleflex.it/en/home) @@ -68,13 +68,7 @@ To see the Cloudimage 360 view plugin in action, please check out the Add script tag with CDN link to js-cloudimage-360-view lib after all content in body tag ```javascript - -``` - -You may also use major version number instead of fixed version to have the latest version available. - -```javascript - + ``` ## Step 2: Initialize diff --git a/build/js-cloudimage-360-view.min.js b/build/js-cloudimage-360-view.min.js index 4eb45d4..fa5b81e 100644 --- a/build/js-cloudimage-360-view.min.js +++ b/build/js-cloudimage-360-view.min.js @@ -1,11 +1,11 @@ /*! * - * js-cloudimage-360-view v2.5.0 + * js-cloudimage-360-view v2.6.0 * https://github.com/scaleflex/js-cloudimage-360-view * * Copyright (c) 2019 scaleflex * Released under the MIT license * - * Date: 2020-08-05T08:57:22.296Z + * Date: 2020-09-03T11:26:04.718Z * - */!function(e){var t={};function i(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)i.d(n,o,function(t){return e[t]}.bind(null,o));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=33)}([function(e,t){e.exports="object"==typeof window&&window&&window.Math==Math?window:"object"==typeof self&&self&&self.Math==Math?self:Function("return this")()},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,i){var n=i(10),o=i(26);e.exports=i(4)?function(e,t,i){return n.f(e,t,o(1,i))}:function(e,t,i){return e[t]=i,e}},function(e,t,i){e.exports=!i(1)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t){var i={}.hasOwnProperty;e.exports=function(e,t){return i.call(e,t)}},function(e,t,i){var n=i(0),o=i(9),s=n["__core-js_shared__"]||o("__core-js_shared__",{});(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.0.0",mode:i(42)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t,i){var n=i(2);e.exports=function(e){if(!n(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,i){var n=i(6)("wks"),o=i(27),s=i(0).Symbol,r=i(43);e.exports=function(e){return n[e]||(n[e]=r&&s[e]||(r?s:o)("Symbol."+e))}},function(e,t,i){var n=i(0),o=i(3);e.exports=function(e,t){try{o(n,e,t)}catch(i){n[e]=t}return t}},function(e,t,i){var n=i(4),o=i(23),s=i(7),r=i(25),a=Object.defineProperty;t.f=n?a:function(e,t,i){if(s(e),t=r(t,!0),s(i),o)try{return a(e,t,i)}catch(e){}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(e[t]=i.value),e}},function(e,t,i){var n=i(0),o=i(28).f,s=i(3),r=i(46),a=i(9),c=i(49),l=i(54);e.exports=function(e,t){var i,u,h,d,f,v=e.target,p=e.global,y=e.stat;if(i=p?n:y?n[v]||a(v,{}):(n[v]||{}).prototype)for(u in t){if(d=t[u],h=e.noTargetGet?(f=o(i,u))&&f.value:i[u],!l(p?u:v+(y?".":"#")+u,e.forced)&&void 0!==h){if(typeof d==typeof h)continue;c(d,h)}(e.sham||h&&h.sham)&&s(d,"sham",!0),r(i,u,d,e)}}},function(e,t,i){var n=i(18),o=i(20);e.exports=function(e){return n(o(e))}},function(e,t){e.exports={}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,i){var n=i(0),o=i(17),s=Function.call;e.exports=function(e,t,i){return o(s,n[e].prototype[t],i)}},function(e,t,i){var n=i(17),o=i(18),s=i(39),r=i(21),a=i(40);e.exports=function(e,t){var i=1==e,c=2==e,l=3==e,u=4==e,h=6==e,d=5==e||h,f=t||a;return function(t,a,v){for(var p,y,g=s(t),m=o(g),w=n(a,v,3),x=r(m.length),b=0,I=i?f(t,x):c?f(t,0):void 0;x>b;b++)if((d||b in m)&&(y=w(p=m[b],b,g),e))if(i)I[b]=y;else if(y)switch(e){case 3:return!0;case 5:return p;case 6:return b;case 2:I.push(p)}else if(u)return!1;return h?-1:l||u?u:I}}},function(e,t,i){var n=i(38);e.exports=function(e,t,i){if(n(e),void 0===t)return e;switch(i){case 0:return function(){return e.call(t)};case 1:return function(i){return e.call(t,i)};case 2:return function(i,n){return e.call(t,i,n)};case 3:return function(i,n,o){return e.call(t,i,n,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,i){var n=i(1),o=i(19),s="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?s.call(e,""):Object(e)}:Object},function(e,t){var i={}.toString;e.exports=function(e){return i.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,i){var n=i(22),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},function(e,t){var i=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:i)(e)}},function(e,t,i){e.exports=!i(4)&&!i(1)((function(){return 7!=Object.defineProperty(i(24)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,i){var n=i(2),o=i(0).document,s=n(o)&&n(o.createElement);e.exports=function(e){return s?o.createElement(e):{}}},function(e,t,i){var n=i(2);e.exports=function(e,t){if(!n(e))return e;var i,o;if(t&&"function"==typeof(i=e.toString)&&!n(o=i.call(e)))return o;if("function"==typeof(i=e.valueOf)&&!n(o=i.call(e)))return o;if(!t&&"function"==typeof(i=e.toString)&&!n(o=i.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var i=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++i+n).toString(36))}},function(e,t,i){var n=i(4),o=i(45),s=i(26),r=i(12),a=i(25),c=i(5),l=i(23),u=Object.getOwnPropertyDescriptor;t.f=n?u:function(e,t){if(e=r(e),t=a(t,!0),l)try{return u(e,t)}catch(e){}if(c(e,t))return s(!o.f.call(e,t),e[t])}},function(e,t,i){e.exports=i(6)("native-function-to-string",Function.toString)},function(e,t,i){var n=i(6)("keys"),o=i(27);e.exports=function(e){return n[e]||(n[e]=o(e))}},function(e,t,i){var n=i(5),o=i(12),s=i(32)(!1),r=i(13);e.exports=function(e,t){var i,a=o(e),c=0,l=[];for(i in a)!n(r,i)&&n(a,i)&&l.push(i);for(;t.length>c;)n(a,i=t[c++])&&(~s(l,i)||l.push(i));return l}},function(e,t,i){var n=i(12),o=i(21),s=i(52);e.exports=function(e){return function(t,i,r){var a,c=n(t),l=o(c.length),u=s(r,l);if(e&&i!=i){for(;l>u;)if((a=c[u++])!=a)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===i)return e||u||0;return!e&&-1}}},function(e,t,i){"use strict";i(34),i(55),i(59);var n,o=i(67),s=(n=o)&&n.__esModule?n:{default:n};function r(){var e=[],t=document.querySelectorAll(".cloudimage-360:not(.initialized)");[].slice.call(t).forEach((function(t){e.push(new s.default(t))})),window.CI360._viewers=e}function a(){return!(window.CI360._viewers&&window.CI360._viewers.length>0)}window.CI360=window.CI360||{},window.CI360.init=r,window.CI360.destroy=function(){a()||(window.CI360._viewers.forEach((function(e){e.destroy()})),window.CI360._viewers=[])},window.CI360.getActiveIndexByID=function(e){if(!a()){var t=window.CI360._viewers.filter((function(t){return t.id===e}))[0];return t&&t.activeImage-1}},window.CI360.notInitOnLoad||r()},function(e,t,i){e.exports=i(35)},function(e,t,i){i(36),e.exports=i(15)("Array","forEach")},function(e,t,i){"use strict";var n=i(37);i(11)({target:"Array",proto:!0,forced:[].forEach!=n},{forEach:n})},function(e,t,i){"use strict";var n=[].forEach,o=i(16)(0),s=i(44)("forEach");e.exports=s?function(e){return o(this,e,arguments[1])}:n},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,i){var n=i(20);e.exports=function(e){return Object(n(e))}},function(e,t,i){var n=i(2),o=i(41),s=i(8)("species");e.exports=function(e,t){var i;return o(e)&&("function"!=typeof(i=e.constructor)||i!==Array&&!o(i.prototype)?n(i)&&null===(i=i[s])&&(i=void 0):i=void 0),new(void 0===i?Array:i)(0===t?0:t)}},function(e,t,i){var n=i(19);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t){e.exports=!1},function(e,t,i){e.exports=!i(1)((function(){String(Symbol())}))},function(e,t,i){"use strict";var n=i(1);e.exports=function(e,t){var i=[][e];return!i||!n((function(){i.call(null,t||function(){throw Error()},1)}))}},function(e,t,i){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,s=o&&!n.call({1:2},1);t.f=s?function(e){var t=o(this,e);return!!t&&t.enumerable}:n},function(e,t,i){var n=i(0),o=i(3),s=i(5),r=i(9),a=i(29),c=i(47),l=c.get,u=c.enforce,h=String(a).split("toString");i(6)("inspectSource",(function(e){return a.call(e)})),(e.exports=function(e,t,i,a){var c=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,d=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof t||s(i,"name")||o(i,"name",t),u(i).source=h.join("string"==typeof t?t:"")),e!==n?(c?!d&&e[t]&&(l=!0):delete e[t],l?e[t]=i:o(e,t,i)):l?e[t]=i:r(t,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||a.call(this)}))},function(e,t,i){var n,o,s,r=i(48),a=i(2),c=i(3),l=i(5),u=i(30),h=i(13),d=i(0).WeakMap;if(r){var f=new d,v=f.get,p=f.has,y=f.set;n=function(e,t){return y.call(f,e,t),t},o=function(e){return v.call(f,e)||{}},s=function(e){return p.call(f,e)}}else{var g=u("state");h[g]=!0,n=function(e,t){return c(e,g,t),t},o=function(e){return l(e,g)?e[g]:{}},s=function(e){return l(e,g)}}e.exports={set:n,get:o,has:s,enforce:function(e){return s(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var i;if(!a(t)||(i=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return i}}}},function(e,t,i){var n=i(29),o=i(0).WeakMap;e.exports="function"==typeof o&&/native code/.test(n.call(o))},function(e,t,i){var n=i(5),o=i(50),s=i(28),r=i(10);e.exports=function(e,t){for(var i=o(t),a=r.f,c=s.f,l=0;l1?arguments[1]:void 0)}}),i(62)("includes")},function(e,t,i){var n=i(8)("unscopables"),o=i(63),s=i(3),r=Array.prototype;null==r[n]&&s(r,n,o(null)),e.exports=function(e){r[n][e]=!0}},function(e,t,i){var n=i(7),o=i(64),s=i(14),r=i(66),a=i(24),c=i(30)("IE_PROTO"),l=function(){},u=function(){var e,t=a("iframe"),i=s.length;for(t.style.display="none",r.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write("