• R/O
  • SSH

fcf-framework-core: Commit

Main functions and classes of the FCF framework


Commit MetaInfo

Révision299d045a30adf7ca072bcee692dc5156c212f8d1 (tree)
l'heure2022-12-07 14:47:31
Auteurvmarkin
Commitervmarkin

Message de Log

And the fcf.Actions.options method is added

Change Summary

Modification

diff -r 2ecb269afb37 -r 299d045a30ad fcf.js
--- a/fcf.js Wed Dec 07 08:43:57 2022 +0300
+++ b/fcf.js Wed Dec 07 08:47:31 2022 +0300
@@ -1805,7 +1805,7 @@
18051805
18061806 /// @method fcf.Actions result(object a_options)
18071807 /// @brief Sets the options of the fcf.Actions object
1808- /// @param object a_options - Object options:
1808+ /// @param object a_options - An options object that can store the following options:
18091809 /// - boolean deferred - If the flag is true, then the added callbacks will not be executed
18101810 /// until the fcf.Actions.startup() method is called.
18111811 /// - boolean noexcept - If the flag is true, then if the callback ends with an error,
@@ -1816,9 +1816,9 @@
18161816 options(a_options) {
18171817 if (!arguments.length){
18181818 return {
1819- noexcept: this._flags & ACTIONS_FLAGS_NOEXCEPT,
1820- quiet: this._flags & ACTIONS_FLAGS_QUIET,
1821- deferred: this._flags & ACTIONS_FLAGS_DEFERRED,
1819+ noexcept: this._flags & ACTIONS_FLAGS_NOEXCEPT ? true : false,
1820+ quiet: this._flags & ACTIONS_FLAGS_QUIET ? true : false,
1821+ deferred: this._flags & ACTIONS_FLAGS_DEFERRED ? true : false,
18221822 errorResult: this._errorResult
18231823 };
18241824 } else {
Afficher sur ancien navigateur de dépôt.