Let me preface this by saying that even calling this function in a
[<content type="url"...] gadget might not even make that much sense...
It would seem nice though, if this particular API would do something like:
Index: io.js
===================================================================
--- io.js (revision 1137018)
+++ io.js (working copy)
@@ -511,6 +511,10 @@
* @member gadgets.io
*/
getProxyUrl: function(url, opt_params) {
+ if (!config['proxyUrl']) {
+ return url;
+ }
+
var params = opt_params || {};
var refresh = params['REFRESH_INTERVAL'];
if (refresh === undefined) {
Is there currently any documentation for which feature libraries are
currently safe to use in a [<content type="url"...] gadget?
How should I treat gadgets.config.init? Should I be calling this myself
before or after I inject the feature libraries into my gadget frame?