guy 8 years ago
parent
commit
078a6b6a08
  1. 7
      bi/core.js
  2. 4
      demo/version.js
  3. 7
      docs/core.js
  4. 4
      docs/demo.js
  5. 7
      src/core/proto/jquery.js

7
bi/core.js

@ -6549,6 +6549,7 @@ Function.prototype.after = function (func) {
if (jQuery) { if (jQuery) {
(function ($) { (function ($) {
// richer:容器在其各个边缘留出的空间 // richer:容器在其各个边缘留出的空间
if (!$.fn.insets) {
$.fn.insets = function () { $.fn.insets = function () {
var p = this.padding(), var p = this.padding(),
b = this.border(); b = this.border();
@ -6559,8 +6560,10 @@ if (jQuery) {
'right': p.right + b.right + b.left 'right': p.right + b.right + b.left
}; };
}; };
}
// richer:获取 && 设置jQuery元素的边界 // richer:获取 && 设置jQuery元素的边界
if (!$.fn.bounds) {
$.fn.bounds = function (value) { $.fn.bounds = function (value) {
var tmp = {hasIgnoredBounds: true}; var tmp = {hasIgnoredBounds: true};
@ -6598,8 +6601,10 @@ if (jQuery) {
}; };
} }
}; };
}
})(jQuery); })(jQuery);
};if (!Number.prototype.toFixed || (0.00008).toFixed(3) !== '0.000' || }
;if (!Number.prototype.toFixed || (0.00008).toFixed(3) !== '0.000' ||
(0.9).toFixed(0) === '0' || (1.255).toFixed(2) !== '1.25' || (0.9).toFixed(0) === '0' || (1.255).toFixed(2) !== '1.25' ||
(1000000000000000128).toFixed(0) !== "1000000000000000128") { (1000000000000000128).toFixed(0) !== "1000000000000000128") {
(function () { (function () {

4
demo/version.js

@ -6,6 +6,6 @@ BI.i18n = {
"BI-Basic_OK": "确定" "BI-Basic_OK": "确定"
}; };
BI.servletURL = "docs/"; BI.servletURL = "";
BI.resourceURL = "docs/resource/"; BI.resourceURL = "resource/";
BI.i18n = {}; BI.i18n = {};

7
docs/core.js

@ -24083,6 +24083,7 @@ Function.prototype.after = function (func) {
if (jQuery) { if (jQuery) {
(function ($) { (function ($) {
// richer:容器在其各个边缘留出的空间 // richer:容器在其各个边缘留出的空间
if (!$.fn.insets) {
$.fn.insets = function () { $.fn.insets = function () {
var p = this.padding(), var p = this.padding(),
b = this.border(); b = this.border();
@ -24093,8 +24094,10 @@ if (jQuery) {
'right': p.right + b.right + b.left 'right': p.right + b.right + b.left
}; };
}; };
}
// richer:获取 && 设置jQuery元素的边界 // richer:获取 && 设置jQuery元素的边界
if (!$.fn.bounds) {
$.fn.bounds = function (value) { $.fn.bounds = function (value) {
var tmp = {hasIgnoredBounds: true}; var tmp = {hasIgnoredBounds: true};
@ -24132,8 +24135,10 @@ if (jQuery) {
}; };
} }
}; };
}
})(jQuery); })(jQuery);
};if (!Number.prototype.toFixed || (0.00008).toFixed(3) !== '0.000' || }
;if (!Number.prototype.toFixed || (0.00008).toFixed(3) !== '0.000' ||
(0.9).toFixed(0) === '0' || (1.255).toFixed(2) !== '1.25' || (0.9).toFixed(0) === '0' || (1.255).toFixed(2) !== '1.25' ||
(1000000000000000128).toFixed(0) !== "1000000000000000128") { (1000000000000000128).toFixed(0) !== "1000000000000000128") {
(function () { (function () {

4
docs/demo.js

@ -6,8 +6,8 @@ BI.i18n = {
"BI-Basic_OK": "确定" "BI-Basic_OK": "确定"
}; };
BI.servletURL = "docs/"; BI.servletURL = "";
BI.resourceURL = "docs/resource/"; BI.resourceURL = "resource/";
BI.i18n = {};$(function () { BI.i18n = {};$(function () {
var ref; var ref;
BI.createWidget({ BI.createWidget({

7
src/core/proto/jquery.js vendored

@ -8,6 +8,7 @@
if (jQuery) { if (jQuery) {
(function ($) { (function ($) {
// richer:容器在其各个边缘留出的空间 // richer:容器在其各个边缘留出的空间
if (!$.fn.insets) {
$.fn.insets = function () { $.fn.insets = function () {
var p = this.padding(), var p = this.padding(),
b = this.border(); b = this.border();
@ -18,8 +19,10 @@ if (jQuery) {
'right': p.right + b.right + b.left 'right': p.right + b.right + b.left
}; };
}; };
}
// richer:获取 && 设置jQuery元素的边界 // richer:获取 && 设置jQuery元素的边界
if (!$.fn.bounds) {
$.fn.bounds = function (value) { $.fn.bounds = function (value) {
var tmp = {hasIgnoredBounds: true}; var tmp = {hasIgnoredBounds: true};
@ -57,5 +60,7 @@ if (jQuery) {
}; };
} }
}; };
}
})(jQuery); })(jQuery);
}; }
;
Loading…
Cancel
Save