Skip to content

Commit

Permalink
fix: fixed parseImage behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyTheTank committed Jan 9, 2016
1 parent 4f378a2 commit 354053b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"authors": [
"Jonathan Hornung <jonathan.hornung@gmail.com>"
],
"version": "0.7.0",
"version": "0.7.1",
"description": "RSS plugin for apiNG",
"main": "dist/aping-plugin-rss.min.js",
"moduleType": [],
Expand Down
6 changes: 4 additions & 2 deletions dist/aping-plugin-rss.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
@name: aping-plugin-rss
@version: 0.7.0 (09-01-2016)
@version: 0.7.1 (09-01-2016)
@author: Jonathan Hornung
@url: https://github.com/JohnnyTheTank/apiNG-plugin-rss#readme
@license: MIT
Expand Down Expand Up @@ -31,7 +31,9 @@ var jjtApingRss = angular.module("jtt_aping_rss", [])
helperObject.getNativeData = false;
}

if(request.parseImage === "true" || request.parseImage === true) {
if(request.parseImage === "false" || request.parseImage === false) {
helperObject.parseImage = false;
} else {
helperObject.parseImage = true;
}

Expand Down
4 changes: 2 additions & 2 deletions dist/aping-plugin-rss.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": "aping-plugin-rss",
"version": "0.7.0",
"version": "0.7.1",
"description": "RSS plugin for apiNG",
"main": "dist/aping-plugin-rss.min.js",
"scripts": {
Expand Down
4 changes: 3 additions & 1 deletion src/aping-rss-directive.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ var jjtApingRss = angular.module("jtt_aping_rss", [])
helperObject.getNativeData = false;
}

if(request.parseImage === "true" || request.parseImage === true) {
if(request.parseImage === "false" || request.parseImage === false) {
helperObject.parseImage = false;
} else {
helperObject.parseImage = true;
}

Expand Down

0 comments on commit 354053b

Please sign in to comment.