ember-tooltips
Advanced tools
Comparing version 0.5.4 to 0.5.5
@@ -13,3 +13,3 @@ /** | ||
const Tooltip = window.Tooltip; | ||
const { $, run } = Ember; | ||
const { $, run, Handlebars: { SafeString } } = Ember; | ||
@@ -41,3 +41,8 @@ export default function renderTooltip(domElement = {}, options = {}) { | ||
tooltip = new Tooltip(options.content, options); | ||
// ensure Ember's SafeStrings work | ||
if (options.content instanceof SafeString) { | ||
tooltip = new Tooltip(options.content.toString(), options); | ||
} else { | ||
tooltip = new Tooltip(options.content, options); | ||
} | ||
@@ -44,0 +49,0 @@ tooltip.attach(domElement); |
{ | ||
"name": "ember-tooltips", | ||
"version": "0.5.4", | ||
"version": "0.5.5", | ||
"description": "The default blueprint for ember-cli addons.", | ||
@@ -33,3 +33,3 @@ "directories": { | ||
"ember-cli-uglify": "^1.2.0", | ||
"ember-code-snippet": "1.1.0", | ||
"ember-code-snippet": "1.1.3", | ||
"ember-disable-prototype-extensions": "^1.0.0", | ||
@@ -39,3 +39,3 @@ "ember-disable-proxy-controllers": "^1.0.1", | ||
"ember-paper": "0.2.8", | ||
"ember-suave": "1.2.2", | ||
"ember-suave": "1.2.3", | ||
"ember-resolver": "^2.0.3", | ||
@@ -42,0 +42,0 @@ "ember-try": "~0.0.8", |
Sorry, the diff of this file is not supported yet
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
58571
1654