Skip to content

Commit

Permalink
Merge pull request #6 from lozjackson/issue-#5
Browse files Browse the repository at this point in the history
Replace Ember.Handlebars.SafeString with Ember.String.htmlSafe
  • Loading branch information
lozjackson authored Sep 12, 2016
2 parents ab72ea9 + 1c0e0c7 commit 0ce2b7a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Change Log

* #5 Replace `Ember.Handlebars.SafeString` with `Ember.String.htmlSafe`.

### v0.2.1 2016-09-03

* [BUGFIX] Fix an issue that could cause the `nextMonth()` method to skip a month.
Expand Down
2 changes: 1 addition & 1 deletion addon/components/tt-calendar-month-event.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default Ember.Component.extend({
if ( right < 0 ) { right = 0; }
else if ( right > 100 ) { right = 100; }

return new Ember.Handlebars.SafeString(`left: ${left}%; right: ${right}%;`);
return new Ember.String.htmlSafe(`left: ${left}%; right: ${right}%;`);
}),

/**
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ember-time-tools",
"dependencies": {
"ember": "~2.7.0",
"ember": "~2.8.0",
"ember-cli-shims": "0.1.1",
"ember-qunit-notifications": "0.1.0"
}
Expand Down

0 comments on commit 0ce2b7a

Please sign in to comment.