Searched refs:data (Results 1 - 25 of 200) sorted by relevance

12345678

/yui3/src/io/tests/php/
H A Dpost.php6 $data = $_POST['hello']; variable
7 $data .= "&" . $_POST['foo'];
8 echo $data;
H A Dput.php6 $data = $_POST['hello']; variable
7 $data .= "&" . $_POST['foo'];
8 echo $data;
/yui3/src/datatype/js/
H A Ddatatype-xml-format.js25 * Converts data to type XMLDocument.
28 * @param data {XMLDoc} Data to convert.
31 format: function(data) {
34 return (new XMLSerializer()).serializeToString(data);
38 if(data && data.xml) {
39 return data.xml;
42 Y.log("Could not format data from type XML", "warn", "datatype-xml");
43 return (LANG.isValue(data) && data
[all...]
H A Ddatatype-number-parse.js13 * Converts data to type Number.
16 * @param data {String | Number | Boolean} Data to convert. The following
20 parse: function(data) {
21 var number = (data === null) ? data : +data;
26 Y.log("Could not parse data to type Number", "warn", "datatype-number");
H A Ddatatype-date-parse.js12 * Converts data to type Date.
15 * @param data {String | Number} Data to convert. Values supported by the Date constructor are supported.
18 parse: function(data) {
22 if(!(LANG.isDate(data))) {
23 date = new Date(data);
34 Y.log("Could not convert data to type Date", "warn", "date");
H A Ddatatype-xml-parse.js13 * Converts data to type XMLDocument.
16 * @param data {String} Data to convert.
19 parse: function(data) {
21 if(LANG.isString(data)) {
26 xmlDoc.loadXML(data);
32 xmlDoc = new DOMParser().parseFromString(data, "text/xml");
37 Y.log(ee.message + " (Could not parse data to type XML Document)", "warn", "datatype-xml");
42 Y.log("Could not parse data to type XML Document", "warn", "datatype-xml");
/yui3/build/datatype-xml-format/
H A Ddatatype-xml-format-debug.js27 * Converts data to type XMLDocument.
30 * @param data {XMLDoc} Data to convert.
33 format: function(data) {
36 return (new XMLSerializer()).serializeToString(data);
40 if(data && data.xml) {
41 return data.xml;
44 Y.log("Could not format data from type XML", "warn", "datatype-xml");
45 return (LANG.isValue(data) && data
[all...]
/yui3/src/test/js/
H A DTestSuite.js5 * @param {String||Object} data The name of the test suite or an object containing
11 YUITest.TestSuite = function (data) {
29 if (typeof data == "string"){
30 this.name = data;
31 } else if (data instanceof Object){
32 for (var prop in data){
33 if (data.hasOwnProperty(prop)){
34 this[prop] = data[prop];
/yui3/build/datatype-number-parse/
H A Ddatatype-number-parse-debug.js15 * Converts data to type Number.
18 * @param data {String | Number | Boolean} Data to convert. The following
22 parse: function(data) {
23 var number = (data === null) ? data : +data;
28 Y.log("Could not parse data to type Number", "warn", "datatype-number");
/yui3/src/yui/js/
H A Dyui-later.js21 * @param data [Array] data that is provided to the function. This
35 Y.later = function(when, o, fn, data, periodic) {
37 data = (!Y.Lang.isUndefined(data)) ? Y.Array(data) : NO_ARGS;
49 method(data[0], data[1], data[2], data[
[all...]
/yui3/build/yui-later/
H A Dyui-later-debug.js23 * @param data [Array] data that is provided to the function. This
37 Y.later = function(when, o, fn, data, periodic) {
39 data = (!Y.Lang.isUndefined(data)) ? Y.Array(data) : NO_ARGS;
51 method(data[0], data[1], data[2], data[
[all...]
/yui3/src/collection/tests/
H A Darray-extras-test.js15 this.data = [1, 2, 3, 4, 5];
19 delete this.data;
23 var data = ['a', 'a', null, 'c', 'c', 'd'];
25 Assert.areSame(1, A.lastIndexOf(data, 'a'));
26 Assert.areSame(2, A.lastIndexOf(data, null));
27 Assert.areSame(-1, A.lastIndexOf(data, false));
28 Assert.areSame(4, A.lastIndexOf(data, 'c'));
29 Assert.areSame(5, A.lastIndexOf(data, 'd'));
30 Assert.areSame(-1, A.lastIndexOf(data, 'x'));
35 var data
[all...]
H A Darray-invoke-tests.js21 this.data = [
37 var ret = Y.Array.invoke(this.data);
44 var ret = Y.Array.invoke(this.data, 'getName');
50 this.data[2] = null;
52 var ret = Y.Array.invoke(this.data, 'getName');
58 var ret = Y.Array.invoke(this.data, 'takesArgs', 1, 10);
64 this.data[2] = null;
66 var ret = Y.Array.invoke(this.data, 'takesArgs', 1, 10);
72 var ret = Y.Array.invoke(this.data, "noSuchMethod");
/yui3/build/datasource-jsonschema/
H A Ddatasource-jsonschema-debug.js4 * Extends DataSource with schema-parsing on JSON data.
69 * Parses raw data into a normalized response. To accommodate XHR responses,
70 * will first look for data in data.responseText. Otherwise will just work
71 * with data.
81 * @param data {Object} Raw data.
85 var data = e.data && (e.data
[all...]
/yui3/src/collection/tests/src/
H A Darray-invoke.js19 this.data = [
35 var ret = Y.Array.invoke(this.data);
42 var ret = Y.Array.invoke(this.data, 'getName');
48 this.data[2] = null;
50 var ret = Y.Array.invoke(this.data, 'getName');
56 var ret = Y.Array.invoke(this.data, 'takesArgs', 1, 10);
62 this.data[2] = null;
64 var ret = Y.Array.invoke(this.data, 'takesArgs', 1, 10);
70 var ret = Y.Array.invoke(this.data, "noSuchMethod");
/yui3/build/datasource-textschema/
H A Ddatasource-textschema-debug.js4 * Extends DataSource with schema-parsing on text data.
69 * Parses raw data into a normalized response.
79 * @param data {Object} Raw data.
86 data = e.data.responseText || e.data;
88 payload.response = Y.DataSchema.Text.apply.call(this, schema, data) || {
90 results: data
/yui3/build/datasource-xmlschema/
H A Ddatasource-xmlschema-debug.js4 * Extends DataSource with schema-parsing on XML data.
69 * Parses raw data into a normalized response.
79 * @param data {Object} Raw data.
86 data = e.data.responseXML || e.data;
88 payload.response = Y.DataSchema.XML.apply.call(this, schema, data) || {
90 results: data
/yui3/src/handlebars/js/
H A Dhandlebars-runtime.js11 program: function(i, fn, data) {
13 if(data) {
14 return Handlebars.VM.program(fn, data);
28 return templateSpec.call(container, Handlebars, context, options.helpers, options.partials, options.data);
32 programWithDepth: function(fn, data, $depth) {
38 return fn.apply(this, [context, options.data || data].concat(args));
41 program: function(fn, data) {
45 return fn(context, options.data || data);
50 var options = { helpers: helpers, partials: partials, data: data }; property
[all...]
/yui3/build/datatype-date-parse/
H A Ddatatype-date-parse-debug.js14 * Converts data to type Date.
17 * @param data {String | Number} Data to convert. Values supported by the Date constructor are supported.
20 parse: function(data) {
24 if(!(LANG.isDate(data))) {
25 date = new Date(data);
36 Y.log("Could not convert data to type Date", "warn", "date");
/yui3/src/datasource/js/
H A Ddatasource-arrayschema.js2 * Extends DataSource with schema-parsing on array data.
67 * Parses raw data into a normalized response.
77 * @param data {Object} Raw data.
81 var data = (Y.DataSource.IO && (this.get("host") instanceof Y.DataSource.IO) && Y.Lang.isString(e.data.responseText)) ? e.data.responseText : e.data,
82 response = Y.DataSchema.Array.apply.call(this, this.get("schema"), data),
89 results: data
[all...]
H A Ddatasource-jsonschema.js2 * Extends DataSource with schema-parsing on JSON data.
67 * Parses raw data into a normalized response. To accommodate XHR responses,
68 * will first look for data in data.responseText. Otherwise will just work
69 * with data.
79 * @param data {Object} Raw data.
83 var data = e.data && (e.data
[all...]
/yui3/build/datasource-arrayschema/
H A Ddatasource-arrayschema-debug.js4 * Extends DataSource with schema-parsing on array data.
69 * Parses raw data into a normalized response.
79 * @param data {Object} Raw data.
83 var data = (Y.DataSource.IO && (this.get("host") instanceof Y.DataSource.IO) && Y.Lang.isString(e.data.responseText)) ? e.data.responseText : e.data,
84 response = Y.DataSchema.Array.apply.call(this, this.get("schema"), data),
91 results: data
[all...]
/yui3/build/datatype-number-format/
H A Ddatatype-number-format-debug.js30 * @param data {Number} Number.
47 format: function(data, config) {
48 if(LANG.isNumber(data)) {
51 var isNeg = (data < 0),
52 output = data + "",
62 output = data.toFixed(decPlaces);
98 Y.log("Could not format data from type Number", "warn", "datatype-number");
99 return (LANG.isValue(data) && data.toString) ? data
[all...]
/yui3/build/io-nodejs/
H A Dio-nodejs-debug.js29 data: '?foo=bar',
81 if (config.data) {
82 rconf.body = config.data;
94 Y.IO.request(rconf, function(err, data) {
103 if (data) {
105 status: data.statusCode,
106 statusCode: data.statusCode,
107 headers: data.headers,
108 responseText: data.body,
121 config.notify(((data
[all...]
/yui3/src/yui/tests/
H A Darray-test.js50 data = ['a', 'b', 'c', 'd'],
53 Y.Array.each(data, function (item, index, array) {
56 Assert.areSame(data[index], item, 'the current item should be passed to the callback');
57 Assert.areSame(data, array, 'the array should be passed to the callback');
63 Y.Array.each(data, function () {
113 var data = ['a', 'b', 1, 0, false, null, 'a'];
115 Assert.areSame(0, Y.Array.indexOf(data, 'a'), 'should find the first match');
116 Assert.areSame(-1, Y.Array.indexOf(data, 'z'), 'should return -1 on no match');
117 Assert.areSame(2, Y.Array.indexOf(data, 1), 'should find numbers');
118 Assert.areSame(4, Y.Array.indexOf(data, fals
[all...]

Completed in 90 milliseconds

12345678