Searched refs:callback (Results 1 - 25 of 95) sorted by relevance

1234

/yui3/src/jsonp/tests/server/
H A Dservice.php3 $callback = $_GET['callback']; variable
13 echo $callback . '({"data":"here","callback":"'.$callback.'"})';
/yui3/build/queue-promote/
H A Dqueue-promote-debug.js18 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 Dqueue-promote.js16 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 Dasync-queue.js19 * <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 Dasync-queue-debug.js21 * <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 Dnode-view.js18 * @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 Dnode-load.js14 * @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 Dnode-load-debug.js16 * @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 Dparallel.js29 @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 Dparallel-debug.js31 @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 Ddatasource-function.js18 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 Ddatasource-get.js22 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 Ddatasource-polling.js22 callback: {
51 callback: {
58 callback: {
65 callback: {
97 callback: {
H A Ddatasource-io.js31 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 Ddatasource-function-tests.js20 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 Ddatasource-get-tests.js24 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 Ddatasource-polling-tests.js24 callback: {
53 callback: {
60 callback: {
67 callback: {
99 callback: {
/yui3/build/jsonp/
H A Djsonp-debug.js7 * method Y.jsonp(url, callback) to instantiate and send a JSONP request.</p>
10 * parameters: a url string and a callback.</p>
13 * &quot;{callback}&quot; which will be replaced by a dynamically
14 * generated routing function to pass the data to your callback function.
16 * &quot;http://example.com/service?callback={callback}&quot;.</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 Dmodel-debug.js226 @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 Dmodel.js224 @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 Dtransition-debug.js251 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 Dtransition-native-debug.js250 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 Djsonp-tests.js10 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 Djsonp.js8 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 Djsonp.js5 * method Y.jsonp(url, callback) to instantiate and send a JSONP request.</p>
8 * parameters: a url string and a callback.</p>
11 * &quot;{callback}&quot; which will be replaced by a dynamically
12 * generated routing function to pass the data to your callback function.
14 * &quot;http://example.com/service?callback={callback}&quot;.</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...]

Completed in 1305 milliseconds

1234