Home | History | Annotate | Download | only in parse-only

Lines Matching refs:function

12 (function(){
24 jQuery = window.jQuery = window.$ = function( selector, context ) {
36 init: function( selector, context ) {
80 // HANDLE: $(function)
103 size: function() {
109 get: function( num ) {
121 pushStack: function( elems, name, selector ) {
142 setArray: function( elems ) {
154 each: function( callback, args ) {
160 index: function( elem ) {
168 attr: function( name, value, type ) {
182 return this.each(function(i){
194 css: function( key, value ) {
201 text: function( text ) {
207 jQuery.each( text || this, function(){
208 jQuery.each( this.childNodes, function(){
219 wrapAll: function( html ) {
227 wrap.map(function(){
240 wrapInner: function( html ) {
241 return this.each(function(){
246 wrap: function( html ) {
247 return this.each(function(){
252 append: function() {
253 return this.domManip(arguments, true, function(elem){
259 prepend: function() {
260 return this.domManip(arguments, true, function(elem){
266 before: function() {
267 return this.domManip(arguments, false, function(elem){
272 after: function() {
273 return this.domManip(arguments, false, function(elem){
278 end: function() {
288 find: function( selector ) {
295 return this.pushStack( jQuery.unique(jQuery.map(this, function(elem){
301 clone: function( events ) {
303 var ret = this.map(function(){
329 ret.find("*").andSelf().each(function(){
349 filter: function( selector ) {
352 jQuery.grep(this, function(elem, i){
356 jQuery.multiFilter( selector, jQuery.grep(this, function(elem){
361 closest: function( selector ) {
365 return this.map(function(){
378 not: function( selector ) {
387 return this.filter(function() {
392 add: function( selector ) {
401 is: function( selector ) {
405 hasClass: function( selector ) {
409 val: function( value ) {
459 return this.each(function(){
470 jQuery( "option", this ).each(function(){
483 html: function( value ) {
491 replaceWith: function( value ) {
495 eq: function( i ) {
499 slice: function() {
504 map: function( callback ) {
505 return this.pushStack( jQuery.map(this, function(elem, i){
510 andSelf: function() {
514 domManip: function( args, table, callback ) {
531 function root( elem, cur ) {
540 // Give the init function the jQuery prototype for later instantiation
543 function evalScript( i, elem ) {
558 function now(){
562 jQuery.extend = jQuery.fn.extend = function() {
619 noConflict: function( deep ) {
631 isFunction: function( obj ) {
632 return toString.call(obj) === "[object Function]";
635 isArray: function( obj ) {
640 isXMLDoc: function( elem ) {
646 globalEval: function( data ) {
666 nodeName: function( elem, name ) {
671 each: function( object, callback, args ) {
698 prop: function( elem, value, type, i, name ) {
711 add: function( elem, classNames ) {
712 jQuery.each((classNames || "").split(/\s+/), function(i, className){
719 remove: function( elem, classNames ) {
722 jQuery.grep(elem.className.split(/\s+/), function(className){
729 has: function( elem, className ) {
735 swap: function( elem, options, callback ) {
750 css: function( elem, name, force, extra ) {
754 function getWH() {
760 jQuery.each( which, function() {
781 curCSS: function( elem, name, force ) {
818 var camelCase = name.replace(/\-(\w)/g, function(all, letter){
847 clean: function( elems, context, fragment ) {
864 jQuery.each(elems, function(i, elem){
874 elem = elem.replace(/(<(\w+)[^>]*?)\/>/g, function(all, front, tag){
967 attr: function( elem, name, value ) {
1056 name = name.replace(/-([a-z])/ig, function(all, letter){
1066 trim: function( text ) {
1070 makeArray: function( array ) {
1086 inArray: function( elem, array ) {
1095 merge: function( first, second ) {
1113 unique: function( array ) {
1134 grep: function( elems, callback, inv ) {
1138 // that pass the validator function
1146 map: function( elems, callback ) {
1178 parent: function(elem){return elem.parentNode;},
1179 parents: function
1180 next: function(elem){return jQuery.nth(elem,2,"nextSibling");},
1181 prev: function(elem){return jQuery.nth(elem,2,"previousSibling");},
1182 nextAll: function(elem){return jQuery.dir(elem,"nextSibling");},
1183 prevAll: function(elem){return jQuery.dir(elem,"previousSibling");},
1184 siblings: function(elem){return jQuery.sibling(elem.parentNode.firstChild,elem);},
1185 children: function(elem){return jQuery.sibling(elem.firstChild);},
1186 contents: function(elem){return jQuery.nodeName(elem,"iframe")?elem.contentDocument||elem.contentWindow.document:jQuery.makeArray(elem.childNodes);}
1187 }, function(name, fn){
1188 jQuery.fn[ name ] = function( selector ) {
1204 }, function(name, original){
1205 jQuery.fn[ name ] = function( selector ) {
1219 removeAttr: function( name ) {
1225 addClass: function( classNames ) {
1229 removeClass: function( classNames ) {
1233 toggleClass: function( classNames, state ) {
1239 remove: function( selector ) {
1242 jQuery( "*", this ).add([this]).each(function(){
1251 empty: function() {
1259 }, function(name, fn){
1260 jQuery.fn[ name ] = function(){
1265 // Helper function used by the dimensions and offset modules
1266 function num(elem, prop) {
1274 data: function( elem, name, data ) {
1300 removeData: function( elem, name ) {
1339 queue: function( elem, type, data ) {
1355 dequeue: function( elem, type ){
1368 data: function( key, value ){
1382 return this.trigger("setData" + parts[1] + "!", [parts[0], value]).each(function(){
1387 removeData: function( key ){
1388 return this.each(function(){
1392 queue: function(type, data){
1401 return this.each(function(){
1408 dequeue: function(type){
1409 return this.each(function(){
1419 (function(){
1425 var Sizzle = function(selector, context, results, seed) {
1544 Sizzle.matches = function(expr, set){
1548 Sizzle.find = function(expr, context, isXML){
1579 Sizzle.filter = function(expr, set, inplace, not){
1671 href: function(elem){
1676 "+": function(checkSet, part, isXML){
1699 ">": function(checkSet, part, isXML){
1727 "": function(checkSet, part, isXML){
1737 "~": function(checkSet, part, isXML){
1749 ID: function(match, context, isXML){
1755 NAME: function(match, context, isXML){
1768 TAG: function(match, context){
1773 CLASS: function(match, curLoop, inplace, result, not, isXML){
1793 ID: function(match){
1796 TAG: function(match, curLoop){
1800 CHILD: function(match){
1817 ATTR: function(match, curLoop, inplace, result, not, isXML){
1830 PSEUDO: function(match, curLoop, inplace, result, not){
1848 POS: function(match){
1854 enabled: function(elem){
1857 disabled: function(elem){
1860 checked: function(elem){
1863 selected: function(elem){
1869 parent: function(elem){
1872 empty: function(elem){
1875 has: function(elem, i, match){
1878 header: function(elem){
1881 text: function(elem){
1884 radio: function(elem){
1887 checkbox: function(elem){
1890 file: function(elem){
1893 password: function(elem){
1896 submit: function(elem){
1899 image: function(elem){
1902 reset: function(elem){
1905 button: function(elem){
1908 input: function(elem){
1913 first: function(elem, i){
1916 last: function(elem, i, match, array){
1919 even: function(elem, i){
1922 odd: function(elem, i){
1925 lt: function(elem, i, match){
1928 gt: function(elem, i, match){
1931 nth: function(elem, i, match){
1934 eq: function(elem, i, match){
1939 PSEUDO: function(elem, match, i, array){
1958 CHILD: function(elem, match){
2001 ID: function(elem, match){
2004 TAG: function(elem, match){
2007 CLASS: function(elem, match){
2011 ATTR: function(elem, match){
2042 POS: function(elem, match, i, array){
2058 var makeArray = function(array, results) {
2076 makeArray = function(array, results) {
2100 sortOrder = function( a, b ) {
2108 sortOrder = function( a, b ) {
2116 sortOrder = function( a, b ) {
2132 (function(){
2145 Expr.find.ID = function(match, context, isXML){
2152 Expr.filter.ID = function(elem, match){
2161 (function(){
2171 Expr.find.TAG = function(match, context){
2195 Expr.attrHandle.href = function(elem){
2201 if ( document.querySelectorAll ) (function(){
2211 Sizzle = function(query, context, extra, seed){
2231 if ( document.getElementsByClassName && document.documentElement.getElementsByClassName ) (function(){
2246 Expr.find.CLASS = function(match, context, isXML) {
2253 function dirNodeCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
2289 function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
2332 var contains = document.compareDocumentPosition ? function(a, b){
2334 } : function(a, b){
2338 var isXML = function(elem){
2343 var posProcess = function(selector, context){
2369 Sizzle.selectors.filters.hidden = function(elem){
2373 Sizzle.selectors.filters.visible = function(elem){
2377 Sizzle.selectors.filters.animated = function(elem){
2378 return jQuery.grep(jQuery.timers, function(fn){
2383 jQuery.multiFilter = function( expr, elems, not ) {
2391 jQuery.dir = function( elem, dir ){
2401 jQuery.nth = function(cur, result, dir, elem){
2412 jQuery.sibling = function(n, elem){
2437 add: function(elem, types, handler, data) {
2446 // Make sure that the function being executed has a unique ID
2452 // Create temporary function pointer to original handler
2455 // Create unique handler function, wrapped around original handler
2464 handle = jQuery.data(elem, "handle") || jQuery.data(elem, "handle", function(){
2471 // Add elem as a property of the handle function
2478 jQuery.each(types.split(/\s+/), function(index, type) {
2506 // Add the function to the element's handler list
2521 remove: function(elem, types, handler) {
2542 jQuery.each(types.split(/\s+/), function(index, type){
2591 trigger: function( event, data, elem, bubbling ) {
2615 jQuery.each( jQuery.cache, function(){
2638 // Trigger the event, it is assumed that "handle" is a function
2665 handle: function(event) {
2688 // Pass in a reference to the handler function itself
2712 fix: function(event) {
2761 proxy: function( fn, proxy ){
2762 proxy = proxy || function(){ return fn.apply(this, arguments); };
2773 teardown: function() {}
2779 setup: function( selector, namespaces ){
2782 teardown: function( namespaces ){
2786 jQuery.each( (jQuery.data(this, "events").live || {}), function(){
2799 jQuery.Event = function( src ){
2820 function returnFalse(){
2823 function returnTrue(){
2830 preventDefault: function() {
2842 stopPropagation: function() {
2854 stopImmediatePropagation:function(){
2864 var withinElement = function(event) {
2883 }, function( orig, fix ){
2885 setup: function(){
2888 teardown: function(){
2895 bind: function( type, data, fn ) {
2896 return type == "unload" ? this.one(type, data, fn) : this.each(function(){
2901 one: function( type, data, fn ) {
2902 var one = jQuery.event.proxy( fn || data, function(event) {
2906 return this.each(function(){
2911 unbind: function( type, fn ) {
2912 return this.each(function(){
2917 trigger: function( type, data ) {
2918 return this.each(function(){
2923 triggerHandler: function( type, data ) {
2933 toggle: function( fn ) {
2941 return this.click( jQuery.event.proxy( fn, function(event) {
2942 // Figure out which function to execute
2948 // and execute the function
2953 hover: function(fnOver, fnOut) {
2957 ready: function(fn) {
2963 // Execute the function immediately
2966 // Otherwise, remember the function for later
2968 // Add the function to the wait list
2974 live: function( type, fn ){
2983 die: function( type, fn ){
2989 function liveHandler( event ){
2994 jQuery.each(jQuery.data(this, "events").live || [], function(i, fn){
3002 elems.sort(function(a,b) {
3006 jQuery.each(elems, function(){
3014 function liveConvert(type, selector){
3022 ready: function() {
3031 jQuery.each( jQuery.readyList, function(){
3047 function bindReady(){
3054 document.addEventListener( "DOMContentLoaded", function(){
3063 document.attachEvent("onreadystatechange", function(){
3072 if ( document.documentElement.doScroll && window == window.top ) (function(){
3095 "change,select,submit,keydown,keypress,keyup,error").split(","), function(i, name){
3098 jQuery.fn[name] = function(fn){
3106 jQuery( window ).bind( 'unload', function(){
3112 (function(){
3189 div.attachEvent("onclick", function(){
3200 jQuery(function(){
3228 load: function( url, params, callback ) {
3243 // If it's a function
3263 complete: function(res, status){
3287 serialize: function() {
3290 serializeArray: function() {
3291 return this.map(function(){
3294 .filter(function(){
3299 .map(function(i, elem){
3303 jQuery.map( val, function(val, i){
3312 jQuery.each( "ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","), function(i,o){
3313 jQuery.fn[o] = function(f){
3322 get: function( url, data, callback, type ) {
3338 getScript: function( url, callback ) {
3342 getJSON: function( url, data, callback ) {
3346 post: function( url, data, callback, type ) {
3361 ajaxSetup: function( settings ) {
3380 // This function can be overriden by calling jQuery.ajaxSetup
3381 xhr:function(){
3397 ajax: function( s ) {
3419 // Build temporary JSONP function
3433 window[ jsonp ] = function(tmp){
3487 script.onload = script.onreadystatechange = function(){
3553 var onreadystatechange = function(isTimeout){
3624 setTimeout(function(){
3642 function success(){
3652 function complete(){
3670 handleError: function( s, xhr, status, e ) {
3683 httpSuccess: function( xhr ) {
3693 httpNotModified: function( xhr, url ) {
3703 httpData: function( xhr, type, s ) {
3711 // Allow a pre-filtering function to sanitize the response
3733 param: function( a ) {
3736 function add( key, value ){
3744 jQuery.each( a, function(){
3754 jQuery.each( a[j], function(){
3776 function genFx( type, num ){
3778 jQuery.each( fxAttrs.concat.apply([], fxAttrs.slice(0,num)), function(){
3785 show: function(speed,callback){
3825 hide: function(speed,callback){
3845 // Save the old toggle function
3848 toggle: function( fn, fn2 ){
3854 this.each(function(){
3861 fadeTo: function(speed,to,callback){
3865 animate: function( prop, speed, easing, callback ) {
3868 return this[ optall.queue === false ? "each" : "queue" ](function(){
3892 jQuery.each( prop, function(name, val){
3927 stop: function(clearQueue, gotoEnd){
3933 this.each(function(){
3960 }, function( name, props ){
3961 jQuery.fn[ name ] = function( speed, callback ){
3968 speed: function(speed, easing, fn) {
3981 opt.complete = function(){
3992 linear: function( p, n, firstNum, diff ) {
3995 swing: function( p, n, firstNum, diff ) {
4002 fx: function( elem, options, prop ){
4015 // Simple function for setting a style value
4016 update: function(){
4028 cur: function(force){
4037 custom: function(from, to, unit){
4046 function t(gotoEnd){
4053 timerId = setInterval(function(){
4068 // Simple 'show' function
4069 show: function(){
4083 // Simple 'hide' function
4084 hide: function(){
4094 step: function(gotoEnd){
4129 // Execute the complete function
4138 // Perform the easing function, defaults to swing
4160 opacity: function(fx){
4164 _default: function(fx){
4173 jQuery.fn.offset = function() {
4183 jQuery.fn.offset = function() {
4222 initialize: function() {
4248 bodyOffset: function(body) {
4260 position: function() {
4291 offsetParent: function() {
4301 jQuery.each( ['Left', 'Top'], function(i, name) {
4304 jQuery.fn[ method ] = function(val) {
4310 this.each(function() {
4328 jQuery.each([ "Height", "Width" ], function(i, name){
4335 jQuery.fn["inner" + name] = function(){
4342 jQuery.fn["outer" + name] = function(margin) {
4350 jQuery.fn[ type ] = function( size ) {