MCPcopy
hub / github.com/nervgh/angular-file-upload / destroy

Method destroy

src/services/FileDirective.js:51–56  ·  view source on GitHub ↗

* Destroys directive

()

Source from the content-addressed store, hash-verified

49 * Destroys directive
50 */
51 destroy() {
52 var index = this.uploader._directives[this.prop].indexOf(this);
53 this.uploader._directives[this.prop].splice(index, 1);
54 this.unbind();
55 // this.element = null;
56 }
57 /**
58 * Saves links to functions
59 * @private

Callers

nothing calls this directly

Calls 1

unbindMethod · 0.95

Tested by

no test coverage detected