Lines Matching +refs:val +refs:transaction

3129  * @param val {Any}     The new value for the sub-attribute.
3133 O.setValue = function(o, path, val) {
3145 ref[p[i]] = val;
3689 transaction level.
3693 transaction object as a parameter. See `Y.Get.Transaction` for details on
3716 callback functions. Defaults to the transaction object.
3729 @property {Function} [options.onEnd] Callback to execute after a transaction
3733 transaction fails, times out, or is aborted.
3736 individual request in a transaction either succeeds or fails.
3739 transaction completes successfully with no errors. Note that in browsers
3746 transaction times out.
3757 aborting a transaction. When a timeout occurs, the `onTimeout` callback
3830 Information about the currently pending transaction, if any.
3833 optional callback passed to `css()`, `load()`, or `js()`; and `transaction`,
3834 containing the actual transaction instance.
3869 Aborts the specified transaction.
3871 This will cause the transaction's `onFailure` callback to be called and
3877 future version of YUI. Use the transaction-level `abort()` method instead.
3880 @param {Get.Transaction} transaction Transaction to abort.
3881 @deprecated Use the `abort()` method on the transaction instead.
3884 abort: function (transaction) {
3887 Y.log('`Y.Get.abort()` is deprecated as of 3.5.0. Use the `abort()` method on the transaction instead.', 'warn', 'get');
3889 if (!transaction.abort) {
3890 id = transaction;
3892 transaction = null;
3894 if (pending && pending.transaction.id === id) {
3895 transaction = pending.transaction;
3899 item = this._queue[i].transaction;
3902 transaction = item;
3910 transaction && transaction.abort();
3921 Request-specific options take priority over transaction-level options and
3953 // Specify transaction-level options, which will apply to all requests
3954 // within the transaction.
3960 // Specify per-request options, which override transaction-level and
3970 @param {Object} [options] Options for this transaction. See the
3978 the transaction, or `null` on success.
3979 @param {Get.Transaction} callback.transaction Transaction object.
3996 Request-specific options take priority over transaction-level options and
4032 // Specify transaction-level options, which will apply to all requests
4033 // within the transaction.
4039 // Specify per-request options, which override transaction-level and
4049 @param {Object} [options] Options for this transaction. See the
4057 the transaction, or `null` on success.
4058 @param {Get.Transaction} callback.transaction Transaction object.
4069 Loads one or more CSS and/or JavaScript resources in the same transaction.
4072 transaction and be notified when all requested URLs have finished loading,
4076 a resource type isn't specified in per-request options or transaction-level
4084 // Load both CSS and JS files in a single transaction, and log a message
4097 @param {Object} [options] Options for this transaction. See the
4105 transaction, or `null` on success.
4257 var transaction;
4272 transaction = this._getTransaction(urls, options);
4276 transaction: transaction
4281 return transaction;
4296 item.transaction.execute(function () {
4312 // since this can hang the transaction.
4319 // If this is a transaction-level purge and this node also exists in
4345 Represents a Get transaction, which may contain requests for one or more JS or
4375 Arbitrary data object associated with this transaction.
4384 Array of errors that have occurred during this transaction, if any.
4393 Numeric id for this transaction, unique among all transactions within the same
4402 during the current transaction.
4408 Options associated with this transaction.
4417 Request objects contained in this transaction. Each request object represents
4425 Id of the most recent transaction.
4438 Current state of this transaction. One of "new", "executing", or "done".
4449 Aborts this transaction.
4451 This will cause the transaction's `onFailure` callback to be called and
4458 array describing why the transaction was aborted.
4472 Begins execting the transaction.
4476 want to execute your transaction before Get does, you can, but be aware that
4477 this transaction's scripts may end up executing before the scripts in other
4480 If the transaction is already executing, the specified callback (if any)
4481 will be queued and called after execution finishes. If the transaction has
4482 already finished, the callback will be called immediately (the transaction
4487 in the transaction are complete, or after the transaction is aborted.
4530 Manually purges any `<script>` or `<link>` nodes this transaction has
4533 Be careful when purging a transaction that contains CSS requests, since
4755 // fail after a timeout to avoid blocking the transaction queue.
6254 var i, j, val, f, group, groupName, self = this;
6259 val = o[i];
6261 self.require(val);
6264 if (typeof val === 'string') {
6266 val = {
6267 defaultSkin: val
6271 Y.mix(self.skin, val, true);
6273 for (j in val) {
6274 if (val.hasOwnProperty(j)) {
6277 group = val[j];
6287 oeach(val, self.addModule, self);
6289 oeach(val, self.addAlias, self);
6291 this.groups.gallery.update(val, o);
6295 self[i] = val;