Browse Source

BI.point

es6
windy 7 years ago
parent
commit
0d1b9b5344
  1. 12
      dist/bundle.js
  2. 66
      dist/bundle.min.js
  3. 12
      dist/core.js
  4. 12
      dist/fineui.js
  5. 22
      dist/fineui.min.js
  6. 12
      src/core/inject.js
  7. 12
      utils/utils.js

12
dist/bundle.js vendored

@ -20364,7 +20364,8 @@ BI.extend(BI.DOM, {
for (var action in points[type]) { for (var action in points[type]) {
var bfns = points[type][action].before; var bfns = points[type][action].before;
if (bfns) { if (bfns) {
BI.aspect.before(inst, action, function () { BI.aspect.before(inst, action, function (bfns) {
return function () {
for (var i = 0, len = bfns.length; i < len; i++) { for (var i = 0, len = bfns.length; i < len; i++) {
try { try {
bfns[i].apply(inst, arguments); bfns[i].apply(inst, arguments);
@ -20372,11 +20373,13 @@ BI.extend(BI.DOM, {
console.error(e); console.error(e);
} }
} }
}); };
}(bfns));
} }
var afns = points[type][action].after; var afns = points[type][action].after;
if (afns) { if (afns) {
BI.aspect.after(inst, action, function () { BI.aspect.after(inst, action, function (afns) {
return function () {
for (var i = 0, len = afns.length; i < len; i++) { for (var i = 0, len = afns.length; i < len; i++) {
try { try {
afns[i].apply(inst, arguments); afns[i].apply(inst, arguments);
@ -20384,7 +20387,8 @@ BI.extend(BI.DOM, {
console.error(e); console.error(e);
} }
} }
}); }
}(afns));
} }
} }
} }

66
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

12
dist/core.js vendored

@ -20364,7 +20364,8 @@ BI.extend(BI.DOM, {
for (var action in points[type]) { for (var action in points[type]) {
var bfns = points[type][action].before; var bfns = points[type][action].before;
if (bfns) { if (bfns) {
BI.aspect.before(inst, action, function () { BI.aspect.before(inst, action, function (bfns) {
return function () {
for (var i = 0, len = bfns.length; i < len; i++) { for (var i = 0, len = bfns.length; i < len; i++) {
try { try {
bfns[i].apply(inst, arguments); bfns[i].apply(inst, arguments);
@ -20372,11 +20373,13 @@ BI.extend(BI.DOM, {
console.error(e); console.error(e);
} }
} }
}); };
}(bfns));
} }
var afns = points[type][action].after; var afns = points[type][action].after;
if (afns) { if (afns) {
BI.aspect.after(inst, action, function () { BI.aspect.after(inst, action, function (afns) {
return function () {
for (var i = 0, len = afns.length; i < len; i++) { for (var i = 0, len = afns.length; i < len; i++) {
try { try {
afns[i].apply(inst, arguments); afns[i].apply(inst, arguments);
@ -20384,7 +20387,8 @@ BI.extend(BI.DOM, {
console.error(e); console.error(e);
} }
} }
}); }
}(afns));
} }
} }
} }

12
dist/fineui.js vendored

@ -20565,7 +20565,8 @@ BI.extend(BI.DOM, {
for (var action in points[type]) { for (var action in points[type]) {
var bfns = points[type][action].before; var bfns = points[type][action].before;
if (bfns) { if (bfns) {
BI.aspect.before(inst, action, function () { BI.aspect.before(inst, action, function (bfns) {
return function () {
for (var i = 0, len = bfns.length; i < len; i++) { for (var i = 0, len = bfns.length; i < len; i++) {
try { try {
bfns[i].apply(inst, arguments); bfns[i].apply(inst, arguments);
@ -20573,11 +20574,13 @@ BI.extend(BI.DOM, {
console.error(e); console.error(e);
} }
} }
}); };
}(bfns));
} }
var afns = points[type][action].after; var afns = points[type][action].after;
if (afns) { if (afns) {
BI.aspect.after(inst, action, function () { BI.aspect.after(inst, action, function (afns) {
return function () {
for (var i = 0, len = afns.length; i < len; i++) { for (var i = 0, len = afns.length; i < len; i++) {
try { try {
afns[i].apply(inst, arguments); afns[i].apply(inst, arguments);
@ -20585,7 +20588,8 @@ BI.extend(BI.DOM, {
console.error(e); console.error(e);
} }
} }
}); }
}(afns));
} }
} }
} }

22
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

12
src/core/inject.js

@ -89,7 +89,8 @@
for (var action in points[type]) { for (var action in points[type]) {
var bfns = points[type][action].before; var bfns = points[type][action].before;
if (bfns) { if (bfns) {
BI.aspect.before(inst, action, function () { BI.aspect.before(inst, action, function (bfns) {
return function () {
for (var i = 0, len = bfns.length; i < len; i++) { for (var i = 0, len = bfns.length; i < len; i++) {
try { try {
bfns[i].apply(inst, arguments); bfns[i].apply(inst, arguments);
@ -97,11 +98,13 @@
console.error(e); console.error(e);
} }
} }
}); };
}(bfns));
} }
var afns = points[type][action].after; var afns = points[type][action].after;
if (afns) { if (afns) {
BI.aspect.after(inst, action, function () { BI.aspect.after(inst, action, function (afns) {
return function () {
for (var i = 0, len = afns.length; i < len; i++) { for (var i = 0, len = afns.length; i < len; i++) {
try { try {
afns[i].apply(inst, arguments); afns[i].apply(inst, arguments);
@ -109,7 +112,8 @@
console.error(e); console.error(e);
} }
} }
}); }
}(afns));
} }
} }
} }

12
utils/utils.js

@ -4804,7 +4804,8 @@ _.extend(BI.OB.prototype, {
for (var action in points[type]) { for (var action in points[type]) {
var bfns = points[type][action].before; var bfns = points[type][action].before;
if (bfns) { if (bfns) {
BI.aspect.before(inst, action, function () { BI.aspect.before(inst, action, function (bfns) {
return function () {
for (var i = 0, len = bfns.length; i < len; i++) { for (var i = 0, len = bfns.length; i < len; i++) {
try { try {
bfns[i].apply(inst, arguments); bfns[i].apply(inst, arguments);
@ -4812,11 +4813,13 @@ _.extend(BI.OB.prototype, {
console.error(e); console.error(e);
} }
} }
}); };
}(bfns));
} }
var afns = points[type][action].after; var afns = points[type][action].after;
if (afns) { if (afns) {
BI.aspect.after(inst, action, function () { BI.aspect.after(inst, action, function (afns) {
return function () {
for (var i = 0, len = afns.length; i < len; i++) { for (var i = 0, len = afns.length; i < len; i++) {
try { try {
afns[i].apply(inst, arguments); afns[i].apply(inst, arguments);
@ -4824,7 +4827,8 @@ _.extend(BI.OB.prototype, {
console.error(e); console.error(e);
} }
} }
}); }
}(afns));
} }
} }
} }

Loading…
Cancel
Save