Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Improved the categories of a bunch of docs, upped the version to 1.1.
  • Loading branch information
jeresig committed Jan 7, 2007
1 parent f6205e0 commit d7b73ea
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 70 deletions.
36 changes: 18 additions & 18 deletions src/ajax/ajax.js
Expand Up @@ -13,7 +13,7 @@ jQuery.fn.extend({
* @param String url The URL of the HTML file to load.
* @param Map params (optional) Key/value pairs that will be sent to the server.
* @param Function callback (optional) A function to be executed whenever the data is loaded (parameters: responseText, status and response itself).
* @cat AJAX
* @cat Ajax
*/
loadIfModified: function( url, params, callback ) {
this.load( url, params, callback, 1 );
Expand Down Expand Up @@ -41,7 +41,7 @@ jQuery.fn.extend({
* @param String url The URL of the HTML file to load.
* @param Object params (optional) A set of key/value pairs that will be sent as data to the server.
* @param Function callback (optional) A function to be executed whenever the data is loaded (parameters: responseText, status and response itself).
* @cat AJAX
* @cat Ajax
*/
load: function( url, params, callback, ifModified ) {
if ( url.constructor == Function )
Expand Down Expand Up @@ -105,7 +105,7 @@ jQuery.fn.extend({
*
* @name serialize
* @type String
* @cat AJAX
* @cat Ajax
*/
serialize: function() {
return jQuery.param( this );
Expand All @@ -118,7 +118,7 @@ jQuery.fn.extend({
* @name evalScripts
* @type jQuery
* @private
* @cat AJAX
* @cat Ajax
*/
evalScripts: function() {
return this.find('script').each(function(){
Expand Down Expand Up @@ -152,7 +152,7 @@ if ( jQuery.browser.msie && typeof XMLHttpRequest == "undefined" )
* @name ajaxStart
* @type jQuery
* @param Function callback The function to execute.
* @cat AJAX
* @cat Ajax
*/

/**
Expand All @@ -166,7 +166,7 @@ if ( jQuery.browser.msie && typeof XMLHttpRequest == "undefined" )
* @name ajaxStop
* @type jQuery
* @param Function callback The function to execute.
* @cat AJAX
* @cat Ajax
*/

/**
Expand All @@ -183,7 +183,7 @@ if ( jQuery.browser.msie && typeof XMLHttpRequest == "undefined" )
* @name ajaxComplete
* @type jQuery
* @param Function callback The function to execute.
* @cat AJAX
* @cat Ajax
*/

/**
Expand All @@ -201,7 +201,7 @@ if ( jQuery.browser.msie && typeof XMLHttpRequest == "undefined" )
* @name ajaxSuccess
* @type jQuery
* @param Function callback The function to execute.
* @cat AJAX
* @cat Ajax
*/

/**
Expand All @@ -219,7 +219,7 @@ if ( jQuery.browser.msie && typeof XMLHttpRequest == "undefined" )
* @name ajaxError
* @type jQuery
* @param Function callback The function to execute.
* @cat AJAX
* @cat Ajax
*/

/**
Expand All @@ -236,7 +236,7 @@ if ( jQuery.browser.msie && typeof XMLHttpRequest == "undefined" )
* @name ajaxSend
* @type jQuery
* @param Function callback The function to execute.
* @cat AJAX
* @cat Ajax
*/
jQuery.each( "ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","), function(i,o){
jQuery.fn[o] = function(f){
Expand Down Expand Up @@ -269,7 +269,7 @@ jQuery.extend({
* @param String url The URL of the page to load.
* @param Map params (optional) Key/value pairs that will be sent to the server.
* @param Function callback (optional) A function to be executed whenever the data is loaded.
* @cat AJAX
* @cat Ajax
*/
get: function( url, data, callback, type, ifModified ) {
// shift arguments if data argument was ommited
Expand Down Expand Up @@ -311,7 +311,7 @@ jQuery.extend({
* @param String url The URL of the page to load.
* @param Map params (optional) Key/value pairs that will be sent to the server.
* @param Function callback (optional) A function to be executed whenever the data is loaded.
* @cat AJAX
* @cat Ajax
*/
getIfModified: function( url, data, callback, type ) {
return jQuery.get(url, data, callback, type, 1);
Expand All @@ -334,7 +334,7 @@ jQuery.extend({
* @type XMLHttpRequest
* @param String url The URL of the page to load.
* @param Function callback (optional) A function to be executed whenever the data is loaded.
* @cat AJAX
* @cat Ajax
*/
getScript: function( url, callback ) {
return jQuery.get(url, null, callback, "script");
Expand All @@ -359,7 +359,7 @@ jQuery.extend({
* @param String url The URL of the page to load.
* @param Map params (optional) Key/value pairs that will be sent to the server.
* @param Function callback A function to be executed whenever the data is loaded.
* @cat AJAX
* @cat Ajax
*/
getJSON: function( url, data, callback ) {
return jQuery.get(url, data, callback, "json");
Expand Down Expand Up @@ -388,7 +388,7 @@ jQuery.extend({
* @param String url The URL of the page to load.
* @param Map params (optional) Key/value pairs that will be sent to the server.
* @param Function callback (optional) A function to be executed whenever the data is loaded.
* @cat AJAX
* @cat Ajax
*/
post: function( url, data, callback, type ) {
return jQuery.ajax({
Expand Down Expand Up @@ -421,7 +421,7 @@ jQuery.extend({
* @name $.ajaxTimeout
* @type undefined
* @param Number time How long before an AJAX request times out.
* @cat AJAX
* @cat Ajax
*/
ajaxTimeout: function( timeout ) {
jQuery.ajaxSettings.timeout = timeout;
Expand All @@ -445,7 +445,7 @@ jQuery.extend({
* @name $.ajaxSetup
* @type undefined
* @param Map settings Key/value pairs to use for all AJAX requests
* @cat AJAX
* @cat Ajax
*/
ajaxSetup: function( settings ) {
jQuery.extend( jQuery.ajaxSettings, settings );
Expand Down Expand Up @@ -580,7 +580,7 @@ jQuery.extend({
* @name $.ajax
* @type XMLHttpRequest
* @param Map properties Key/value pairs to initialize the request with.
* @cat AJAX
* @cat Ajax
* @see ajaxSetup(Map)
*/
ajax: function( s ) {
Expand Down
50 changes: 25 additions & 25 deletions src/event/event.js
Expand Up @@ -486,7 +486,7 @@ new function(){
* @name scroll
* @type jQuery
* @param Function fn A function to bind to the scroll event on each of the matched elements.
* @cat Events/Browser
* @cat Events
*/

/**
Expand All @@ -501,7 +501,7 @@ new function(){
* @name submit
* @type jQuery
* @param Function fn A function to bind to the submit event on each of the matched elements.
* @cat Events/Form
* @cat Events
*/

/**
Expand All @@ -516,7 +516,7 @@ new function(){
*
* @name submit
* @type jQuery
* @cat Events/Form
* @cat Events
*/

/**
Expand All @@ -529,7 +529,7 @@ new function(){
* @name focus
* @type jQuery
* @param Function fn A function to bind to the focus event on each of the matched elements.
* @cat Events/UI
* @cat Events
*/

/**
Expand All @@ -545,7 +545,7 @@ new function(){
*
* @name focus
* @type jQuery
* @cat Events/UI
* @cat Events
*/

/**
Expand All @@ -558,7 +558,7 @@ new function(){
* @name keydown
* @type jQuery
* @param Function fn A function to bind to the keydown event on each of the matched elements.
* @cat Events/Keyboard
* @cat Events
*/

/**
Expand All @@ -571,7 +571,7 @@ new function(){
* @name dblclick
* @type jQuery
* @param Function fn A function to bind to the dblclick event on each of the matched elements.
* @cat Events/Mouse
* @cat Events
*/

/**
Expand All @@ -584,7 +584,7 @@ new function(){
* @name keypress
* @type jQuery
* @param Function fn A function to bind to the keypress event on each of the matched elements.
* @cat Events/Keyboard
* @cat Events
*/

/**
Expand All @@ -597,7 +597,7 @@ new function(){
* @name error
* @type jQuery
* @param Function fn A function to bind to the error event on each of the matched elements.
* @cat Events/Browser
* @cat Events
*/

/**
Expand All @@ -610,7 +610,7 @@ new function(){
* @name blur
* @type jQuery
* @param Function fn A function to bind to the blur event on each of the matched elements.
* @cat Events/UI
* @cat Events
*/

/**
Expand All @@ -626,7 +626,7 @@ new function(){
*
* @name blur
* @type jQuery
* @cat Events/UI
* @cat Events
*/

/**
Expand All @@ -639,7 +639,7 @@ new function(){
* @name load
* @type jQuery
* @param Function fn A function to bind to the load event on each of the matched elements.
* @cat Events/Browser
* @cat Events
*/

/**
Expand All @@ -652,7 +652,7 @@ new function(){
* @name select
* @type jQuery
* @param Function fn A function to bind to the select event on each of the matched elements.
* @cat Events/Form
* @cat Events
*/

/**
Expand All @@ -665,7 +665,7 @@ new function(){
*
* @name select
* @type jQuery
* @cat Events/Form
* @cat Events
*/

/**
Expand All @@ -678,7 +678,7 @@ new function(){
* @name mouseup
* @type jQuery
* @param Function fn A function to bind to the mouseup event on each of the matched elements.
* @cat Events/Mouse
* @cat Events
*/

/**
Expand All @@ -691,7 +691,7 @@ new function(){
* @name unload
* @type jQuery
* @param Function fn A function to bind to the unload event on each of the matched elements.
* @cat Events/Browser
* @cat Events
*/

/**
Expand All @@ -704,7 +704,7 @@ new function(){
* @name change
* @type jQuery
* @param Function fn A function to bind to the change event on each of the matched elements.
* @cat Events/Form
* @cat Events
*/

/**
Expand All @@ -717,7 +717,7 @@ new function(){
* @name mouseout
* @type jQuery
* @param Function fn A function to bind to the mouseout event on each of the matched elements.
* @cat Events/Mouse
* @cat Events
*/

/**
Expand All @@ -730,7 +730,7 @@ new function(){
* @name keyup
* @type jQuery
* @param Function fn A function to bind to the keyup event on each of the matched elements.
* @cat Events/Keyboard
* @cat Events
*/

/**
Expand All @@ -743,7 +743,7 @@ new function(){
* @name click
* @type jQuery
* @param Function fn A function to bind to the click event on each of the matched elements.
* @cat Events/Mouse
* @cat Events
*/

/**
Expand All @@ -756,7 +756,7 @@ new function(){
*
* @name click
* @type jQuery
* @cat Events/Mouse
* @cat Events
*/

/**
Expand All @@ -769,7 +769,7 @@ new function(){
* @name resize
* @type jQuery
* @param Function fn A function to bind to the resize event on each of the matched elements.
* @cat Events/Browser
* @cat Events
*/

/**
Expand All @@ -782,7 +782,7 @@ new function(){
* @name mousemove
* @type jQuery
* @param Function fn A function to bind to the mousemove event on each of the matched elements.
* @cat Events/Mouse
* @cat Events
*/

/**
Expand All @@ -795,7 +795,7 @@ new function(){
* @name mousedown
* @type jQuery
* @param Function fn A function to bind to the mousedown event on each of the matched elements.
* @cat Events/Mouse
* @cat Events
*/

/**
Expand All @@ -808,7 +808,7 @@ new function(){
* @name mouseover
* @type jQuery
* @param Function fn A function to bind to the mousedown event on each of the matched elements.
* @cat Events/Mouse
* @cat Events
*/
jQuery.each( ("blur,focus,load,resize,scroll,unload,click,dblclick," +
"mousedown,mouseup,mousemove,mouseover,mouseout,change,select," +
Expand Down

0 comments on commit d7b73ea

Please sign in to comment.