Browse Source

Merge branch 'master' of http://cloud.finedevelop.com:2015/scm/visual/fineui

# Conflicts:
#	dist/bundle.js
#	dist/bundle.min.js
#	dist/core.js
#	dist/fineui.js
#	dist/fineui.min.js
#	dist/fineui_without_jquery_polyfill.js
#	dist/utils.min.js
es6
Zhenfei.Li 6 years ago
parent
commit
c132cb9554
  1. 33
      dist/bundle.js
  2. 4
      dist/bundle.min.js
  3. 29
      dist/core.js
  4. 32
      dist/fineui.js
  5. 4
      dist/fineui.min.js
  6. 41969
      dist/fineui_without_jquery_polyfill.js
  7. 2
      dist/utils.min.js
  8. 4
      src/core/func/array.js

33
dist/bundle.js vendored

@ -24411,11 +24411,34 @@ Expr = Sizzle.selectors = {
}; };
}), }),
"has": markFunction(function( selector ) { pushArray: function (sArray, array) {
return function( elem ) { for (var i = 0; i < array.length; i++) {
return Sizzle( selector, elem ).length > 0; sArray.push(array[i]);
}; }
}), },
pushDistinct: function (sArray, obj) {
if (!BI.contains(sArray, obj)) {
sArray.push(obj);
}
},
pushDistinctArray: function (sArray, array) {
for (var i = 0, len = array.length; i < len; i++) {
BI.pushDistinct(sArray, array[i]);
}
}
});
BI.prepares.push(function () {
BI.Date = BI.Date || {};
// 牵扯到国际化这些常量在页面加载后再生效
// full day names
BI.Date._DN = [BI.i18nText("BI-Basic_Sunday"),
BI.i18nText("BI-Basic_Monday"),
BI.i18nText("BI-Basic_Tuesday"),
BI.i18nText("BI-Basic_Wednesday"),
BI.i18nText("BI-Basic_Thursday"),
BI.i18nText("BI-Basic_Friday"),
BI.i18nText("BI-Basic_Saturday"),
BI.i18nText("BI-Basic_Sunday")];
"contains": markFunction(function( text ) { "contains": markFunction(function( text ) {
return function( elem ) { return function( elem ) {

4
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

29
dist/core.js vendored

@ -23485,7 +23485,34 @@ function Sizzle( selector, context, results, seed ) {
return []; return [];
} }
if ( !documentIsXML && !seed ) { pushArray: function (sArray, array) {
for (var i = 0; i < array.length; i++) {
sArray.push(array[i]);
}
},
pushDistinct: function (sArray, obj) {
if (!BI.contains(sArray, obj)) {
sArray.push(obj);
}
},
pushDistinctArray: function (sArray, array) {
for (var i = 0, len = array.length; i < len; i++) {
BI.pushDistinct(sArray, array[i]);
}
}
});
BI.prepares.push(function () {
BI.Date = BI.Date || {};
// 牵扯到国际化这些常量在页面加载后再生效
// full day names
BI.Date._DN = [BI.i18nText("BI-Basic_Sunday"),
BI.i18nText("BI-Basic_Monday"),
BI.i18nText("BI-Basic_Tuesday"),
BI.i18nText("BI-Basic_Wednesday"),
BI.i18nText("BI-Basic_Thursday"),
BI.i18nText("BI-Basic_Friday"),
BI.i18nText("BI-Basic_Saturday"),
BI.i18nText("BI-Basic_Sunday")];
// Shortcuts // Shortcuts
if ( (match = rquickExpr.exec( selector )) ) { if ( (match = rquickExpr.exec( selector )) ) {

32
dist/fineui.js vendored

@ -24056,12 +24056,34 @@ setDocument = Sizzle.setDocument = function( node ) {
// on a disconnected node (IE 9) // on a disconnected node (IE 9)
support.disconnectedMatch = matches.call( div, "div" ); support.disconnectedMatch = matches.call( div, "div" );
// This should fail with an exception pushArray: function (sArray, array) {
// Gecko does not error, returns false instead for (var i = 0; i < array.length; i++) {
matches.call( div, "[s!='']:x" ); sArray.push(array[i]);
rbuggyMatches.push( "!=", pseudos ); }
}); },
pushDistinct: function (sArray, obj) {
if (!BI.contains(sArray, obj)) {
sArray.push(obj);
}
},
pushDistinctArray: function (sArray, array) {
for (var i = 0, len = array.length; i < len; i++) {
BI.pushDistinct(sArray, array[i]);
}
} }
});
BI.prepares.push(function () {
BI.Date = BI.Date || {};
// 牵扯到国际化这些常量在页面加载后再生效
// full day names
BI.Date._DN = [BI.i18nText("BI-Basic_Sunday"),
BI.i18nText("BI-Basic_Monday"),
BI.i18nText("BI-Basic_Tuesday"),
BI.i18nText("BI-Basic_Wednesday"),
BI.i18nText("BI-Basic_Thursday"),
BI.i18nText("BI-Basic_Friday"),
BI.i18nText("BI-Basic_Saturday"),
BI.i18nText("BI-Basic_Sunday")];
rbuggyQSA = new RegExp( rbuggyQSA.join("|") ); rbuggyQSA = new RegExp( rbuggyQSA.join("|") );
rbuggyMatches = new RegExp( rbuggyMatches.join("|") ); rbuggyMatches = new RegExp( rbuggyMatches.join("|") );

4
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

41969
dist/fineui_without_jquery_polyfill.js vendored

File diff suppressed because one or more lines are too long

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

4
src/core/func/array.js

@ -10,13 +10,13 @@ _.extend(BI, {
} }
}, },
pushDistinct: function (sArray, obj) { pushDistinct: function (sArray, obj) {
if (!BI.contains(obj)) { if (!BI.contains(sArray, obj)) {
sArray.push(obj); sArray.push(obj);
} }
}, },
pushDistinctArray: function (sArray, array) { pushDistinctArray: function (sArray, array) {
for (var i = 0, len = array.length; i < len; i++) { for (var i = 0, len = array.length; i < len; i++) {
sArray.pushDistinct(array[i]); BI.pushDistinct(sArray, array[i]);
} }
} }
}); });

Loading…
Cancel
Save