Changeset 2087821
- Timestamp:
- 05/14/2019 06:26:29 PM (7 years ago)
- Location:
- iflychat/trunk
- Files:
-
- 3 edited
-
iflychat.php (modified) (3 diffs)
-
js/iflychat.js (modified) (1 diff)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
iflychat/trunk/iflychat.php
r2085546 r2087821 2 2 /** 3 3 * @package iflychat 4 * @version 4.6. 24 * @version 4.6.3 5 5 */ 6 6 /* … … 9 9 Description: One on one chat, Multiple chatrooms, Embedded chatrooms 10 10 Author: iFlyChat Team 11 Version: 4.6. 211 Version: 4.6.3 12 12 Author URI: https://iflychat.com/ 13 13 */ … … 60 60 } 61 61 62 define('IFLYCHAT_PLUGIN_VERSION', 'WP-4.6. 2');62 define('IFLYCHAT_PLUGIN_VERSION', 'WP-4.6.3'); 63 63 if (!defined('IFLYCHAT_DEBUG')) { 64 64 define('IFLYCHAT_DEBUG', false); -
iflychat/trunk/js/iflychat.js
r2085546 r2087821 7 7 else if(iflychat_chatcamp_check === "1") { 8 8 iflychat_bundle.src = "//"+iflychat_external_cdn_host+"/2.x/js/chatcamp-ui.min.js"; 9 iflychat_bundle.async="async"; 10 document.body.appendChild(iflychat_bundle); 11 jQuery(document).ready(function($) { 12 var data = { 13 'action': 'iflychat-get' 14 }; 15 if(typeof iflychat_auth_url!=="undefined") { 16 jQuery.post(iflychat_auth_url, data, function(response) { 17 console.log("RE", response); 18 iflychat_load_cc_init({ 19 id: response.user.id, 20 accessToken: response.user.access_token // optional 21 }) 22 }); 23 } 24 else { 25 jQuery.getScript(iflychat_bundle.src, function(response) { 26 iflychat_load_cc_init({}); 27 }); 28 } 9 // iflychat_bundle.async="async"; 10 // document.body.appendChild(iflychat_bundle); 11 var iflyLazyLoad=function(k){function p(b,a){var g=k.createElement(b),c;for(c in a)a.hasOwnProperty(c)&&g.setAttribute(c,a[c]);return g}function l(b){var a=m[b],c,f;if(a)c=a.callback,f=a.urls,f.shift(),h=0,f.length||(c&&c.call(a.context,a.obj),m[b]=null,n[b].length&&j(b))}function w(){var b=navigator.userAgent;c={async:k.createElement("script").async===!0};(c.webkit=/AppleWebKit\//.test(b))||(c.ie=/MSIE/.test(b))||(c.opera=/Opera/.test(b))||(c.gecko=/Gecko\//.test(b))||(c.unknown=!0)}function j(b,a,g,f,h){var j=function(){l(b)},o=b==="css",q=[],d,i,e,r;c||w();if(a)if(a=typeof a==="string"?[a]:a.concat(),o||c.async||c.gecko||c.opera)n[b].push({urls:a,callback:g,obj:f,context:h});else{d=0;for(i=a.length;d<i;++d)n[b].push({urls:[a[d]],callback:d===i-1?g:null,obj:f,context:h})}if(!m[b]&&(r=m[b]=n[b].shift())){s||(s=k.head||k.getElementsByTagName("head")[0]);a=r.urls;d=0;for(i=a.length;d<i;++d)g=a[d],o?e=c.gecko?p("style"):p("link",{href:g,rel:"stylesheet"}):(e=p("script",{src:g}),e.async=!1),e.className="lazyload",e.setAttribute("charset","utf-8"),c.ie&&!o?e.onreadystatechange=function(){if(/loaded|complete/.test(e.readyState))e.onreadystatechange=null,j()}:o&&(c.gecko||c.webkit)?c.webkit?(r.urls[d]=e.href,t()):(e.innerHTML='@import "'+g+'";',u(e)):e.onload=e.onerror=j,q.push(e);d=0;for(i=q.length;d<i;++d)s.appendChild(q[d])}}function u(b){var a;try{a=!!b.sheet.cssRules}catch(c){h+=1;h<200?setTimeout(function(){u(b)},50):a&&l("css");return}l("css")}function t(){var b=m.css,a;if(b){for(a=v.length;--a>=0;)if(v[a].href===b.urls[0]){l("css");break}h+=1;b&&(h<200?setTimeout(t,50):l("css"))}}var c,s,m={},h=0,n={css:[],js:[]},v=k.styleSheets;return{css:function(b,a,c,f){j("css",b,a,c,f)},js:function(b,a,c,f){j("js",b,a,c,f)}}}(this.document); 12 iflyLazyLoad.js([iflychat_bundle.src], function() { 13 jQuery(document).ready(function($) { 14 var data = { 15 'action': 'iflychat-get' 16 }; 17 if(typeof iflychat_auth_url!=="undefined") { 18 jQuery.post(iflychat_auth_url, data, function(response) { 19 iflychat_load_cc_init({ 20 id: response.user.id, 21 accessToken: response.user.access_token // optional 22 }) 23 }); 24 } 25 else { 26 jQuery.getScript(iflychat_bundle.src, function(response) { 27 iflychat_load_cc_init({}); 28 }); 29 } 30 }); 29 31 }); 30 32 } -
iflychat/trunk/readme.txt
r2085546 r2087821 4 4 Requires at least: 3.0 5 5 Tested up to: 5.3 6 Stable tag: 4.6. 26 Stable tag: 4.6.3 7 7 Tags: buddypress, chat, chat room, community, embed chat, friends, group chat, html5 chat, one to one chat, live chat, popup chat, mobile chat, multisite, wordpress chat, wp chat, ultimate member 8 8 License: GPLv2 or later … … 138 138 == Changelog == 139 139 140 = 4.6.3 = 141 142 14/05/2019: Fix theme conflict. 143 140 144 = 4.6.2 = 141 145 … … 441 445 == Upgrade Notice == 442 446 447 = 4.6.3 = 448 After updating, go to iFlyChat Settings page and click on Update button. 449 443 450 = 4.6.2 = 444 451 After updating, go to iFlyChat Settings page and click on Update button. … … 465 472 After updating, go to iFlyChat Settings page and click on Update button. 466 473 467 = 4.2.5 = 468 After updating, go to iFlyChat Settings page and click on Update button. 469 470 474
Note: See TracChangeset
for help on using the changeset viewer.