Files
edx-platform/cms/static/js/models/explicit_url.js
Eric Fischer 5bc6b31e29 eslint --fix
2017-12-08 14:38:41 -05:00

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