Sha256: 3cdc83d09d1294bca5ad40425642ebb0d1f3a68c3eac664f784708ff4ec0f98a
Contents?: true
Size: 762 Bytes
Versions: 2
Compression:
Stored size: 762 Bytes
Contents
(function (context) { /** * @namespace Retreaver */ var Retreaver = { /** * Configure the retreaver client library. * @function configure * @memberof Retreaver * @param {Object} options * @param {String} options.host - Retreaver API Host * @example * Retreaver.configure({host: 'api.rtvrapi.com'}); * */ configure: function (options) { var params = { addr: options.host, http_prefix: 'http', urlregex: "/\\/\\/[^\\/]*\\/(.*)/" }; window.Retreaver._connection = new Retreaver.Base.Request(params); } }; context.Retreaver = Retreaver; })(window);
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
retreaverjs-rails-0.2.1 | src/retreaver.js |
retreaverjs-rails-0.2.0 | src/retreaver.js |