Hi,
1- First of all, do you frequently use jspax for your jQuery plugins ?
no one said this plugin is the first of its kind.
Yes I do. I have recieved reports from developers that have poblems with jsPax
and IE, but none of their testcases did show their problems for me. For my
part I never
Hi Christof
It's certainly better if the developer organizes it's code. Using a
package manager, or w/e script fulfills that need.
Some frameworks, already are organized into packages, and they usually
have a package loader integrated.
Now, jQuery is not structured in packages, it's a core.
Hi,
Now, jQuery is not structured in packages, it's a core. You could
consider the plugins as package, but there's no jQuery module to load
them orderly (that I know of).
That was one of the reasons I wrote jsPax. I chose not to use jQuery in jsPax,
because I still have some applications
Hi Ariel,
a quick question: did you consider instead to use the selector method
in order to line in the plugins to be lazy loaded?
for instance:
script class=lazy
src=_js/jquery_plugins/jquery.metadata.1.0/jquery.metadata.js
type=text/javascript/script
script class=lazy
Hi,
i have no idea whether this is feasible or not, i'm just a UI designer
No, it isn't. The browser doesn't know what you mean by class=lazy. As soon
as the browser reads a script tag it will begin to load the script, no matter
what classname you gave it. There is no way to stop him.
Hi,
First release of jQuery.Plugin, that's the name, it is used to lazy
load plugins. The file is only fetched with the first call to the
plugin.
1. Why not use existing and tested code like e.g. jsPax (jspax.org) or jsan?
2. Can your code resolve dependencies?
3. Does it work with
what if you comment out your script tags ? i'm probably pulling hairs here.
On Wed, Mar 5, 2008 at 10:48 AM, Christof Donat [EMAIL PROTECTED] wrote:
Hi,
i have no idea whether this is feasible or not, i'm just a UI designer
No, it isn't. The browser doesn't know what you mean by
Hi,
what if you comment out your script tags ? i'm probably pulling hairs here.
Then you don't have the script tags in the DOM. You would need to write your
own parser then to parse the content of the coments - not a too simple task.
Of course you also can not use the existing jQuery
Christof, thanks for bearing with my silly questions and the clear
explanations !
On Wed, Mar 5, 2008 at 12:14 PM, Christof Donat [EMAIL PROTECTED] wrote:
Hi,
what if you comment out your script tags ? i'm probably pulling hairs here.
Then you don't have the script tags in the DOM.
Hi all
Thanks for your comments, a little tough but that's cool and
positive. I checked jspax. It's a regular package manager like any of
those out there (no offense meant). Well, this is different:
1- First of all, do you frequently use jspax for your jQuery plugins ?
no one said this
I added a paste with an example, to show the syntax, I promise a real
demo soon :)
Link: http://flesler.pastebin.com/f3e105964
Ariel Flesler
On 5 mar, 00:44, Ariel Flesler [EMAIL PROTECTED] wrote:
Hi,
First release of jQuery.Plugin, that's the name, it is used to lazy
load plugins. The
11 matches
Mail list logo