/yui3/src/querystring/js/ |
H A D | querystring-stringify-simple.js | 6 * without the additional support for nested data structures. Every key-value pair is 31 * supported. When set to true, the key of an 33 * to the key;. 38 // Default behavior is false; standard key notation. 40 key, i, l; 42 for (key in obj) { 43 if (obj.hasOwnProperty(key)) { 44 if (Y.Lang.isArray(obj[key])) { 45 for (i = 0, l = obj[key].length; i < l; i++) { 46 qs.push(EUC(s ? key [all...] |
H A D | querystring-parse.js | 28 // Parse a key=val string. 38 return function parsePiece (key, val) { 43 // key=val, called from the map/reduce 44 key = key.split(eq); 46 QueryString.unescape(key.shift()), 47 QueryString.unescape(key.join(eq)) 50 key = key.replace(/^\s+|\s+$/g, ''); 61 sliced = /(.*)\[([^\]]*)\]$/.exec(key); [all...] |
/yui3/build/querystring-stringify-simple/ |
H A D | querystring-stringify-simple-debug.js | 8 * without the additional support for nested data structures. Every key-value pair is 33 * supported. When set to true, the key of an 35 * to the key;. 40 // Default behavior is false; standard key notation. 42 key, i, l; 44 for (key in obj) { 45 if (obj.hasOwnProperty(key)) { 46 if (Y.Lang.isArray(obj[key])) { 47 for (i = 0, l = obj[key].length; i < l; i++) { 48 qs.push(EUC(s ? key [all...] |
/yui3/src/file/tests/manual/ |
H A D | upload.php | 10 foreach($_POST as $key => $value) echo $key."=".htmlentities($value)."\n"; variable 12 foreach($_GET as $key => $value) echo $key."=".htmlentities($value)."\n"; variable
|
/yui3/src/yui/js/ |
H A D | yui-core.js | 27 string `[object Object]` when used as a cache key. 43 var key = arguments.length > 1 ? 47 if (!(key in cache) || (refetch && cache[key] == refetch)) { 48 cache[key] = source.apply(source, arguments); 51 return cache[key]; 144 var alwaysOverwrite, exists, from, i, key, len, to; 184 key = whitelist[i]; 191 if (!hasOwn.call(from, key)) { 195 // The `key i [all...] |
H A D | yui-object.js | 102 * @param {String} key Property name to look for. 106 owns = O.owns = function (obj, key) { 107 return !!obj && hasOwn.call(obj, key); 115 * @param {String} key Property name to look for. 148 i, key, len; 151 for (key in obj) { 152 if (owns(obj, key) && key !== 'prototype') { 153 keys.push(key); 157 for (key i [all...] |
/yui3/src/attribute/js/ |
H A D | State.js | 27 * @param key {String} The name of the property. 30 add : function(name, key, val) { 33 d[name][key] = val; 44 var key; 46 for (key in o) { 47 if (o.hasOwnProperty(key)) { 48 this.add(name, key, o[key]); 58 * @param key {String} The property to remove. 60 remove: function(name, key) { [all...] |
/yui3/build/recordset-indexer/ |
H A D | recordset-indexer-debug.js | 10 * This utility does not support any collision handling. New hash table entries with a used key overwrite older ones. 25 * The individual tables can be accessed by the key they are hashing against. 65 * @description Setup the hash table for a given key with all existing records in the recordset 68 * @param key {string} A key to hash by. 72 _setHashTable: function(key) { 79 obj[host._items[i].getValue(key)] = host._items[i]; 99 //in each hashtable, look to see if the key is represented in the object being added. 101 function(v, key) { 104 //if the object being added has a key whic [all...] |
/yui3/src/recordset/js/ |
H A D | recordset-indexer.js | 8 * This utility does not support any collision handling. New hash table entries with a used key overwrite older ones. 23 * The individual tables can be accessed by the key they are hashing against. 63 * @description Setup the hash table for a given key with all existing records in the recordset 66 * @param key {string} A key to hash by. 70 _setHashTable: function(key) { 77 obj[host._items[i].getValue(key)] = host._items[i]; 97 //in each hashtable, look to see if the key is represented in the object being added. 99 function(v, key) { 102 //if the object being added has a key whic [all...] |
/yui3/build/querystring-parse/ |
H A D | querystring-parse-debug.js | 30 // Parse a key=val string. 40 return function parsePiece (key, val) { 45 // key=val, called from the map/reduce 46 key = key.split(eq); 48 QueryString.unescape(key.shift()), 49 QueryString.unescape(key.join(eq)) 52 key = key.replace(/^\s+|\s+$/g, ''); 63 sliced = /(.*)\[([^\]]*)\]$/.exec(key); [all...] |
/yui3/src/charts/js/ |
H A D | Renderer.js | 83 Y.Object.each(a, function(value, key, a) 85 if(b.hasOwnProperty(key) && Y_Lang.isObject(value) && !Y_Lang.isFunction(value) && !Y_Lang.isArray(value)) 87 newstyles[key] = this._mergeStyles(value, b[key]); 91 newstyles[key] = value;
|
H A D | StackedAxis.js | 34 key, 40 for(key in keys) 42 if(keys.hasOwnProperty(key)) 44 len = Math.max(len, keys[key].length); 51 for(key in keys) 53 if(keys.hasOwnProperty(key)) 55 num = keys[key][i];
|
H A D | CategoryAxis.js | 33 * Object storing key data. 71 * Gets an array of values based on a key. 74 * @param {String} key Value key associated with the data array. 79 _getKeyArray: function(key, data) 94 labels[i] = obj[key]; 96 this._indices[key] = keyArr; 101 * Sets data by key 104 * @param {String} key Key value to use. 108 _setDataByKey: function(key) [all...] |
/yui3/src/handlebars/js/ |
H A D | yui-handlebars-utils.js | 10 key; 12 for (key in error) { 13 if (error.hasOwnProperty(key)) { 14 this[key] = error[key];
|
/yui3/build/dataschema-json/ |
H A D | dataschema-json-debug.js | 125 * `key` : <strong>(required)</strong> The path locator (String) 138 array of objects with key:value pairs assuming the fields in 194 key: 'name', 198 key: 'price', 271 // Fall back to treat resultListLocator as a simple key 310 field, key, locator, path, parser, val, 317 key = field.key || field; // Find the key 318 locator = field.locator || key; // Fin [all...] |
/yui3/build/history-base/ |
H A D | history-base-debug.js | 37 * Initial state to set, as an object hash of key/value pairs. This will be 222 * key is the item key, and the value is an object containing 231 * Object hash of key/value pairs of all state items after the 237 * Object hash of key/value pairs of all state items before the 243 * Object hash of key/value pairs of state items that have been 271 * <code>undefined</code> value will cause that key to be removed from the 275 * @param {Object} state Object hash of key/value pairs. 302 * Adds a state entry with a new value for a single key. By default, the new 304 * existing value with the same key i [all...] |
/yui3/build/cache-offline/ |
H A D | cache-offline-debug.js | 131 var store = localStorage, key; 138 for (key in store) { 139 if (store.hasOwnProperty(key)) { 140 store.removeItem(key); 141 delete store[key]; 187 if(localStorage.key(i).indexOf(this.get("sandbox")) === 0) { 207 if(localStorage.key(i).indexOf(sandbox) === 0) { 208 entries[i] = JSON.parse(localStorage.key(i).substring(sandbox.length)); 253 var key, 257 key [all...] |
/yui3/src/dataschema/js/ |
H A D | dataschema-json.js | 123 * `key` : <strong>(required)</strong> The path locator (String) 136 array of objects with key:value pairs assuming the fields in 192 key: 'name', 196 key: 'price', 269 // Fall back to treat resultListLocator as a simple key 308 field, key, locator, path, parser, val, 315 key = field.key || field; // Find the key 316 locator = field.locator || key; // Fin [all...] |
/yui3/src/substitute/js/ |
H A D | substitute.js | 47 process each match. It receives the key, 49 the key inside of the braces. 57 function getAttrVal(key, value, name) { 61 if (key === "@") { 73 var i, j, k, key, v, meta, saved = [], token, dump, 86 //Extract key and meta info 88 key = token; 90 k = key.indexOf(SPACE); 92 meta = key.substring(k + 1); 93 key [all...] |
/yui3/build/datatable-sort-deprecated/ |
H A D | datatable-sort-deprecated-debug.js | 81 * @description Describes last known sort state: {key,dir}, where 82 * "key" is column key and "dir" is either "asc" or "desc". 179 * @param val {String | Object} {key, dir} or "key" 180 * @return {key, dir, notdir} 185 val = { key: val, dir: "desc" }; 190 { key: val.key, dir: "desc", notdir: "asc" } : 191 { key [all...] |
/yui3/src/event/tests/ |
H A D | event-key-tests.js | 1 YUI.add('event-key-tests', function(Y) { 3 Y.Node.prototype.key = function (keyCode, charCode, mods, type) { 57 var suite = new Y.Test.Suite("event-key"); 60 name: "node.on('key',...)", 65 "test node.on('key', fn, '65')": function () { 69 input.on("key", function (e) { 77 input.key(65); 80 Y.Assert.areSame("key", type); 86 "test node.on('key', fn, '65', thisObj)": function () { 91 input.on("key", functio [all...] |
/yui3/src/history/js/ |
H A D | history-base.js | 35 * Initial state to set, as an object hash of key/value pairs. This will be 220 * key is the item key, and the value is an object containing 229 * Object hash of key/value pairs of all state items after the 235 * Object hash of key/value pairs of all state items before the 241 * Object hash of key/value pairs of state items that have been 269 * <code>undefined</code> value will cause that key to be removed from the 273 * @param {Object} state Object hash of key/value pairs. 300 * Adds a state entry with a new value for a single key. By default, the new 302 * existing value with the same key i [all...] |
/yui3/src/event/tests/src/ |
H A D | event-key.js | 1 Y.Node.prototype.key = function (keyCode, charCode, mods, type) { 55 var suite = new Y.Test.Suite("event-key"); 58 name: "node.on('key',...)", 63 "test node.on('key', fn, '65')": function () { 67 input.on("key", function (e) { 75 input.key(65); 78 Y.Assert.areSame("key", type); 84 "test node.on('key', fn, '65', thisObj)": function () { 89 input.on("key", function (e) { 97 input.key(6 [all...] |
/yui3/src/datatable-deprecated/js/ |
H A D | datatable-sort.js | 94 * @description Describes last known sort state: {key,dir}, where 95 * "key" is column key and "dir" is either "asc" or "desc". 192 * @param val {String | Object} {key, dir} or "key" 193 * @return {key, dir, notdir} 198 val = { key: val, dir: "desc" }; 203 { key: val.key, dir: "desc", notdir: "asc" } : 204 { key [all...] |
/yui3/build/dataschema-array/ |
H A D | dataschema-array-debug.js | 49 array of objects with key:value pairs assuming the fields in 59 * `key` : <strong>(required)</strong> The locator name (String) 97 key: 'fruit', 101 key: 'price', 156 result, item, type, field, key, value, i, j; 165 key = (!LANG.isUndefined(field.key)) ? field.key : field; 166 value = (!LANG.isUndefined(item[key])) ? item[key] [all...] |