Skip to content

Instantly share code, notes, and snippets.

@melechi
Created June 5, 2012 02:20
Show Gist options
  • Save melechi/2872117 to your computer and use it in GitHub Desktop.
Save melechi/2872117 to your computer and use it in GitHub Desktop.
onGotBaseHTML: function(view)
{
var cmp=this.getParentComponent();
$JSKK.when(cmp.isConfigured.bind(cmp)).isTrue
(
function()
{
view.insertBaseHTML
(
{
where: this.getConfig('attachTo'),
how: 'append'
}
);
}.bind(this)
);
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment