Files
edx-platform/cms/static/js/models/explicit_url.js
2013-11-21 10:19:43 -05:00

15 lines
319 B
JavaScript

/**
* A model that simply allows the update URL to be passed
* in as an argument.
*/
define(["backbone"], function(Backbone){
return Backbone.Model.extend({
defaults: {
"explicit_url": ""
},
url: function() {
return this.get("explicit_url");
}
});
});