|
|
@ -17892,13 +17892,13 @@ _.extend(BI, { |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
pushDistinct: function (sArray, obj) { |
|
|
|
pushDistinct: function (sArray, obj) { |
|
|
|
if (!BI.contains(sArray, obj)) { |
|
|
|
if (!BI.contains(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++) { |
|
|
|
BI.pushDistinct(sArray, array[i]); |
|
|
|
sArray.pushDistinct(array[i]); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -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("|") ); |
|
|
@ -35853,25 +35875,25 @@ BI.Pane = BI.inherit(BI.Widget, { |
|
|
|
var loadingAnimation = BI.createWidget({ |
|
|
|
var loadingAnimation = BI.createWidget({ |
|
|
|
type: "bi.horizontal", |
|
|
|
type: "bi.horizontal", |
|
|
|
cls: "bi-loading-widget" + ((BI.isIE() && BI.getIEVersion() < 10) ? " hack" : ""), |
|
|
|
cls: "bi-loading-widget" + ((BI.isIE() && BI.getIEVersion() < 10) ? " hack" : ""), |
|
|
|
height: 60, |
|
|
|
height: 30, |
|
|
|
width: 60, |
|
|
|
width: 30, |
|
|
|
hgap: 10, |
|
|
|
hgap: 5.625, |
|
|
|
vgap: 5, |
|
|
|
vgap: 2.5, |
|
|
|
items: [{ |
|
|
|
items: [{ |
|
|
|
type: "bi.layout", |
|
|
|
type: "bi.layout", |
|
|
|
cls: "rect1", |
|
|
|
cls: "rect1", |
|
|
|
height: 50, |
|
|
|
height: 25, |
|
|
|
width: 5 |
|
|
|
width: 2.5 |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
type: "bi.layout", |
|
|
|
type: "bi.layout", |
|
|
|
cls: "rect2", |
|
|
|
cls: "rect2", |
|
|
|
height: 50, |
|
|
|
height: 25, |
|
|
|
width: 5 |
|
|
|
width: 2.5 |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
type: "bi.layout", |
|
|
|
type: "bi.layout", |
|
|
|
cls: "rect3", |
|
|
|
cls: "rect3", |
|
|
|
height: 50, |
|
|
|
height: 25, |
|
|
|
width: 5 |
|
|
|
width: 2.5 |
|
|
|
}] |
|
|
|
}] |
|
|
|
}); |
|
|
|
}); |
|
|
|
// pane在同步方式下由items决定tipText的显示与否
|
|
|
|
// pane在同步方式下由items决定tipText的显示与否
|
|
|
|