Comparing version 0.0.15 to 0.0.16
@@ -6,2 +6,3 @@ import React from "react"; | ||
import can from 'can/util/'; | ||
import vdoc from 'can/util/vdom/document/'; | ||
import route from "can/route/"; | ||
@@ -29,2 +30,7 @@ import 'can/route/pushstate/'; | ||
if (!IS_BROWSER) { | ||
// This condition can be removed once things are stable using CanJS v2.3.15+ | ||
// We should just be able to add the serializer directly without checking. | ||
if (doc.__addSerializerAndParser) { | ||
doc.__addSerializerAndParser(vdoc.__serializer, vdoc.__parser); | ||
} | ||
doc.body.appendChild(container); | ||
@@ -31,0 +37,0 @@ } |
@@ -39,3 +39,3 @@ import can from "can/util/"; | ||
//!steal-remove-start | ||
console.log("༼ つ ◕_◕ ༽つ ~~~ A promise has failed to hold up its end of the bargain!!! \nPromise source:", parentFile, "\nERROR:", err); | ||
console.log("༼ つ ◕_◕ ༽つ ~~~ A promise has failed to hold up its end of the bargain!!! \nPromise source:", parentFile, "\nERROR:", (err.stack || err)); | ||
//!steal-remove-end | ||
@@ -42,0 +42,0 @@ this.__pluckPromise(promise); |
{ | ||
"name": "can-react", | ||
"version": "0.0.15", | ||
"version": "0.0.16", | ||
"description": "A compatibility layer required to enable donejs-react.", | ||
@@ -5,0 +5,0 @@ "main": "can-react.js", |
50196
654