1234567891011121314151617181920212223242526272829303132333435363738 |
- :: DebugTools
- <<linkreplace 'Debug Tools'>>
- <div>
- <input type="text" id="getVarInput"/>
- <<button "Get variables">>
- <<set _requestedVars = $('#getVarInput').val()>>
- <<append '.passage'>>
- <<include 'VarOverview'>>
- <</append>>
- <</button>>
- </div>
- <div>
- <<button 'Get Variable Space Usage'>>
- <<set _variableStorageUsage = setup.variableStorageUsage()>>
- <<append '.passage'>>
- <ol>
- <<for _key, _value range _variableStorageUsage>>
- <li>_key : _value</li>
- <</for>>
- </ol>
- <</append>>
- <</button>>
- </div>
- <div>
- Version: <<=setup.version>>
- </div>
- <</linkreplace>>
- :: VarOverview
- <ol>
- <<for _key, _value range State.variables>>
- <<if _key.match(_requestedVars)>>
- <li>_key : <<=JSON.stringify(_value)>></li>
- <</if>>
- <</for>>
- </ol>
|