Sha256: 511bf5cf7ee820384e7bd56e08d10a4759b01c6101d1506fdc0da0b0bb2c61e6

Contents?: true

Size: 441 Bytes

Versions: 1

Compression:

Stored size: 441 Bytes

Contents

$.fn.test = function(){
	// Hide title on iframes
	if (window.self !== window.top) {
		$('h1').hide();
	}

	if (location.search === '?notest') {
		return this;
	}

	$.scrollTo.defaults.axis = 'xy';
	
	var root = this.is('iframe') ? this.contents() : $('body');
	root.find('#ua').html(
		navigator.userAgent +
		'<br />' +
		'document.compatMode is "' + document.compatMode + '"'
	);

	return this.scrollTo('max', 1000).scrollTo(0, 1000);
};

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
prettydocs_rails-1.1.16 vendor/assets/javascripts/jquery-scrollTo/tests/test.js