Skip to content

Commit

Permalink
[BUGFIX release] Update Metamorph
Browse files Browse the repository at this point in the history
  • Loading branch information
ebryn committed Dec 29, 2013
1 parent bb8f512 commit ea448a4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/metamorph/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ define("metamorph",
"use strict";
// ==========================================================================
// Project: metamorph
// Copyright: ©2011 My Company Inc. All rights reserved.
// Copyright: ©2013 Tilde, Inc. All rights reserved.
// ==========================================================================

var K = function() {},
Expand Down Expand Up @@ -121,7 +121,7 @@ define("metamorph",

/**
* @public
*
*
* Remove this object (including starting and ending
* placeholders).
*
Expand Down Expand Up @@ -357,6 +357,10 @@ define("metamorph",
// swallow some of the content.
node = firstNodeFor(start.parentNode, html);

if (outerToo) {
start.parentNode.removeChild(start);
}

// copy the nodes for the HTML between the starting and ending
// placeholder.
while (node) {
Expand Down

0 comments on commit ea448a4

Please sign in to comment.