react-ssml-dom
Advanced tools
Comparing version 2.0.0-experimental.2 to 2.0.0-experimental.3
@@ -183,5 +183,2 @@ import ReactReconciler from 'react-reconciler'; | ||
}, | ||
clearContainer: function (container) { | ||
container.children = []; | ||
}, | ||
createTextInstance: function (text) { return new TextNode(text); }, | ||
@@ -197,3 +194,3 @@ appendChildToContainer: function (container, child) { | ||
}, | ||
finalizeInitialChildren: function (domElement, type, props) { return true; }, | ||
finalizeInitialChildren: function (domElement, type, props) { return false; }, | ||
prepareUpdate: function (domElement, oldProps, newProps) { | ||
@@ -228,2 +225,6 @@ return true; | ||
scheduleTimeout: function () { return undefined; }, | ||
/** because tree is mutable we implement: */ | ||
clearContainer: function (container) { | ||
container.children = []; | ||
}, | ||
}); | ||
@@ -230,0 +231,0 @@ var ReactSSML = { |
@@ -191,5 +191,2 @@ 'use strict'; | ||
}, | ||
clearContainer: function (container) { | ||
container.children = []; | ||
}, | ||
createTextInstance: function (text) { return new TextNode(text); }, | ||
@@ -205,3 +202,3 @@ appendChildToContainer: function (container, child) { | ||
}, | ||
finalizeInitialChildren: function (domElement, type, props) { return true; }, | ||
finalizeInitialChildren: function (domElement, type, props) { return false; }, | ||
prepareUpdate: function (domElement, oldProps, newProps) { | ||
@@ -236,2 +233,6 @@ return true; | ||
scheduleTimeout: function () { return undefined; }, | ||
/** because tree is mutable we implement: */ | ||
clearContainer: function (container) { | ||
container.children = []; | ||
}, | ||
}); | ||
@@ -238,0 +239,0 @@ var ReactSSML = { |
{ | ||
"name": "react-ssml-dom", | ||
"version": "2.0.0-experimental.2", | ||
"version": "2.0.0-experimental.3", | ||
"description": "A proof of concept react host implementation for ssml strings", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
69762
529