Skip to content

Commit

Permalink
Release 0.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
raucao committed Oct 20, 2015
1 parent 4fefd5f commit d495556
Show file tree
Hide file tree
Showing 15 changed files with 183 additions and 39 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "remotestorage",
"version": "0.12.0",
"version": "0.12.1",
"main": [
"./release/stable/remotestorage.js"
],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "remotestoragejs",
"description": "JavaScript library for integrating remoteStorage",
"version": "0.12.0",
"version": "0.12.1",
"private": false,
"license": "MIT",
"main": "./node-main.js",
Expand Down
24 changes: 21 additions & 3 deletions release/head/remotestorage-nocache.amd.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/** remotestorage.js 0.12.0, http://remotestorage.io, MIT-licensed **/
/** remotestorage.js 0.12.1, http://remotestorage.io, MIT-licensed **/
define(['bluebird'], function(Promise) {

/** FILE: src/remotestorage.js **/
Expand Down Expand Up @@ -2097,7 +2097,7 @@ define(['bluebird'], function(Promise) {
/** FILE: node_modules/webfinger.js/src/webfinger.js **/
/*!
* webfinger.js
* version 2.1.4
* version 2.2.1
* http://github.com/silverbucket/webfinger.js
*
* Developed and Maintained by:
Expand All @@ -2124,6 +2124,7 @@ if (typeof XMLHttpRequest === 'undefined') {
'http://webfist.org/spec/rel': 'webfist',
'http://webfinger.net/rel/avatar': 'avatar',
'remotestorage': 'remotestorage',
'http://tools.ietf.org/id/draft-dejong-remotestorage': 'remotestorage',
'remoteStorage': 'remotestorage',
'http://www.packetizer.com/rel/share': 'share',
'http://webfinger.net/rel/profile-page': 'profile',
Expand All @@ -2144,7 +2145,7 @@ if (typeof XMLHttpRequest === 'undefined') {
'share': [],
'profile': [],
'webfist': [],
'camilstore': []
'camlistore': []
};

// list of endpoints to try, fallback from beginning to end.
Expand Down Expand Up @@ -2366,6 +2367,23 @@ if (typeof XMLHttpRequest === 'undefined') {
setTimeout(_call, 0);
};

WebFinger.prototype.lookupLink = function (address, rel, cb) {
if (LINK_PROPERTIES.hasOwnProperty(rel)) {
this.lookup(address, function (err, p) {
var links = p.idx.links[rel];
if (err) {
cb (err);
} else if (links.length === 0) {
cb ('no links found with rel="' + rel + '"');
} else {
cb (null, links[0]);
}
});
} else {
cb ('unsupported rel ' + rel);
}
};

if (typeof window === 'object') {
window.WebFinger = WebFinger;
} else if (typeof (define) === 'function' && define.amd) {
Expand Down
24 changes: 21 additions & 3 deletions release/head/remotestorage-nocache.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/** remotestorage.js 0.12.0, http://remotestorage.io, MIT-licensed **/
/** remotestorage.js 0.12.1, http://remotestorage.io, MIT-licensed **/

/** FILE: lib/bluebird.js **/
/**
Expand Down Expand Up @@ -5367,7 +5367,7 @@ module.exports = ret;
/** FILE: node_modules/webfinger.js/src/webfinger.js **/
/*!
* webfinger.js
* version 2.1.4
* version 2.2.1
* http://github.com/silverbucket/webfinger.js
*
* Developed and Maintained by:
Expand All @@ -5394,6 +5394,7 @@ if (typeof XMLHttpRequest === 'undefined') {
'http://webfist.org/spec/rel': 'webfist',
'http://webfinger.net/rel/avatar': 'avatar',
'remotestorage': 'remotestorage',
'http://tools.ietf.org/id/draft-dejong-remotestorage': 'remotestorage',
'remoteStorage': 'remotestorage',
'http://www.packetizer.com/rel/share': 'share',
'http://webfinger.net/rel/profile-page': 'profile',
Expand All @@ -5414,7 +5415,7 @@ if (typeof XMLHttpRequest === 'undefined') {
'share': [],
'profile': [],
'webfist': [],
'camilstore': []
'camlistore': []
};

// list of endpoints to try, fallback from beginning to end.
Expand Down Expand Up @@ -5636,6 +5637,23 @@ if (typeof XMLHttpRequest === 'undefined') {
setTimeout(_call, 0);
};

WebFinger.prototype.lookupLink = function (address, rel, cb) {
if (LINK_PROPERTIES.hasOwnProperty(rel)) {
this.lookup(address, function (err, p) {
var links = p.idx.links[rel];
if (err) {
cb (err);
} else if (links.length === 0) {
cb ('no links found with rel="' + rel + '"');
} else {
cb (null, links[0]);
}
});
} else {
cb ('unsupported rel ' + rel);
}
};

if (typeof window === 'object') {
window.WebFinger = WebFinger;
} else if (typeof (define) === 'function' && define.amd) {
Expand Down
6 changes: 3 additions & 3 deletions release/head/remotestorage-nocache.min.js

Large diffs are not rendered by default.

24 changes: 21 additions & 3 deletions release/head/remotestorage.amd.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/** remotestorage.js 0.12.0, http://remotestorage.io, MIT-licensed **/
/** remotestorage.js 0.12.1, http://remotestorage.io, MIT-licensed **/
define(['bluebird'], function(Promise) {

/** FILE: src/remotestorage.js **/
Expand Down Expand Up @@ -2097,7 +2097,7 @@ define(['bluebird'], function(Promise) {
/** FILE: node_modules/webfinger.js/src/webfinger.js **/
/*!
* webfinger.js
* version 2.1.4
* version 2.2.1
* http://github.com/silverbucket/webfinger.js
*
* Developed and Maintained by:
Expand All @@ -2124,6 +2124,7 @@ if (typeof XMLHttpRequest === 'undefined') {
'http://webfist.org/spec/rel': 'webfist',
'http://webfinger.net/rel/avatar': 'avatar',
'remotestorage': 'remotestorage',
'http://tools.ietf.org/id/draft-dejong-remotestorage': 'remotestorage',
'remoteStorage': 'remotestorage',
'http://www.packetizer.com/rel/share': 'share',
'http://webfinger.net/rel/profile-page': 'profile',
Expand All @@ -2144,7 +2145,7 @@ if (typeof XMLHttpRequest === 'undefined') {
'share': [],
'profile': [],
'webfist': [],
'camilstore': []
'camlistore': []
};

// list of endpoints to try, fallback from beginning to end.
Expand Down Expand Up @@ -2366,6 +2367,23 @@ if (typeof XMLHttpRequest === 'undefined') {
setTimeout(_call, 0);
};

WebFinger.prototype.lookupLink = function (address, rel, cb) {
if (LINK_PROPERTIES.hasOwnProperty(rel)) {
this.lookup(address, function (err, p) {
var links = p.idx.links[rel];
if (err) {
cb (err);
} else if (links.length === 0) {
cb ('no links found with rel="' + rel + '"');
} else {
cb (null, links[0]);
}
});
} else {
cb ('unsupported rel ' + rel);
}
};

if (typeof window === 'object') {
window.WebFinger = WebFinger;
} else if (typeof (define) === 'function' && define.amd) {
Expand Down
24 changes: 21 additions & 3 deletions release/head/remotestorage.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/** remotestorage.js 0.12.0, http://remotestorage.io, MIT-licensed **/
/** remotestorage.js 0.12.1, http://remotestorage.io, MIT-licensed **/

/** FILE: lib/bluebird.js **/
/**
Expand Down Expand Up @@ -5367,7 +5367,7 @@ module.exports = ret;
/** FILE: node_modules/webfinger.js/src/webfinger.js **/
/*!
* webfinger.js
* version 2.1.4
* version 2.2.1
* http://github.com/silverbucket/webfinger.js
*
* Developed and Maintained by:
Expand All @@ -5394,6 +5394,7 @@ if (typeof XMLHttpRequest === 'undefined') {
'http://webfist.org/spec/rel': 'webfist',
'http://webfinger.net/rel/avatar': 'avatar',
'remotestorage': 'remotestorage',
'http://tools.ietf.org/id/draft-dejong-remotestorage': 'remotestorage',
'remoteStorage': 'remotestorage',
'http://www.packetizer.com/rel/share': 'share',
'http://webfinger.net/rel/profile-page': 'profile',
Expand All @@ -5414,7 +5415,7 @@ if (typeof XMLHttpRequest === 'undefined') {
'share': [],
'profile': [],
'webfist': [],
'camilstore': []
'camlistore': []
};

// list of endpoints to try, fallback from beginning to end.
Expand Down Expand Up @@ -5636,6 +5637,23 @@ if (typeof XMLHttpRequest === 'undefined') {
setTimeout(_call, 0);
};

WebFinger.prototype.lookupLink = function (address, rel, cb) {
if (LINK_PROPERTIES.hasOwnProperty(rel)) {
this.lookup(address, function (err, p) {
var links = p.idx.links[rel];
if (err) {
cb (err);
} else if (links.length === 0) {
cb ('no links found with rel="' + rel + '"');
} else {
cb (null, links[0]);
}
});
} else {
cb ('unsupported rel ' + rel);
}
};

if (typeof window === 'object') {
window.WebFinger = WebFinger;
} else if (typeof (define) === 'function' && define.amd) {
Expand Down
6 changes: 3 additions & 3 deletions release/head/remotestorage.min.js

Large diffs are not rendered by default.

24 changes: 21 additions & 3 deletions release/stable/remotestorage-nocache.amd.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/** remotestorage.js 0.12.0, http://remotestorage.io, MIT-licensed **/
/** remotestorage.js 0.12.1, http://remotestorage.io, MIT-licensed **/
define(['bluebird'], function(Promise) {

/** FILE: src/remotestorage.js **/
Expand Down Expand Up @@ -2097,7 +2097,7 @@ define(['bluebird'], function(Promise) {
/** FILE: node_modules/webfinger.js/src/webfinger.js **/
/*!
* webfinger.js
* version 2.1.4
* version 2.2.1
* http://github.com/silverbucket/webfinger.js
*
* Developed and Maintained by:
Expand All @@ -2124,6 +2124,7 @@ if (typeof XMLHttpRequest === 'undefined') {
'http://webfist.org/spec/rel': 'webfist',
'http://webfinger.net/rel/avatar': 'avatar',
'remotestorage': 'remotestorage',
'http://tools.ietf.org/id/draft-dejong-remotestorage': 'remotestorage',
'remoteStorage': 'remotestorage',
'http://www.packetizer.com/rel/share': 'share',
'http://webfinger.net/rel/profile-page': 'profile',
Expand All @@ -2144,7 +2145,7 @@ if (typeof XMLHttpRequest === 'undefined') {
'share': [],
'profile': [],
'webfist': [],
'camilstore': []
'camlistore': []
};

// list of endpoints to try, fallback from beginning to end.
Expand Down Expand Up @@ -2366,6 +2367,23 @@ if (typeof XMLHttpRequest === 'undefined') {
setTimeout(_call, 0);
};

WebFinger.prototype.lookupLink = function (address, rel, cb) {
if (LINK_PROPERTIES.hasOwnProperty(rel)) {
this.lookup(address, function (err, p) {
var links = p.idx.links[rel];
if (err) {
cb (err);
} else if (links.length === 0) {
cb ('no links found with rel="' + rel + '"');
} else {
cb (null, links[0]);
}
});
} else {
cb ('unsupported rel ' + rel);
}
};

if (typeof window === 'object') {
window.WebFinger = WebFinger;
} else if (typeof (define) === 'function' && define.amd) {
Expand Down
24 changes: 21 additions & 3 deletions release/stable/remotestorage-nocache.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/** remotestorage.js 0.12.0, http://remotestorage.io, MIT-licensed **/
/** remotestorage.js 0.12.1, http://remotestorage.io, MIT-licensed **/

/** FILE: lib/bluebird.js **/
/**
Expand Down Expand Up @@ -5367,7 +5367,7 @@ module.exports = ret;
/** FILE: node_modules/webfinger.js/src/webfinger.js **/
/*!
* webfinger.js
* version 2.1.4
* version 2.2.1
* http://github.com/silverbucket/webfinger.js
*
* Developed and Maintained by:
Expand All @@ -5394,6 +5394,7 @@ if (typeof XMLHttpRequest === 'undefined') {
'http://webfist.org/spec/rel': 'webfist',
'http://webfinger.net/rel/avatar': 'avatar',
'remotestorage': 'remotestorage',
'http://tools.ietf.org/id/draft-dejong-remotestorage': 'remotestorage',
'remoteStorage': 'remotestorage',
'http://www.packetizer.com/rel/share': 'share',
'http://webfinger.net/rel/profile-page': 'profile',
Expand All @@ -5414,7 +5415,7 @@ if (typeof XMLHttpRequest === 'undefined') {
'share': [],
'profile': [],
'webfist': [],
'camilstore': []
'camlistore': []
};

// list of endpoints to try, fallback from beginning to end.
Expand Down Expand Up @@ -5636,6 +5637,23 @@ if (typeof XMLHttpRequest === 'undefined') {
setTimeout(_call, 0);
};

WebFinger.prototype.lookupLink = function (address, rel, cb) {
if (LINK_PROPERTIES.hasOwnProperty(rel)) {
this.lookup(address, function (err, p) {
var links = p.idx.links[rel];
if (err) {
cb (err);
} else if (links.length === 0) {
cb ('no links found with rel="' + rel + '"');
} else {
cb (null, links[0]);
}
});
} else {
cb ('unsupported rel ' + rel);
}
};

if (typeof window === 'object') {
window.WebFinger = WebFinger;
} else if (typeof (define) === 'function' && define.amd) {
Expand Down
6 changes: 3 additions & 3 deletions release/stable/remotestorage-nocache.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit d495556

Please sign in to comment.