Jerome Etienne
Jerome Etienne
## how to do it - on initial object, monitor existing properties via getter/setter - use harmony proxy to monitor property creation - on new property, monitor them too ##...
see https://github.com/jeromeetienne/debug.js/issues/7
the conversion isnt an absolute, it depends of policy... - how to allow such policy ? - profile ? - with a default profile being one that i find reasonable
- good concept... - but in fact this is directly related to .trackUsage()... - so does this worth to duplicate ? - or is this just a inaction slides ?
just slides
the trick is in the double pass. - second pass knows the name of the variable
#### code is running. Api still unknown
### stages 1. collect names of globals - provide a function to dump .trackUsage() based on the result 2. track usages of globals - same as in propertyAttr tracker and...
- First slides are more like that - so one deck for description, and another for howto/usage/examples ?
#### handle global variable - discovery of global variable - localize the code which use them