
					assert.strictEqual( getIframe(1).hasAttribute( 'src' ), false, 'not preloaded within viewDistance' );
					assert.strictEqual( getIframe(2).hasAttribute( 'src' ), false, 'not preloaded within viewDistance' );

					Reveal.slide(1);
					assert.strictEqual( getIframe(1).hasAttribute( 'src' ), true, 'loaded when slide becomes visible' );


				});

			} );

			Reveal.initialize({
				viewDistance: 3
			});
		</script>

	</body>
</html>
