DrillingInfo/backbone-aura — pull request #3 by clark-archer (2012-09-18 21:50:37+00:00)
Title: widget 'name' passed to widget entry point

Widget 'names' are needed in order to generate relative paths to various resources (CSS, images, etc.). Over time we will also need to extend this to allow for multiple instances of a widget on a single page, but for now the widget's folder (as deployed in the application) is used.

This was required in order to create a 'lab' module for widget development which could place the widget-under-development in a well-known location at application assembly time. Regardless of the widget's actual name, it is deployed under 'widgets/that/' in the lab application.