mobiledoc-dom-renderer
Advanced tools
Comparing version 0.1.9 to 0.1.10
@@ -1,2 +0,2 @@ | ||
define('mobiledoc-dom-renderer/cards/image', ['exports', 'mobiledoc-dom-renderer/cards/utils'], function (exports, _mobiledocDomRendererCardsUtils) { | ||
define('mobiledoc-dom-renderer/cards/image', ['exports', 'mobiledoc-dom-renderer/utils'], function (exports, _mobiledocDomRendererUtils) { | ||
'use strict'; | ||
@@ -9,3 +9,3 @@ | ||
if (payload.src) { | ||
var img = (0, _mobiledocDomRendererCardsUtils.createElement)('img'); | ||
var img = (0, _mobiledocDomRendererUtils.createElement)('img'); | ||
img.src = payload.src; | ||
@@ -12,0 +12,0 @@ element.appendChild(img); |
@@ -201,3 +201,3 @@ ;(function() { | ||
define('mobiledoc-dom-renderer/cards/image', ['exports', 'mobiledoc-dom-renderer/cards/utils'], function (exports, _mobiledocDomRendererCardsUtils) { | ||
define('mobiledoc-dom-renderer/cards/image', ['exports', 'mobiledoc-dom-renderer/utils'], function (exports, _mobiledocDomRendererUtils) { | ||
'use strict'; | ||
@@ -210,3 +210,3 @@ | ||
if (payload.src) { | ||
var img = (0, _mobiledocDomRendererCardsUtils.createElement)('img'); | ||
var img = (0, _mobiledocDomRendererUtils.createElement)('img'); | ||
img.src = payload.src; | ||
@@ -213,0 +213,0 @@ element.appendChild(img); |
@@ -169,3 +169,3 @@ module('JSHint - tests/jshint/cards'); | ||
var payload = { | ||
src: 'example.org/foo.jpg' | ||
src: 'http://example.org/foo.jpg' | ||
}; | ||
@@ -183,4 +183,4 @@ var mobiledoc = { | ||
assert.equal(sectionEl.firstChild.tagName, 'IMG'); | ||
assert.equal(sectionEl.firstChild.src, 'example.org/foo.jpg'); | ||
assert.equal(sectionEl.firstChild.src, 'http://example.org/foo.jpg'); | ||
}); | ||
}); |
import { | ||
createElement | ||
} from "./utils"; | ||
} from "../utils"; | ||
@@ -5,0 +5,0 @@ const ImageCard = { |
{ | ||
"name": "mobiledoc-dom-renderer", | ||
"version": "0.1.9", | ||
"version": "0.1.10", | ||
"description": "Renders Mobiledoc input to DOM output", | ||
@@ -5,0 +5,0 @@ "main": "dist/global/mobiledoc-dom-renderer.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
159924