Changeset 18234 for branches


Ignore:
Timestamp:
06/18/15 14:21:05 (9 years ago)
Author:
dneise
Message:
info about takeRun.js --> library problems
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/FACT++_scripts_refactoring/explicit_changelog

    r18230 r18234  
    146146# ----------------------------------------------------------------------
    147147
    148 Okay now I look at takeRun.js
     148Okay now I look at takeRun.js as it is included in CheckUnderflow.
     149I had to create a new function, which would handle the attachment of
     150the inchange function to the FACT_CONTROL/INCOMPLETE subscription.
     151I don't know a good name for this, but I think I wrote it correctly.
     152
     153I don't like that the new function takeRun.attachFadControlIncompleteOnChange
     154has a member named takeRun.attachFadControlIncompleteOnChange.incomplete.
     155
     156I also don't like, that in CheckUnderflow, I call this new function,
     157which will attach a callback function to the FACT_CONTROL/INCOMPLETE subscription.
     158But when reading the code, one can hardly understand that.
     159
     160I mean, this is just like when takeRun.js was included before.
     161Nobody could have even guessed, that there was a callback function attached to
     162a Subscription instance made just before takeRun.js was included.
     163
     164Okay that's it for the moment. Next is probably CheckUnderflow itself,
     165since it is a kind of library itself.
     166
     167# ----------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.