guy 7 years ago
parent
commit
d71d83b4db
  1. 25
      bi/core.js
  2. 25
      dist/bundle.js
  3. 80
      dist/bundle.min.js
  4. 25
      dist/core.js
  5. 25
      src/core/utils/load.js

25
bi/core.js

@ -9212,14 +9212,23 @@ BI.IntegerBufferSet.prototype = {
})();window.BI = window.BI || {};
$.extend(BI, {
$defaultImport: function (options) {
var config = $.extend({
op: 'resource',
path: null,
type: null,
must: false
}, options);
config.url = BI.servletURL + '?op=' + config.op + '&resource=' + config.path;
$defaultImport: function (options, type) {
var config;
if (BI.isObject(options)) {
config = $.extend({
op: 'resource',
path: null,
type: null,
must: false
}, options);
config.url = BI.servletURL + '?op=' + config.op + '&resource=' + config.path;
} else {
config = {
url: BI.servletURL + "?op=resource&resource=" + options,
type: arguments[1],
must: arguments[2]
}
}
this.$import(config.url, config.type, config.must);
},
$import: function () {

25
dist/bundle.js vendored

@ -17695,14 +17695,23 @@ BI.IntegerBufferSet.prototype = {
})();window.BI = window.BI || {};
$.extend(BI, {
$defaultImport: function (options) {
var config = $.extend({
op: 'resource',
path: null,
type: null,
must: false
}, options);
config.url = BI.servletURL + '?op=' + config.op + '&resource=' + config.path;
$defaultImport: function (options, type) {
var config;
if (BI.isObject(options)) {
config = $.extend({
op: 'resource',
path: null,
type: null,
must: false
}, options);
config.url = BI.servletURL + '?op=' + config.op + '&resource=' + config.path;
} else {
config = {
url: BI.servletURL + "?op=resource&resource=" + options,
type: arguments[1],
must: arguments[2]
}
}
this.$import(config.url, config.type, config.must);
},
$import: function () {

80
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

25
dist/core.js vendored

@ -17644,14 +17644,23 @@ BI.IntegerBufferSet.prototype = {
})();window.BI = window.BI || {};
$.extend(BI, {
$defaultImport: function (options) {
var config = $.extend({
op: 'resource',
path: null,
type: null,
must: false
}, options);
config.url = BI.servletURL + '?op=' + config.op + '&resource=' + config.path;
$defaultImport: function (options, type) {
var config;
if (BI.isObject(options)) {
config = $.extend({
op: 'resource',
path: null,
type: null,
must: false
}, options);
config.url = BI.servletURL + '?op=' + config.op + '&resource=' + config.path;
} else {
config = {
url: BI.servletURL + "?op=resource&resource=" + options,
type: arguments[1],
must: arguments[2]
}
}
this.$import(config.url, config.type, config.must);
},
$import: function () {

25
src/core/utils/load.js

@ -1,14 +1,23 @@
window.BI = window.BI || {};
$.extend(BI, {
$defaultImport: function (options) {
var config = $.extend({
op: 'resource',
path: null,
type: null,
must: false
}, options);
config.url = BI.servletURL + '?op=' + config.op + '&resource=' + config.path;
$defaultImport: function (options, type) {
var config;
if (BI.isObject(options)) {
config = $.extend({
op: 'resource',
path: null,
type: null,
must: false
}, options);
config.url = BI.servletURL + '?op=' + config.op + '&resource=' + config.path;
} else {
config = {
url: BI.servletURL + "?op=resource&resource=" + options,
type: arguments[1],
must: arguments[2]
}
}
this.$import(config.url, config.type, config.must);
},
$import: function () {

Loading…
Cancel
Save