Skip to content

Instantly share code, notes, and snippets.

@dlt
Created December 14, 2010 17:23
Show Gist options
  • Save dlt/740737 to your computer and use it in GitHub Desktop.
Save dlt/740737 to your computer and use it in GitHub Desktop.
function Car () {
}
Car.prototype.extDirectOptions = function(options) {
this.extDirectOptions = options;
}
Generator.prototype.controllerMetadata = function() {
// find controller in config.controllersDir
return controller.extDirectOptions;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment