Files
edx-platform/cms/static/js/models/explicit_url.js
2016-08-08 15:04:06 -04:00

15 lines
320 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');
}
});
});