Hi Kris

Thanks for your hack but my js file does not work.My js file is as 
following.
If you notice my mistake,Please tell me it.
https://gist.github.com/puriketu99/5860424

-puriketu99

2012年10月28日日曜日 2時48分26秒 UTC+9 Kristopher Giesing:
>
> I added a function like this to the channel javascript:
>
> goog.appengine.DevSocket.setConnectionBase = function(base) { 
> goog.appengine.DevSocket.BASE_URL = base + "_ah/channel/"};
>
> ...
>
> goog.exportSymbol("goog.appengine.Channel.setConnectionBase", 
> goog.appengine.DevSocket.setConnectionBase);
>
> This allowed me to serve the channel javascript as a static file served 
> outside of appspot.com instead of through the normal page load process. 
> (This is a static mobile app based on PhoneGap.) The base URL I set to was 
> the appspot.com domain.
>
> - Kris
>
> On Wednesday, October 24, 2012 2:10:20 PM UTC-7, niedbalski wrote:
>>
>> Hi Kristopher,
>>
>> On Tuesday, October 23, 2012 3:15:02 AM UTC-3, Kristopher Giesing wrote:
>>
>>> The live version uses an embedded iFrame.  The dev server version can't 
>>> work across domains without modifications, but I have gotten it to work by 
>>> adding a method that overrides the base URL.
>>>
>>> - Kris
>>>
>>> On Monday, October 22, 2012 2:27:28 PM UTC-7, niedbalski wrote:
>>>>
>>>> ...
>>>>
>>>>
>>
>> Do you know why the development server is not using the same iframe 
>> work-around ?  Can you share your hack for this?
>>
>> Thanks you.
>>
>> JNR.
>>
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to