/yui3/src/jsonp/tests/server/ |
H A D | service.php | 3 $callback = $_GET['callback']; variable 13 echo $callback . '({"data":"here","callback":"'.$callback.'"})';
|
/yui3/build/queue-promote/ |
H A D | queue-promote-debug.js | 18 indexOf : function (callback) { 19 return Y.Array.indexOf(this._q, callback); 28 promote : function (callback) { 29 var index = this.indexOf(callback); 42 remove : function (callback) { 43 var index = this.indexOf(callback);
|
/yui3/src/queue-promote/js/ |
H A D | queue-promote.js | 16 indexOf : function (callback) { 17 return Y.Array.indexOf(this._q, callback); 26 promote : function (callback) { 27 var index = this.indexOf(callback); 40 remove : function (callback) { 41 var index = this.indexOf(callback);
|
/yui3/src/async-queue/js/ |
H A D | async-queue.js | 19 * <li><code>fn</code> -- The callback function</li> 23 * (Applies to each iterative execution of callback)</li> 24 * <li><code>iterations</code> -- Number of times to repeat the callback. 25 * <li><code>until</code> -- Repeat the callback until this function returns 28 * executing the next callback in the Queue after 29 * the callback completes.</li> 31 * indexOf, or delete this callback.</li> 37 * @param callback* {Function|Object} 0..n callbacks to seed the queue 54 * <p>Static default values used to populate callback configuration properties. 80 * Used to indicate the queue is currently executing a callback [all...] |
/yui3/build/async-queue/ |
H A D | async-queue-debug.js | 21 * <li><code>fn</code> -- The callback function</li> 25 * (Applies to each iterative execution of callback)</li> 26 * <li><code>iterations</code> -- Number of times to repeat the callback. 27 * <li><code>until</code> -- Repeat the callback until this function returns 30 * executing the next callback in the Queue after 31 * the callback completes.</li> 33 * indexOf, or delete this callback.</li> 39 * @param callback* {Function|Object} 0..n callbacks to seed the queue 56 * <p>Static default values used to populate callback configuration properties. 82 * Used to indicate the queue is currently executing a callback [all...] |
/yui3/src/node/js/ |
H A D | node-view.js | 18 * @param {Function} callback An optional function to run after the transition completes. 21 show: function(callback) { 22 callback = arguments[arguments.length - 1]; 23 this.toggleView(true, callback); 51 * @param {Function} [callback] An optional function to run after the transition completes. 54 toggleView: function(on, callback) { 59 _toggleView: function(on, callback) { 60 callback = arguments[arguments.length - 1]; 73 if (typeof callback == 'function') { 74 callback [all...] |
H A D | node-load.js | 14 * @param {Array} args An array containing the callback and selector 19 callback = args[1], 31 if (callback) { 32 callback.call(this, code, response); 42 * @param {Function} callback An optional function to run after the content has been loaded. 45 Y.Node.prototype.load = function(url, selector, callback) { 47 callback = selector; 55 arguments: [selector, callback]
|
/yui3/build/node-load/ |
H A D | node-load-debug.js | 16 * @param {Array} args An array containing the callback and selector 21 callback = args[1], 33 if (callback) { 34 callback.call(this, code, response); 44 * @param {Function} callback An optional function to run after the content has been loaded. 47 Y.Node.prototype.load = function(url, selector, callback) { 49 callback = selector; 57 arguments: [selector, callback]
|
/yui3/src/parallel/js/ |
H A D | parallel.js | 29 @param {Object} [o.context=Y] The execution context of the callback to done 63 * Add a callback to the stack 65 * @param {Function} fn The function callback we are waiting for 77 * Test to see if all registered items in the stack have completed, if so call the callback to `done` 82 if (self.finished >= self.total && self.callback) { 83 self.callback.call(self.context, self.results, self.data); 89 * @param {Function} callback The callback to execute on complete 90 * @param {Mixed} callback.results The results of all the callbacks in the stack 91 * @param {Mixed} [callback [all...] |
/yui3/build/parallel/ |
H A D | parallel-debug.js | 31 @param {Object} [o.context=Y] The execution context of the callback to done 65 * Add a callback to the stack 67 * @param {Function} fn The function callback we are waiting for 79 * Test to see if all registered items in the stack have completed, if so call the callback to `done` 84 if (self.finished >= self.total && self.callback) { 85 self.callback.call(self.context, self.results, self.data); 91 * @param {Function} callback The callback to execute on complete 92 * @param {Mixed} callback.results The results of all the callbacks in the stack 93 * @param {Mixed} [callback [all...] |
/yui3/src/datasource/tests/src/ |
H A D | datasource-function.js | 18 request = null, response, tId, data, callback; 22 callback: { 28 callback = e.callback; 37 Assert.isNotUndefined(callback); 54 Assert.areSame("callback", e.callback, "request: Expected callback."); 62 Assert.areSame("callback", e.callback, "dat [all...] |
H A D | datasource-get.js | 22 var fn = uri.match(/callback=YUI\.Env\.DataSource\.callbacks\.([^&]*)/)[1]; 27 request, response, tId, data, callback; 31 callback: { 37 callback = e.callback; 46 Assert.isNotUndefined(callback); 54 var fn = uri.match(/callback=YUI\.Env\.DataSource\.callbacks\.([^&]*)/)[1]; 72 Assert.areSame("callback", e.callback, "request: Expected callback [all...] |
H A D | datasource-polling.js | 22 callback: { 51 callback: { 58 callback: { 65 callback: { 97 callback: {
|
H A D | datasource-io.js | 31 request, response, tId, data, callback; 35 callback: { 41 callback = e.callback; 50 Assert.isNotUndefined(callback); 79 callback: { 89 callback: null 119 callback: { 128 callback: null 170 Assert.areSame("callback", [all...] |
/yui3/src/datasource/tests/ |
H A D | datasource-function-tests.js | 20 request = null, response, tId, data, callback; 24 callback: { 30 callback = e.callback; 39 Assert.isNotUndefined(callback); 56 Assert.areSame("callback", e.callback, "request: Expected callback."); 64 Assert.areSame("callback", e.callback, "dat [all...] |
H A D | datasource-get-tests.js | 24 var fn = uri.match(/callback=YUI\.Env\.DataSource\.callbacks\.([^&]*)/)[1]; 29 request, response, tId, data, callback; 33 callback: { 39 callback = e.callback; 48 Assert.isNotUndefined(callback); 56 var fn = uri.match(/callback=YUI\.Env\.DataSource\.callbacks\.([^&]*)/)[1]; 74 Assert.areSame("callback", e.callback, "request: Expected callback [all...] |
H A D | datasource-polling-tests.js | 24 callback: { 53 callback: { 60 callback: { 67 callback: { 99 callback: {
|
/yui3/build/jsonp/ |
H A D | jsonp-debug.js | 7 * method Y.jsonp(url, callback) to instantiate and send a JSONP request.</p> 10 * parameters: a url string and a callback.</p> 13 * "{callback}" which will be replaced by a dynamically 14 * generated routing function to pass the data to your callback function. 16 * "http://example.com/service?callback={callback}".</p> 18 * <p>The second parameter can be a callback function that accepts the JSON 21 * <li>on - map of callback subscribers 39 * @param callback {Object|Function} the default callback configuratio [all...] |
/yui3/build/model/ |
H A D | model-debug.js | 226 @param {callback} [callback] Called after the model has been destroyed (and 228 @param {Error|null} callback.err If an error occurred, this parameter will 232 destroy: function (options, callback) { 235 // Allow callback as only arg. 237 callback = options; 249 callback && callback.apply(null, arguments); 381 @param {callback} [callback] Calle [all...] |
/yui3/src/app/js/ |
H A D | model.js | 224 @param {callback} [callback] Called after the model has been destroyed (and 226 @param {Error|null} callback.err If an error occurred, this parameter will 230 destroy: function (options, callback) { 233 // Allow callback as only arg. 235 callback = options; 247 callback && callback.apply(null, arguments); 379 @param {callback} [callback] Calle [all...] |
/yui3/build/transition/ |
H A D | transition-debug.js | 251 run: function(callback) { 270 anim._callback = callback; 352 callback = anim._callback, 371 if (callback) { 372 callback.call(nodeInstance, data); 376 } else if (callback) { 378 callback.call(nodeInstance, data); 468 * @param {Function} callback A function to run after the transition has completed. 471 Y.Node.prototype.transition = function(name, config, callback) { 480 callback [all...] |
/yui3/build/transition-native/ |
H A D | transition-native-debug.js | 250 run: function(callback) { 271 anim._callback = callback; 357 callback = anim._callback, 376 if (callback) { 377 callback.call(nodeInstance, data); 381 } else if (callback) { 383 callback.call(nodeInstance, data); 479 * @param {Function} callback A function to run after the transition has completed. 482 Y.Node.prototype.transition = function(name, config, callback) { 491 callback [all...] |
/yui3/src/jsonp/tests/ |
H A D | jsonp-tests.js | 10 return function (node, callback) { 19 callback(); 33 callback(); 50 Y.jsonp("server/service.php?callback={callback}", function () {}); 60 Y.jsonp("server/service.php?callback={callback}", { 73 // to allow JSONP the chance to clean up the callback registry 75 // was to wait() and resume() in the success callback, but for some 77 // success callback, s [all...] |
/yui3/src/jsonp/tests/src/ |
H A D | jsonp.js | 8 return function (node, callback) { 17 callback(); 31 callback(); 48 Y.jsonp("server/service.php?callback={callback}", function () {}); 58 Y.jsonp("server/service.php?callback={callback}", { 71 // to allow JSONP the chance to clean up the callback registry 73 // was to wait() and resume() in the success callback, but for some 75 // success callback, s [all...] |
/yui3/src/jsonp/js/ |
H A D | jsonp.js | 5 * method Y.jsonp(url, callback) to instantiate and send a JSONP request.</p> 8 * parameters: a url string and a callback.</p> 11 * "{callback}" which will be replaced by a dynamically 12 * generated routing function to pass the data to your callback function. 14 * "http://example.com/service?callback={callback}".</p> 16 * <p>The second parameter can be a callback function that accepts the JSON 19 * <li>on - map of callback subscribers 37 * @param callback {Object|Function} the default callback configuratio [all...] |