From 2c8a561e6109f3f23af16842fe5937667b118b4a Mon Sep 17 00:00:00 2001 From: Brian Baker Date: Tue, 6 Feb 2018 09:38:11 -0700 Subject: [PATCH] updated documentation to call out the destroy method --- sdk/src/classes.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sdk/src/classes.js b/sdk/src/classes.js index 7ca91a86..352c2d92 100644 --- a/sdk/src/classes.js +++ b/sdk/src/classes.js @@ -23,7 +23,13 @@ F2.extend('', { * @method init * @optional */ - init:function() {} + init:function() {}, + /** + * An optional destroy function that will automatically be called when + * F2.{{#crossLink "F2\removeApp"}}{{/crossLink}} and subsequently + * the {{#crossLink "F2.Constants.AppHandlers\APP_DESTROY"}} AppHandler. + */ + destroy:function() {} }; }, /**