Changes between Initial Version and Version 1 of Ticket #4079, comment 5


Ignore:
Timestamp:
Aug 16, 2016, 12:53:15 PM (8 years ago)
Author:
bb

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4079, comment 5

    initial v1  
    1 Templates.js
    2 L308 and further for consistence it might be good to make upgrades an object instead of an array, have no strong opinion on it.
    3 
    4 Draw.js
    5 L90 ++p instead of p++
    6 
    7 Structree.js
    8 L229-241 why braces?
    9 L237 !newUpgrades[phase] instead of !(phase in newUpgrades)
    10 L285 gives folowing error:
    11 {{{
    12 ERROR: JavaScript error: gui/structree/structree.js line 285
    13 ReferenceError: GetPhaseOfTemplate is not defined
    14   selectCiv@gui/structree/structree.js:285:9
    15   __eventhandler38 (selectionchange)@civSelection selectionchange:0:1
    16   init@gui/structree/structree.js:38:3
    17   __eventhandler8 (press)@menuStrucTreeButton press:2:8
    18 ERROR: GUI page 'page_structree.xml': Failed to call init() function
    19 }}}
    20 The called function does not seem to exist.
    21 
    22 
    23 Didn't test due to error.