Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
[#102] - rebuild release files.
Browse files Browse the repository at this point in the history
Build generated for 9ca67bc.
  • Loading branch information
frontpressbot committed Dec 19, 2016
1 parent 9ca67bc commit 5e24c40
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 15 deletions.
9 changes: 6 additions & 3 deletions release/frontpress.js
Original file line number Diff line number Diff line change
Expand Up @@ -39045,6 +39045,7 @@ function FullPostModel(PostsApi, TagsApi, CategoriesApi, $q, MediaApi, $FrontPre
var categoryByIdPromise = CategoriesApi.getCategoryById(categoriesIds[i]);

categoryByIdPromise.then(function(categoryResult){
categoryResult = categoryResult.data;
var category = {};
category.name = categoryResult.name;
model.addCategory(category);
Expand All @@ -39063,6 +39064,7 @@ function FullPostModel(PostsApi, TagsApi, CategoriesApi, $q, MediaApi, $FrontPre
var tagByIdpromise = TagsApi.getTagById(tagsIds[j]);

tagByIdpromise.then(function(tagResult){
tagResult = tagResult.data;
var tag = {};
tag.name = tagResult.name;
model.addTag(tag);
Expand All @@ -39076,8 +39078,9 @@ function FullPostModel(PostsApi, TagsApi, CategoriesApi, $q, MediaApi, $FrontPre

var featuredImagesPromise = MediaApi.getMediaById(result.featured_media);

featuredImagesPromise.then(function(result){
model.setFeaturedImage(result.source_url);
featuredImagesPromise.then(function(featuredImageResult){
featuredImageResult = featuredImageResult.data;
model.setFeaturedImage(featuredImageResult.source_url);
});

featuredImagesPromise.catch(function(error){
Expand Down Expand Up @@ -39169,7 +39172,7 @@ function ListPostsModel(PostsApi, MediaApi, $q, SlugsMapModel, ApiManager){
var featuredImagesPromise = MediaApi.getMediaById(featuredMediaId);

featuredImagesPromise.then(function(result){
defer.resolve(result);
defer.resolve(result.data);
});

featuredImagesPromise.catch(function(error){
Expand Down
2 changes: 1 addition & 1 deletion release/frontpress.min.js

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions release/frontpress.v1.js
Original file line number Diff line number Diff line change
Expand Up @@ -39045,6 +39045,7 @@ function FullPostModel(PostsApi, TagsApi, CategoriesApi, $q, MediaApi, $FrontPre
var categoryByIdPromise = CategoriesApi.getCategoryById(categoriesIds[i]);

categoryByIdPromise.then(function(categoryResult){
categoryResult = categoryResult.data;
var category = {};
category.name = categoryResult.name;
model.addCategory(category);
Expand All @@ -39063,6 +39064,7 @@ function FullPostModel(PostsApi, TagsApi, CategoriesApi, $q, MediaApi, $FrontPre
var tagByIdpromise = TagsApi.getTagById(tagsIds[j]);

tagByIdpromise.then(function(tagResult){
tagResult = tagResult.data;
var tag = {};
tag.name = tagResult.name;
model.addTag(tag);
Expand All @@ -39076,8 +39078,9 @@ function FullPostModel(PostsApi, TagsApi, CategoriesApi, $q, MediaApi, $FrontPre

var featuredImagesPromise = MediaApi.getMediaById(result.featured_media);

featuredImagesPromise.then(function(result){
model.setFeaturedImage(result.source_url);
featuredImagesPromise.then(function(featuredImageResult){
featuredImageResult = featuredImageResult.data;
model.setFeaturedImage(featuredImageResult.source_url);
});

featuredImagesPromise.catch(function(error){
Expand Down Expand Up @@ -39169,7 +39172,7 @@ function ListPostsModel(PostsApi, MediaApi, $q, SlugsMapModel, ApiManager){
var featuredImagesPromise = MediaApi.getMediaById(featuredMediaId);

featuredImagesPromise.then(function(result){
defer.resolve(result);
defer.resolve(result.data);
});

featuredImagesPromise.catch(function(error){
Expand Down
16 changes: 8 additions & 8 deletions release/frontpress.v1.min.js

Large diffs are not rendered by default.

0 comments on commit 5e24c40

Please sign in to comment.