BOTH_SIDES
OUTLINE
True
C:\Dropbox\Git\NzbDrone\NzbDrone.sln.DotSettings
True
1
True
2
Backbone model
5
True
True
js
Model
True
Backbone Model
True
getFileNameWithoutExtension()
0
True
getFileNameWithoutExtension()
-1
1
True
True
InAnyWebProject
True
NzbDrone.$ModelName$Model = Backbone.Model.extend({
});
$ModelName$Collection = Backbone.Collection.extend({
model: NzbDrone.$ModelName$Model,
url: NzbDrone.Constants.ApiRoot + '/$resource$',
});
True
True
Create a new Method
True
0
True
True
InJavaScriptFile
func
True
$name$: function () {
},
True
True
Backbone Model
True
0
True
True
InJavaScriptFile
model
True
$ModelName$ = Backbone.M
True
True
Subscribe to event
True
1
True
typeMember()
2
True
0
True
True
InJavaScriptFile
vent
True
NzbDrone.vent.listenTo($Target$, '$Event$', this.$Handler$, this);
True
True
True
0
True
2
True
1
True
True
InJavaScriptFile
events
True
events: {
'$event$ .x-$selector$': '$handler$'
},
True
True
Add Initialize Method
True
True
InJavaScriptFile
init
True
initialize: function () {
},