mobiledoc-dom-renderer
Advanced tools
Comparing version 0.4.0-beta1 to 0.4.0-beta2
@@ -95,3 +95,3 @@ define('mobiledoc-dom-renderer/cards/image', ['exports', 'mobiledoc-dom-renderer/utils/render-type'], function (exports, _mobiledocDomRendererUtilsRenderType) { | ||
if (!dom) { | ||
if (!window) { | ||
if (typeof window === 'undefined') { | ||
throw new Error('A `dom` option must be provided to the renderer when running without window.document'); | ||
@@ -98,0 +98,0 @@ } |
@@ -72,3 +72,3 @@ 'use strict'; | ||
if (!dom) { | ||
if (!window) { | ||
if (typeof window === 'undefined') { | ||
throw new Error('A `dom` option must be provided to the renderer when running without window.document'); | ||
@@ -75,0 +75,0 @@ } |
@@ -295,3 +295,3 @@ ;(function() { | ||
if (!dom) { | ||
if (!window) { | ||
if (typeof window === 'undefined') { | ||
throw new Error('A `dom` option must be provided to the renderer when running without window.document'); | ||
@@ -298,0 +298,0 @@ } |
@@ -60,3 +60,3 @@ import Renderer_0_2, { MOBILEDOC_VERSION as MOBILEDOC_VERSION_0_2 } from './renderers/0-2'; | ||
if (!dom) { | ||
if (!window) { | ||
if (typeof window === 'undefined') { | ||
throw new Error('A `dom` option must be provided to the renderer when running without window.document'); | ||
@@ -63,0 +63,0 @@ } |
{ | ||
"name": "mobiledoc-dom-renderer", | ||
"version": "0.4.0-beta1", | ||
"version": "0.4.0-beta2", | ||
"description": "Renders Mobiledoc input to DOM output", | ||
@@ -5,0 +5,0 @@ "scripts": { |
339806