Jerome Etienne
Jerome Etienne
Debug && Debug.privatize(this)
``` (function(/* THREE.Camera */ foo){}).toString() ``` as other source of strong typing definition
http://updates.html5rocks.com/2012/11/Respond-to-change-with-Object-observe
from http://sergimansilla.com/blog/extending-js-inline-unit-tests/ example in there language: ``` function square(n) { return n * n; } where { square(2) is 4 square(3) is 5 } ```
- you give it an object and it starts monitoring it - you can display log in real time - you can save them for later - log = -...
- uglifyjs https://github.com/mishoo/UglifyJS - esprima http://esprima.org/
see if this can help https://plus.google.com/116910304844117268718/posts/HPA9uYimrQg
- read jsdocs from a js file - output a debug.js file for this js file - have lots of options to tune the output
Good when you clean up code 1. Generate all the .checkIfUsed for all functions 2. Do a reporter to notify all dead code
- first pass globaldetector gives you the name - second pass, qgettersetter to get callers - works with function ? - as you get the name of the created global,...