Searched refs:state (Results 1 - 25 of 41) sorted by relevance

12

/yui3/src/io/tests/php/
H A Dhttp.php5 $state = 'success'; variable
15 $state = 'failure'; variable
19 $state = 'failure'; variable
23 $state = 'exception'; variable
27 echo $state;
/yui3/src/attribute/js/
H A DAttributeExtras.js6 * store state.
53 prop, state;
61 state = host._state;
64 state.add(name, prop, config[prop]);
68 state.remove(name, PUBLISHED);
124 state = this._state;
127 o = state.getAll(name) || {};
130 Y.each(state.data, function(v, n) {
131 o[n] = state.getAll(n);
H A DAttributeEvents.js6 * store state.
109 state = host._state,
114 if (!state.get(attrName, PUBLISHED)) {
123 broadcast = state.get(attrName, BROADCAST);
130 state.add(attrName, PUBLISHED, true);
H A DAttributeCore.js6 * store state.
35 // Used for internal state management
49 * attributes to store and retrieve state, <strong>but without support for attribute change events</strong>.
110 * Constructor logic for attributes. Initializes the host state, and sets up the inital attributes passed to the
226 state = host._state,
235 state.addAll(name, {
241 if (host.attrAdded(name) && !state.get(name, IS_LAZY_ADD)) { Y.log('Attribute: ' + name + ' already exists. Cannot add it again without removing it first', 'warn', 'attribute'); }
243 if (!host.attrAdded(name) || state.get(name, IS_LAZY_ADD)) {
258 state.addAll(name, config);
265 state
[all...]
/yui3/build/attribute-extras/
H A Dattribute-extras-debug.js8 * store state.
55 prop, state;
63 state = host._state;
66 state.add(name, prop, config[prop]);
70 state.remove(name, PUBLISHED);
126 state = this._state;
129 o = state.getAll(name) || {};
132 Y.each(state.data, function(v, n) {
133 o[n] = state.getAll(n);
/yui3/src/io/tests/cli/
H A Dserver.js10 state, header;
14 state = 'success';
24 state = 'failure';
28 state = 'failure';
32 state = 'exception';
40 res.end(state);
/yui3/build/history-base/
H A Dhistory-base-debug.js7 * that return the user to the current application state, even in an Ajax
16 * Provides global state management backed by an object, but with no browser
32 * changes, even if there is no associated state change. Default is `false`.
37 * Initial state to set, as an object hash of key/value pairs. This will be
38 * merged into the current global state.
99 * Constant used to identify state changes originating from the
110 * Constant used to identify state changes originating from the
184 * changes, even if there is no associated state change.
193 * Resolved initial state: a merge of the user-supplied initial state
[all...]
/yui3/src/history/js/
H A Dhistory-base.js5 * that return the user to the current application state, even in an Ajax
14 * Provides global state management backed by an object, but with no browser
30 * changes, even if there is no associated state change. Default is `false`.
35 * Initial state to set, as an object hash of key/value pairs. This will be
36 * merged into the current global state.
97 * Constant used to identify state changes originating from the
108 * Constant used to identify state changes originating from the
182 * changes, even if there is no associated state change.
191 * Resolved initial state: a merge of the user-supplied initial state
[all...]
H A Dhistory-html5.js62 var bookmarkedState = win.history.state;
66 // If both the initial state and the bookmarked state are objects, merge
67 // them (bookmarked state wins).
74 // Otherwise, the bookmarked state always wins if there is one. If
75 // there isn't a bookmarked state, history-base will take care of
93 * @param {Object} newState New state to store.
119 this._resolveChanges(SRC_POPSTATE, e._event.state || null);
126 * Constant used to identify state changes originating from
H A Dhistory-hash.js40 // If an initialState was provided, merge the bookmarked state into it
41 // (the bookmarked state wins).
55 _change: function (src, state, options) {
58 YObject.each(state, function (value, key) {
60 state[key] = value.toString();
64 return HistoryHash.superclass._change.call(this, src, state, options);
75 // history entries for a single state).
102 * Constant used to identify state changes originating from
/yui3/build/attribute-events/
H A Dattribute-events-debug.js8 * store state.
111 state = host._state,
116 if (!state.get(attrName, PUBLISHED)) {
125 broadcast = state.get(attrName, BROADCAST);
132 state.add(attrName, PUBLISHED, true);
/yui3/build/profiler/
H A Dprofiler-debug.js180 if (stopwatch && stopwatch.state == WATCH_STARTED){
183 stopwatch.state = WATCH_PAUSED;
210 state: WATCH_STOPPED,
216 if (stopwatches[name].state == WATCH_STOPPED){
217 stopwatches[name].state = WATCH_STARTED;
236 if (stopwatch.state == WATCH_STARTED){
238 } else if (stopwatch.state == WATCH_PAUSED){
245 stopwatch.state = WATCH_STOPPED;
/yui3/src/charts/js/
H A DBarSeries.js46 * @param {String} type state of the marker
56 state = this._getState(type),
72 markerStyles = state == "off" || !styles[state] ? styles : styles[state];
H A DColumnSeries.js46 * @param {String} type state of the marker
56 state = this._getState(type),
72 markerStyles = state == "off" || !styles[state] ? Y.clone(styles) : Y.clone(styles[state]);
H A DPlots.js389 * @param {String} type state of the marker
400 state = this._getState(type),
404 markerStyles = state == "off" || !styles[state] ? styles : styles[state];
476 * Returns marker state based on event type
485 var state;
489 state = "off";
492 state = "over";
495 state
[all...]
H A DStackedBarSeries.js196 * @param {String} type state of the marker
203 var state = this._getState(type),
208 markerStyles = state == "off" || !styles[state] ? Y.clone(styles) : Y.clone(styles[state]),
H A DStackedColumnSeries.js193 * @param {String} type state of the marker
203 state = this._getState(type),
211 markerStyles = state == "off" || !styles[state] ? Y.clone(styles) : Y.clone(styles[state]);
/yui3/src/profiler/js/
H A DProfiler.js178 if (stopwatch && stopwatch.state == WATCH_STARTED){
181 stopwatch.state = WATCH_PAUSED;
208 state: WATCH_STOPPED,
214 if (stopwatches[name].state == WATCH_STOPPED){
215 stopwatches[name].state = WATCH_STARTED;
234 if (stopwatch.state == WATCH_STARTED){
236 } else if (stopwatch.state == WATCH_PAUSED){
243 stopwatch.state = WATCH_STOPPED;
/yui3/src/graphics/js/
H A DGraphicBase.js75 state = host._state;
83 state[i] = attr.value;
90 state[i] = host[fn].apply(host);
94 state[i] = fn.apply(host);
99 host._state = state;
/yui3/build/graphics/
H A Dgraphics-debug.js77 state = host._state;
85 state[i] = attr.value;
92 state[i] = host[fn].apply(host);
96 state[i] = fn.apply(host);
101 host._state = state;
/yui3/build/attribute-core/
H A Dattribute-core-debug.js4 * The State class maintains state for a collection of named items, with
8 * of these classes for each item, by storing the state in a 2 level hash table,
140 * store state.
169 // Used for internal state management
183 * attributes to store and retrieve state, <strong>but without support for attribute change events</strong>.
244 * Constructor logic for attributes. Initializes the host state, and sets up the inital attributes passed to the
360 state = host._state,
369 state.addAll(name, {
375 if (host.attrAdded(name) && !state.get(name, IS_LAZY_ADD)) { Y.log('Attribute: ' + name + ' already exists. Cannot add it again without removing it first', 'warn', 'attribute'); }
377 if (!host.attrAdded(name) || state
[all...]
/yui3/src/handlebars/js/
H A Dhandlebars-compiler-parser.js144 var symbol, preErrorSymbol, state, action, a, r, yyval={},p,len,newState, expected;
146 // retreive state number from top of stack
147 state = stack[stack.length-1];
150 if (this.defaultActions[state]) {
151 action = this.defaultActions[state];
155 // read action for current state and first input
156 action = table[state] && table[state][symbol];
166 for (p in table[state]) if (this.terminals_[p] && p > 2) {
197 // check for error recovery rule in this state
[all...]
/yui3/build/history-html5/
H A Dhistory-html5-debug.js64 var bookmarkedState = win.history.state;
68 // If both the initial state and the bookmarked state are objects, merge
69 // them (bookmarked state wins).
76 // Otherwise, the bookmarked state always wins if there is one. If
77 // there isn't a bookmarked state, history-base will take care of
95 * @param {Object} newState New state to store.
121 this._resolveChanges(SRC_POPSTATE, e._event.state || null);
128 * Constant used to identify state changes originating from
/yui3/build/history-hash/
H A Dhistory-hash-debug.js42 // If an initialState was provided, merge the bookmarked state into it
43 // (the bookmarked state wins).
57 _change: function (src, state, options) {
60 YObject.each(state, function (value, key) {
62 state[key] = value.toString();
66 return HistoryHash.superclass._change.call(this, src, state, options);
77 // history entries for a single state).
104 * Constant used to identify state changes originating from
/yui3/src/datatable/js/
H A Dsort.js353 Subscribes to state changes that warrant updating the UI, and adds the
399 Supports the special subattribute "sortBy.state" to get a normalized JSON
400 version of the current sort state. Otherwise, returns the last assigned
412 table.get('sortBy.state'); // { key: 'username', dir: 1 }
416 table.get('sortBy.state'); // [{ key: "lastName", dir: 1 }, { key: "firstName", dir: -1 }]
426 var state, i, len, col;
432 if (detail === 'state') {
433 state = [];
437 state.push({
444 return { state
[all...]

Completed in 3277 milliseconds

12