Skip to content

Instantly share code, notes, and snippets.

@ncrohn
Created February 10, 2010 00:16
Show Gist options
  • Save ncrohn/299853 to your computer and use it in GitHub Desktop.
Save ncrohn/299853 to your computer and use it in GitHub Desktop.
Epsilon.ExportMappingDataView = SC.View.extend({
/** @scope Epsilon.ExportMappingDataView.prototype */
content: null,
contentBindingDefault: SC.Binding.multiple(),
render: function(context, firstTime) {
sc_super();
if(this.get("content")) {
console.info(this.get("content").firstObject());
}
}
});
// Pretend there is more code
Epsilon.ExportMappingDataView.design({
contentBinding: "Epsilon.exportMappingsController.selection"
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment