Allow sauce to test IE6/7 for Backbone.

This commit is contained in:
John-David Dalton
2013-11-04 19:31:56 -08:00
parent e1acb7df13
commit 64650fcdee
2 changed files with 10 additions and 3 deletions

View File

@@ -38,9 +38,17 @@
var skipped = {
'Backbone.Collection': {
'set with many models does not overflow the stack': true
},
'Backbone.Router': {
'#2656 - No trailing slash on root.': true,
'#2765 - Fragment matching sans query/hash.': true
}
};
if (!(document.attachEvent && (document.documentMode || 0) < 8)) {
delete skipped['Backbone.Router'];
}
QUnit.testStart(function(details) {
var test = QUnit.config.current,
finish = test.finish,

View File

@@ -66,9 +66,8 @@
var browser = platform[1],
version = +platform[2];
switch (browser) {
case 'firefox': return version >= 4;
case 'internet explorer': return version >= 8;
if (browser == 'firefox') {
return version >= 4;
}
return true
});