Update api reference docs from review comments. Uses latest brodocs release.

This commit is contained in:
Phillip Wittrock
2017-01-03 08:51:38 -08:00
parent 39fe9ab8e8
commit cc12b16d99
240 changed files with 14530 additions and 9984 deletions
+21
View File
@@ -0,0 +1,21 @@
$.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);
};