The include function is designed for files that are located in
packages.
For example: /mystuff/gui/label.js
If you want to include local files not in a package, you should then
use <script src=?> tags. I don't think we need to make the include
directory have to check and decide if you mean a local include or a
package include espcially when you can easily just include the src in
a script tag.
--
// Robert Rainwater
On 12/6/2000, 4:58:02 PM EST, Ben wrote about "[Dynapi-Help] Bug in DynAPI.include?":
> I've been playing around with the newest releases, and I think I may
> have found a bug in the DynAPI.include function. When loading my own
> source files like this:
> DynAPI.include('myfile.js','js/');
> the include function tries to output:
> <script language="Javascript1.2" src="js/myfile//js"></script>
> It also happens when I try to include 'myfile' instead of 'myfile.js'.
> Is this a deliberate change from the earlier 2.0 way of doing this, or a
> legitimate bug?
> - ben
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/mailman/listinfo/dynapi-help
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/dynapi-help