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

13
bi/core.js

@ -9212,14 +9212,23 @@ BI.IntegerBufferSet.prototype = {
})();window.BI = window.BI || {}; })();window.BI = window.BI || {};
$.extend(BI, { $.extend(BI, {
$defaultImport: function (options) { $defaultImport: function (options, type) {
var config = $.extend({ var config;
if (BI.isObject(options)) {
config = $.extend({
op: 'resource', op: 'resource',
path: null, path: null,
type: null, type: null,
must: false must: false
}, options); }, options);
config.url = BI.servletURL + '?op=' + config.op + '&resource=' + config.path; 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); this.$import(config.url, config.type, config.must);
}, },
$import: function () { $import: function () {

13
dist/bundle.js vendored

@ -17695,14 +17695,23 @@ BI.IntegerBufferSet.prototype = {
})();window.BI = window.BI || {}; })();window.BI = window.BI || {};
$.extend(BI, { $.extend(BI, {
$defaultImport: function (options) { $defaultImport: function (options, type) {
var config = $.extend({ var config;
if (BI.isObject(options)) {
config = $.extend({
op: 'resource', op: 'resource',
path: null, path: null,
type: null, type: null,
must: false must: false
}, options); }, options);
config.url = BI.servletURL + '?op=' + config.op + '&resource=' + config.path; 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); this.$import(config.url, config.type, config.must);
}, },
$import: function () { $import: function () {

80
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

13
dist/core.js vendored

@ -17644,14 +17644,23 @@ BI.IntegerBufferSet.prototype = {
})();window.BI = window.BI || {}; })();window.BI = window.BI || {};
$.extend(BI, { $.extend(BI, {
$defaultImport: function (options) { $defaultImport: function (options, type) {
var config = $.extend({ var config;
if (BI.isObject(options)) {
config = $.extend({
op: 'resource', op: 'resource',
path: null, path: null,
type: null, type: null,
must: false must: false
}, options); }, options);
config.url = BI.servletURL + '?op=' + config.op + '&resource=' + config.path; 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); this.$import(config.url, config.type, config.must);
}, },
$import: function () { $import: function () {

13
src/core/utils/load.js

@ -1,14 +1,23 @@
window.BI = window.BI || {}; window.BI = window.BI || {};
$.extend(BI, { $.extend(BI, {
$defaultImport: function (options) { $defaultImport: function (options, type) {
var config = $.extend({ var config;
if (BI.isObject(options)) {
config = $.extend({
op: 'resource', op: 'resource',
path: null, path: null,
type: null, type: null,
must: false must: false
}, options); }, options);
config.url = BI.servletURL + '?op=' + config.op + '&resource=' + config.path; 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); this.$import(config.url, config.type, config.must);
}, },
$import: function () { $import: function () {

Loading…
Cancel
Save