diff --git a/dist/bundle.js b/dist/bundle.js index 7b7f085ac..66d463dda 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -17925,6 +17925,12 @@ _.extend(BI, { s["%Q"] = qr; var re = /%./g; + BI.isKhtml = BI.isKhtml || function () { + if(!_global.navigator) { + return false; + } + return /Konqueror|Safari|KHTML/i.test(navigator.userAgent); + }; if (!BI.isKhtml()) { return str.replace(re, function (par) { return s[par] || par; @@ -17948,7 +17954,7 @@ _.extend(BI, { * Created by GUY on 2015/6/24. */ BI.Func = {}; -BI.extend(BI.Func, { +_.extend(BI.Func, { /** * 创建唯一的名字 * @param array diff --git a/dist/core.js b/dist/core.js index 5460b8e12..bd489ba56 100644 --- a/dist/core.js +++ b/dist/core.js @@ -17925,6 +17925,12 @@ _.extend(BI, { s["%Q"] = qr; var re = /%./g; + BI.isKhtml = BI.isKhtml || function () { + if(!_global.navigator) { + return false; + } + return /Konqueror|Safari|KHTML/i.test(navigator.userAgent); + }; if (!BI.isKhtml()) { return str.replace(re, function (par) { return s[par] || par; @@ -17948,7 +17954,7 @@ _.extend(BI, { * Created by GUY on 2015/6/24. */ BI.Func = {}; -BI.extend(BI.Func, { +_.extend(BI.Func, { /** * 创建唯一的名字 * @param array diff --git a/dist/fineui.js b/dist/fineui.js index 34b8c7184..49c6aec48 100644 --- a/dist/fineui.js +++ b/dist/fineui.js @@ -18167,6 +18167,12 @@ _.extend(BI, { s["%Q"] = qr; var re = /%./g; + BI.isKhtml = BI.isKhtml || function () { + if(!_global.navigator) { + return false; + } + return /Konqueror|Safari|KHTML/i.test(navigator.userAgent); + }; if (!BI.isKhtml()) { return str.replace(re, function (par) { return s[par] || par; @@ -18190,7 +18196,7 @@ _.extend(BI, { * Created by GUY on 2015/6/24. */ BI.Func = {}; -BI.extend(BI.Func, { +_.extend(BI.Func, { /** * 创建唯一的名字 * @param array diff --git a/dist/fineui_without_jquery_polyfill.js b/dist/fineui_without_jquery_polyfill.js index c0ccae681..e26965d90 100644 --- a/dist/fineui_without_jquery_polyfill.js +++ b/dist/fineui_without_jquery_polyfill.js @@ -17671,6 +17671,12 @@ _.extend(BI, { s["%Q"] = qr; var re = /%./g; + BI.isKhtml = BI.isKhtml || function () { + if(!_global.navigator) { + return false; + } + return /Konqueror|Safari|KHTML/i.test(navigator.userAgent); + }; if (!BI.isKhtml()) { return str.replace(re, function (par) { return s[par] || par; @@ -17694,7 +17700,7 @@ _.extend(BI, { * Created by GUY on 2015/6/24. */ BI.Func = {}; -BI.extend(BI.Func, { +_.extend(BI.Func, { /** * 创建唯一的名字 * @param array diff --git a/dist/utils.js b/dist/utils.js index e34322acd..85db25031 100644 --- a/dist/utils.js +++ b/dist/utils.js @@ -10744,6 +10744,12 @@ _.extend(BI, { s["%Q"] = qr; var re = /%./g; + BI.isKhtml = BI.isKhtml || function () { + if(!_global.navigator) { + return false; + } + return /Konqueror|Safari|KHTML/i.test(navigator.userAgent); + }; if (!BI.isKhtml()) { return str.replace(re, function (par) { return s[par] || par; @@ -10767,7 +10773,7 @@ _.extend(BI, { * Created by GUY on 2015/6/24. */ BI.Func = {}; -BI.extend(BI.Func, { +_.extend(BI.Func, { /** * 创建唯一的名字 * @param array diff --git a/src/core/func/date.js b/src/core/func/date.js index 51ff8979d..fa27de101 100644 --- a/src/core/func/date.js +++ b/src/core/func/date.js @@ -198,6 +198,12 @@ _.extend(BI, { s["%Q"] = qr; var re = /%./g; + BI.isKhtml = BI.isKhtml || function () { + if(!_global.navigator) { + return false; + } + return /Konqueror|Safari|KHTML/i.test(navigator.userAgent); + }; if (!BI.isKhtml()) { return str.replace(re, function (par) { return s[par] || par; diff --git a/src/core/func/function.js b/src/core/func/function.js index 699d6f0ab..3bd7744c0 100644 --- a/src/core/func/function.js +++ b/src/core/func/function.js @@ -3,7 +3,7 @@ * Created by GUY on 2015/6/24. */ BI.Func = {}; -BI.extend(BI.Func, { +_.extend(BI.Func, { /** * 创建唯一的名字 * @param array