Skip to content

Commit

Permalink
release 0.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
stiekel committed Apr 11, 2016
1 parent 665ccdf commit 57d928b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/angular-image-404.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ angular.module('angular-image-404', [])
function getDefaultImagePlaceholder() {
var width = angular.element(element[0]).attr('max-width') || element[0].offsetWidth || 120;
var height = angular.element(element[0]).attr('max-height') || element[0].offsetHeight || 120;
var bgcolor = attributes.fbBgcolor.replace('#', '') || "";
var color = attributes.fbColor.replace('#', '') || "";
var bgcolor = attributes.fbBgcolor ? attributes.fbBgcolor.replace('#', '') : "";
var color = attributes.fbColor ? attributes.fbColor.replace('#', '') : "";
var text = attributes.fbText || "";
var result = '';
var protocol = window.location.href.split('://').shift();
Expand Down
2 changes: 1 addition & 1 deletion dist/angular-image-404.min.js

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-image-404",
"version": "0.1.5",
"version": "0.1.6",
"description": "AngualrJS directive that shows a fallback image when img element can not show picture correct",
"main": "gulpfile.js",
"directories": {
Expand Down

0 comments on commit 57d928b

Please sign in to comment.