MrHackett / iui

Automatically exported from code.google.com/p/iui
MIT License
0 stars 0 forks source link

feature: extract xhr functionality #211

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I quite often use YUI connection manager in various js projects. Since IUI
is aimed at being small, no external libraries are needed, which is great.

However, to be able to easily port existing applications to a mobile
version, I'd like to suggest extracting the xhr functionality from the
showPageByHref method, in such a way that it is compatible with YUI's
Connect.asyncRequest. This way, One can easily omit YAHOO's connection
manager and use iui.asyncRequest instead.

I attached my suggestion 

the file contains two methods (asyncRequest and showPageByHref) that should
replace the current showPageByHref 

Original issue reported on code.google.com by rikkertk...@gmail.com on 3 Jan 2010 at 11:53

Attachments:

GoogleCodeExporter commented 8 years ago
Take a look at iUI 0.40 - there is an iui.ajax call that offers similar 
functionality.  Please feel free to suggest 
improvements to that implementation.

Original comment by msgilli...@gmail.com on 4 Jan 2010 at 12:08