NOTE: For this example to work you have to run it in a web server context. This example shows you how you can edit dependencies by double clicking them.
Note that the js for the example code is not minified so it is readable. See dependencyeditor.js.