Skip to content
This repository has been archived by the owner on Mar 2, 2022. It is now read-only.

Commit

Permalink
version bump, changelog, build
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-scherzinger committed May 5, 2017
1 parent 467046e commit d80b778
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ec.datamanager.js",
"main": "build/datamanager.min.js",
"version": "0.12.4",
"version": "0.12.5",
"authors": [
"Ruben Deyhle <deyhle@entrecode.de>"
],
Expand Down
2 changes: 1 addition & 1 deletion build/datamanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -1507,7 +1507,7 @@ Entry.prototype.getTitle = function(property) {
if (!links) {
return undefined;
}
if (links.length === 1) {
if (!Array.isArray(this.value[property])) {
return links[0].title;
}
var out = [];
Expand Down
2 changes: 1 addition & 1 deletion build/datamanager.min.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Changelog
## 0.12.5
- fix: always return array in getTitle on lineked types

## 0.12.4
- best file functions in Entry

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ec.datamanager",
"version": "0.12.4",
"version": "0.12.5",
"description": "JavaScript SDK for ec.datamanager. By entrecode.",
"main": "index.js",
"typings": "typings.d.ts",
Expand Down

0 comments on commit d80b778

Please sign in to comment.