Skip to content

Commit

Permalink
Merge pull request #181 from doubleface/new-release
Browse files Browse the repository at this point in the history
v0.3.6 release
  • Loading branch information
doubleface authored Jun 20, 2017
2 parents 60a9bc5 + 27ccd00 commit 244d2ed
Show file tree
Hide file tree
Showing 9 changed files with 68 additions and 10 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Removed
- none yet

## [v0.3.6] - 2017-06-15
### Added
- Add a `intentService.resizeClient()` method to force the size of the intent modal

## [v0.3.5] - 2017-06-13
### Added
Expand Down Expand Up @@ -169,7 +172,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Refactoring on offline to return Promise


[Unreleased]: https://github.com/cozy/cozy-client-js/compare/v0.3.5...HEAD
[Unreleased]: https://github.com/cozy/cozy-client-js/compare/v0.3.6...HEAD
[v0.3.6]: https://github.com/cozy/cozy-client-js/compare/v0.3.5...v0.3.6
[v0.3.5]: https://github.com/cozy/cozy-client-js/compare/v0.3.4...v0.3.5
[v0.3.4]: https://github.com/cozy/cozy-client-js/compare/v0.3.3...v0.3.4
[v0.3.3]: https://github.com/cozy/cozy-client-js/compare/v0.3.2...v0.3.3
Expand Down
27 changes: 27 additions & 0 deletions dist/cozy-client.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/cozy-client.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/cozy-client.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cozy-client.min.js.map

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions dist/cozy-client.node.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/cozy-client.node.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cozy-client-js",
"version": "0.3.5",
"version": "0.3.6",
"description": "Javascript library to interact with a cozy",
"main": "dist/cozy-client.node.js",
"browser": "dist/cozy-client.js",
Expand Down
2 changes: 1 addition & 1 deletion src/intents.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function injectService (url, element, intent, data) {

if (handshaken && event.data.type === `intent-${intent._id}:size`) {
['width', 'height', 'maxWidth', 'maxHeight'].forEach(prop => {
if (event.data.document[prop]) element.style[prop] = `${event.data.document[prop]}px`
if (event.data.dimensions[prop]) element.style[prop] = `${event.data.document[prop]}px`
})

return true
Expand Down

0 comments on commit 244d2ed

Please sign in to comment.