De promotiewebsite die de reguliere site vervangt tijdens de Kick-In.
https://join.harambee.utwente.nl
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
712 B
19 lines
712 B
6 years ago
|
QUnit.test('Testing loopTop:true', function(assert) {
|
||
|
var id = '#fullpage';
|
||
|
var FP = initFullpageNew(id, {loopTop: true});
|
||
|
|
||
|
assert.equal($(id).find(SECTION_ACTIVE_SEL).index(), 0, 'We expect section 1 to be active');
|
||
|
|
||
|
FP.moveSectionUp();
|
||
|
assert.equal($(id).find(SECTION_ACTIVE_SEL).index(), 3, 'We expect section 4 to be active');
|
||
|
});
|
||
|
|
||
|
QUnit.test('Testing loopTop:false', function(assert) {
|
||
|
var id = '#fullpage';
|
||
|
var FP = initFullpageNew(id, {loopTop: false});
|
||
|
|
||
|
assert.equal($(id).find(SECTION_ACTIVE_SEL).index(), 0, 'We expect section 1 to be active');
|
||
|
|
||
|
FP.moveSectionUp();
|
||
|
assert.equal($(id).find(SECTION_ACTIVE_SEL).index(), 0, 'We expect section 0 to be active');
|
||
|
});
|