Skip to content

Commit

Permalink
added new prop, bump version to v0.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyTheTank committed Jun 19, 2016
1 parent 4b7aa70 commit c4ff1a8
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 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 <[email protected]>"
],
"version": "0.2.2",
"version": "0.2.3",
"description": "angular factory for wikipedia rest api connection",
"main": "dist/angular-wikipedia-api-factory.min.js",
"moduleType": [],
Expand Down
8 changes: 4 additions & 4 deletions dist/angular-wikipedia-api-factory.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
@name: angular-wikipedia-api-factory
@version: 0.2.2 (18-06-2016)
@version: 0.2.3 (19-06-2016)
@author: Jonathan Hornung
@url: https://github.com/JohnnyTheTank/angular-wikipedia-api-factory#readme
@license: MIT
Expand Down Expand Up @@ -91,7 +91,7 @@ angular.module("jtt_wikipedia", [])

switch (_type) {
case "searchArticlesByTitle":
wikipediaSearchData.object.prop = 'extracts|pageimages';
wikipediaSearchData.object.prop = 'extracts|pageimages|info';
wikipediaSearchData.object.generator = 'search';
wikipediaSearchData.object.gsrsearch = 'intitle:' + _params.term;
wikipediaSearchData.object.pilimit = 'max';
Expand All @@ -105,7 +105,7 @@ angular.module("jtt_wikipedia", [])
break;

case "searchArticles":
wikipediaSearchData.object.prop = 'extracts|pageimages';
wikipediaSearchData.object.prop = 'extracts|pageimages|info';
wikipediaSearchData.object.generator = 'search';
wikipediaSearchData.object.gsrsearch = _params.term;
wikipediaSearchData.object.pilimit = 'max';
Expand All @@ -119,7 +119,7 @@ angular.module("jtt_wikipedia", [])
break;

case "getArticle":
wikipediaSearchData.object.prop = 'extracts|pageimages|images';
wikipediaSearchData.object.prop = 'extracts|pageimages|images|info';
wikipediaSearchData.object.titles = _params.term;

wikipediaSearchData = this.fillDataInObjectByList(wikipediaSearchData, _params, [
Expand Down
4 changes: 2 additions & 2 deletions dist/angular-wikipedia-api-factory.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-wikipedia-api-factory",
"version": "0.2.2",
"version": "0.2.3",
"description": "angularjs factory for wikipedia jsonp rest api requests",
"main": "dist/angular-wikipedia-api-factory.min.js",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions src/angular-wikipedia-api-factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ angular.module("jtt_wikipedia", [])

switch (_type) {
case "searchArticlesByTitle":
wikipediaSearchData.object.prop = 'extracts|pageimages';
wikipediaSearchData.object.prop = 'extracts|pageimages|info';
wikipediaSearchData.object.generator = 'search';
wikipediaSearchData.object.gsrsearch = 'intitle:' + _params.term;
wikipediaSearchData.object.pilimit = 'max';
Expand All @@ -98,7 +98,7 @@ angular.module("jtt_wikipedia", [])
break;

case "searchArticles":
wikipediaSearchData.object.prop = 'extracts|pageimages';
wikipediaSearchData.object.prop = 'extracts|pageimages|info';
wikipediaSearchData.object.generator = 'search';
wikipediaSearchData.object.gsrsearch = _params.term;
wikipediaSearchData.object.pilimit = 'max';
Expand All @@ -112,7 +112,7 @@ angular.module("jtt_wikipedia", [])
break;

case "getArticle":
wikipediaSearchData.object.prop = 'extracts|pageimages|images';
wikipediaSearchData.object.prop = 'extracts|pageimages|images|info';
wikipediaSearchData.object.titles = _params.term;

wikipediaSearchData = this.fillDataInObjectByList(wikipediaSearchData, _params, [
Expand Down

0 comments on commit c4ff1a8

Please sign in to comment.