Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2646)

Unified Diff: content/samplecontainer/samplecontainer.js

Issue 1247044: Incorporate OpenAjax Hub as Pub-Sub Mechanism for Shindig Base URL: http://svn.apache.org/repos/asf/shindig/trunk/
Patch Set: Prefix RPC security error enums; samplecontainer.js fix; small Hub code update Created 14 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/samplecontainer/samplecontainer.js
diff --git a/content/samplecontainer/samplecontainer.js b/content/samplecontainer/samplecontainer.js
index 632f1bacd08cfc279d87107f2db9cfa0a2c26857..7dea5475a450c6e96425130924fb4997854c570f 100644
--- a/content/samplecontainer/samplecontainer.js
+++ b/content/samplecontainer/samplecontainer.js
@@ -90,10 +90,15 @@ shindig.samplecontainer = {};
}
SampleContainerGadget = function(opt_params) {
- shindig.IfrGadget.call(this, opt_params);
+ shindig.BaseIfrGadget.call(this, opt_params);
+
+ // mix-in IfrGadget functions
+ for (var name in shindig.IfrGadget) if (shindig.IfrGadget.hasOwnProperty(name)) {
+ SampleContainerGadget[name] = shindig.IfrGadget[name];
+ }
};
- SampleContainerGadget.inherits(shindig.IfrGadget);
+ SampleContainerGadget.inherits(shindig.BaseIfrGadget);
SampleContainerGadget.prototype.getAdditionalParams = function() {
var params = '';

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b