That is exactly what I was going for, thanks!
On Apr 3, 11:44 pm, Eric Garside wrote:
> If you get the developer build, each of the files is separated out
> into a: ui.core.js, ui.draggable.js, etc format. If you want to add a
> bit of spice:
>
> $.uinclude = function(){
> var scripts = ['co
cool little chunk of code, thanks for sharing. I did something like this
for sets of trimpath templates (js/html templates), never thought to do
it for scripts. Nice.
- Jack
Eric Garside wrote:
If you get the developer build, each of the files is separated out
into a: ui.core.js, ui.draggable
What a great example, very usefull! I never thought of doing
something like that...
On Apr 3, 11:44 pm, Eric Garside wrote:
> If you get the developer build, each of the files is separated out
> into a: ui.core.js, ui.draggable.js, etc format. If you want to add a
> bit of spice:
>
> $.uinclude
If you get the developer build, each of the files is separated out
into a: ui.core.js, ui.draggable.js, etc format. If you want to add a
bit of spice:
$.uinclude = function(){
var scripts = ['core'], counter, loaded = 0;
scripts.push.apply(this, arguments);
counter = scripts.length;
4 matches
Mail list logo