Skip to content

Instantly share code, notes, and snippets.

@ika18
Created March 27, 2014 03:02
Show Gist options
  • Save ika18/9799247 to your computer and use it in GitHub Desktop.
Save ika18/9799247 to your computer and use it in GitHub Desktop.
<div>hola</div>
define(['widget', 'template!inner.html'], function (Widget, template) {
return Widget.extend({
'sig/initialize': function (signal, deferred) {
this.html(template, deferred);
}
});
});
<div data-weave="inner.js"></div>
define(['widget', 'template!outer.html'], function (Widget, template) {
return Widget.extend({
'sig/initialize': function (signal, deferred) {
this.html(template, deferred);
}
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment