guy 7 years ago
parent
commit
8393e80168
  1. 4
      Gruntfile.js
  2. 29322
      dist/bundle.js
  3. 93
      dist/bundle.min.js
  4. 28644
      dist/core.js
  5. 28858
      dist/fineui.js
  6. 91
      dist/fineui.min.js
  7. 2
      dist/router.js
  8. 6
      src/core/base.js
  9. 8250
      src/core/lodash.js
  10. 2
      src/router/router.js
  11. 9628
      utils/utils.js

4
Gruntfile.js

@ -14,7 +14,7 @@ module.exports = function (grunt) {
coreJs: { coreJs: {
src: [ src: [
"src/core/jquery.js", "src/core/jquery.js",
"src/core/underscore.js", "src/core/lodash.js",
"src/core/foundation.js", "src/core/foundation.js",
// 'src/core/mvc/**/*.js', // 'src/core/mvc/**/*.js',
"src/core/base.js", "src/core/base.js",
@ -142,7 +142,7 @@ module.exports = function (grunt) {
}, },
utilsJs: { utilsJs: {
src: [ src: [
"src/core/underscore.js", "src/core/lodash.js",
"src/core/foundation.js", "src/core/foundation.js",
"src/core/var.js", "src/core/var.js",
"src/core/proto/array.js", "src/core/proto/array.js",

29322
dist/bundle.js vendored

File diff suppressed because one or more lines are too long

93
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

28644
dist/core.js vendored

File diff suppressed because one or more lines are too long

28858
dist/fineui.js vendored

File diff suppressed because one or more lines are too long

91
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/router.js vendored

@ -314,7 +314,7 @@
// falls back to polling. // falls back to polling.
var History = function () { var History = function () {
this.handlers = []; this.handlers = [];
_.bindAll(this, "checkUrl"); this.checkUrl = _.bind(this.checkUrl, this);
// Ensure that `History` can be used outside of the browser. // Ensure that `History` can be used outside of the browser.
if (typeof window !== "undefined") { if (typeof window !== "undefined") {

6
src/core/base.js

@ -164,6 +164,9 @@ if (!window.BI) {
}); });
_.each(["each", "map", "reduce", "reduceRight", "find", "filter", "reject", "every", "all", "some", "any", "max", "min", _.each(["each", "map", "reduce", "reduceRight", "find", "filter", "reject", "every", "all", "some", "any", "max", "min",
"sortBy", "groupBy", "indexBy", "countBy", "partition"], function (name) { "sortBy", "groupBy", "indexBy", "countBy", "partition"], function (name) {
if (name === "any") {
BI[name] = _applyFunc("some");
}
BI[name] = _applyFunc(name); BI[name] = _applyFunc(name);
}); });
_.extend(BI, { _.extend(BI, {
@ -446,7 +449,7 @@ if (!window.BI) {
}; };
} }
var F = function () { var F = function () {
}, spp = sp.prototype; }, spp = sp.prototype;
F.prototype = spp; F.prototype = spp;
sb.prototype = new F(); sb.prototype = new F();
sb.superclass = spp; sb.superclass = spp;
@ -784,7 +787,6 @@ if (!window.BI) {
return Date.getDate().getTime(); return Date.getDate().getTime();
}, },
parseInt: function (number) { parseInt: function (number) {

8250
src/core/lodash.js

File diff suppressed because it is too large Load Diff

2
src/router/router.js

@ -314,7 +314,7 @@
// falls back to polling. // falls back to polling.
var History = function () { var History = function () {
this.handlers = []; this.handlers = [];
_.bindAll(this, "checkUrl"); this.checkUrl = _.bind(this.checkUrl, this);
// Ensure that `History` can be used outside of the browser. // Ensure that `History` can be used outside of the browser.
if (typeof window !== "undefined") { if (typeof window !== "undefined") {

9628
utils/utils.js

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save