Searched refs:segment (Results 1 - 6 of 6) sorted by relevance

/yui3/src/test/js/
H A DWait.js5 * @param {Function} segment A function to run when the wait is over.
12 YUITest.Wait = function (segment, delay) {
15 * The segment of code to run when the wait is over.
17 * @property segment
19 this.segment = (typeof segment == "function" ? segment : null);
22 * The delay before running the segment of code.
H A DTestCase.js48 * @param {Function} segment (Optional) The function to run.
53 resume : function (segment) {
54 YUITest.TestRunner.resume(segment);
60 * @param {Function} segment (Optional) The function to run after the delay.
67 wait : function (segment, delay){
69 var actualDelay = (typeof segment == "number" ? segment : delay);
72 if (typeof segment == "function"){
73 throw new YUITest.Wait(segment, actualDelay);
H A DTestRunner.js568 _resumeTest : function (segment) {
606 segment.call(testCase, this._context);
637 if (typeof thrown.segment == "function"){
643 YUITest.TestRunner._resumeTest(thrown.segment);
957 * @param {Function} segment The function to run as the rest
963 resume : function (segment) {
965 this._resumeTest(segment || function(){});
/yui3/src/pjax/js/
H A Dpjax-base.js162 Returns the current path root after popping off the last path segment,
267 i, len, normalized, segments, segment, stack;
277 segment = segments[i];
279 if (segment === dots) {
281 } else if (segment) {
282 stack.push(segment);
/yui3/build/pjax-base/
H A Dpjax-base-debug.js164 Returns the current path root after popping off the last path segment,
269 i, len, normalized, segments, segment, stack;
279 segment = segments[i];
281 if (segment === dots) {
283 } else if (segment) {
284 stack.push(segment);
/yui3/build/test/
H A Dtest-debug.js274 * @param {Function} segment (Optional) The function to run.
279 resume : function (segment) {
280 YUITest.TestRunner.resume(segment);
286 * @param {Function} segment (Optional) The function to run after the delay.
293 wait : function (segment, delay){
295 var actualDelay = (typeof segment == "number" ? segment : delay);
298 if (typeof segment == "function"){
299 throw new YUITest.Wait(segment, actualDelay);
1347 _resumeTest : function (segment) {
[all...]

Completed in 47 milliseconds