-
-
Save jstrimpel/d822955573c33fb1ad5d to your computer and use it in GitHub Desktop.
deprecated widget def
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define(['lazoView'], function (View) { | |
'use strict'; | |
return View.extend({ | |
widgets: { | |
Avatar: 'app/widget-defs/avatar' | |
}, | |
afterRender: function () { | |
this.avatar = new this.Avatar(); | |
} | |
}); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define({ | |
css: ['/app/client/widgets/avatar/avatar.css'], | |
js: '/app/client/widgets/avatar/index' | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment