From 972856225b670eaea2da756b44138b6081227bfe Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Tue, 1 Dec 2015 11:46:53 -0500 Subject: [PATCH] Extract StepUi#detach You can't see where this is going, because there is other code that is not yet part of Liza. ...sorry. --- src/ui/step/StepUi.js | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/ui/step/StepUi.js b/src/ui/step/StepUi.js index df54c17..e166d0b 100644 --- a/src/ui/step/StepUi.js +++ b/src/ui/step/StepUi.js @@ -271,22 +271,6 @@ module.exports = Class( 'StepUi' ) }, - /** - * Detaches the step from the DOM - * - * @return StepUi self to allow for method chaining - */ - detach: function() - { - if ( this.$content instanceof jQuery ) - { - this.$content.detach(); - } - - return this; - }, - - /** * Will mark the step as dirty when the content is changed and update * the staging bucket