|
|
|
@ -326,12 +326,12 @@
|
|
|
|
|
// </div>
|
|
|
|
|
var TRANSITION = function (contents, transition, complete) { |
|
|
|
|
|
|
|
|
|
if(typeof(contents) === 'string' || contents instanceof String) { |
|
|
|
|
if (typeof(contents) === 'string' || contents instanceof String) { |
|
|
|
|
var div = document.createElement('div'); |
|
|
|
|
div.innerHTML = contents; |
|
|
|
|
contents = div.childNodes[0]; |
|
|
|
|
} else { |
|
|
|
|
contents = contents.cloneNode(true) |
|
|
|
|
contents = contents.cloneNode(true); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (transition) { |
|
|
|
@ -522,7 +522,7 @@
|
|
|
|
|
|
|
|
|
|
window.RATCHET.transition(activeDom.cloneNode(true), |
|
|
|
|
transitionFromObj.transition, |
|
|
|
|
function() { |
|
|
|
|
function () { |
|
|
|
|
triggerStateChange(); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|