MCPcopy Create free account
hub / github.com/PrairieLearn/PrairieLearn / destroy

Function destroy

public/localscripts/calculationQuestion/backbone.js:508–510  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

506 var success = options.success;
507
508 var destroy = function() {
509 model.trigger('destroy', model, model.collection, options);
510 };
511
512 options.success = function(resp) {
513 if (options.wait || model.isNew()) destroy();

Callers 1

backbone.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected