Skip to content

Commit

Permalink
add support for q=syndicate-to query not just q=config as requested by
Browse files Browse the repository at this point in the history
  • Loading branch information
dissolve committed Dec 6, 2016
1 parent 659530a commit 2254d63
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion manifest.json
@@ -1,6 +1,6 @@
{
"manifest_version": 2,
"version": "1.1.2",
"version": "1.1.3",
"name": "InkStone",
"short_name": "InkStone",
"default_locale": "en",
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "inkstone",
"description": "An Aurelia client application.",
"version": "1.1.2",
"version": "1.1.3",
"repository": {
"type": "git",
"url": "https://github.com/dissolve/inkstone"
Expand Down
9 changes: 7 additions & 2 deletions src/post.js
Expand Up @@ -44,9 +44,14 @@ export class PostDetails {
this.mp_configs = null
this.mp.get_configs().then(data => {
//this.syndication_targets = data['syndicate-to']
this.mp_configs = data
this.mp_configs = data;
}).catch(error => {
console.log(error);
this.mp.get_syndication_targets().then(data => {
//this.syndication_targets = data['syndicate-to']
this.mp_configs = {'syndicate-to' : data};
}).catch(error => {
console.log(error);
});
});

/* //FOR DEBUGGING
Expand Down
2 changes: 1 addition & 1 deletion worker.js
@@ -1,4 +1,4 @@
var CACHE_NAME = 'inkstone-v1.1.2';
var CACHE_NAME = 'inkstone-v1.1.3';
var BASE_DIR = '/inkstone';

// The files we want to cache
Expand Down

0 comments on commit 2254d63

Please sign in to comment.