Skip to forum content

Mif

— mystic javascript interface

You are not logged in. Please login or register.


Post new reply

Post new reply

Compose and post your new reply

You may use: BBCode Images Smilies

All fields labelled (Required) must be completed before the form is submitted.

Required information for guests



Captcha image. Turn pictures on to see it.
Required information
Optional post settings

Topic review (newest first)

1

Hello Jeff !

You're right, I misunderstood your previous answer.
Thanks many much for your help, i've finally got the mif_tree working : http://www.baguette.net/debug_mif_tree_v2/ ! :-)

And thanks you also for your patience !

If you came in Belgium, let's me known in order to drink a Belgian Beer ! :-)

2

Hi Levure,

I think you misunderstood the You should check your root path in the builder script (mif.tree-v1.1/assets/scripts/Builder.js)!

Open that file: mif.tree-v1.1/assets/scripts/Builder.js

and set the variable root in it to: mif.tree-v1.1/ instead of ../

3

Hello Jeff !

"mif.tree-v1.1" is a sub-folder of the "debug_mif_tree" folder that contains the HTML file used for testing Mif Tree.
That's why I use that root path (mif.tree-v1.1/assets/scripts/Builder.js)  for the builder script.

Thus, if I change Builder.includeType('source'), I see that it try to get files at the wrong place (I saw that via LiveHHTPHeaders) :

GET /Source/Core/Mif.Tree.mootools-patch.js HTTP/1.1


I don't understand why :
- It try to get theses files at the upper level directory (like a ../ instead of looking in the same directory where is my HTML file)
- It requests a "Source" (uppercase "S" letter) directory instead of a "source" directory. (case does matter in Linux server).

I've left http://www.baguette.net/debug_mif_tree/ with the changes to the Builder.includeType function call in order to allow you to see the problem.

Once again, thanks a lot for your help !

Regards,

4

Hi,

I think you should check your root path in the builder script (mif.tree-v1.1/assets/scripts/Builder.js)!

and change Builder.includeType('debug_mif_tree/mif.tree-v1.1/Source');

to Builder.includeType('source');

5

Hello !

I'm trying to run Mif Tree, but I'm having an error : "Mif is not defined" at line 20.

The line 20 is :

tree = new Mif.Tree({

You can see this error on that URL : http://www.baguette.net/debug_mif_tree/

Did I miss a setup ?

Many thanks in advance for your tips !

Regards,