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