js problem

Forums: 

Hi,

When working with some of the libraries I have encountered a problem with the js files, when changing the js file in the interactive video the change does not seem to have any effect, even when deleting the file and staying with only the semantics and librariy jsons the video still works.

Is it beacuse of some dependency of some other library? What can I do to solve this problem? Guess that I am missing something simple.

Using Drupal 7.

Best regards,

Omer

otacke's picture

Hi Omer!

Have you built the distribution files? You can change the source files as much as you like: when viewing IV, only the distribution files will be used.

Best,

Oliver

Hi Oliver,

Yes I have. I'm working with libraries which need this build command and with some that do not need to be build but the same problem appears in both.
I have managed to change the js file but after a few changes this happens again, and all the changes that I apply does not have any effect.
The only working solution that I have found is changing the preloadadJs path names to a different name, trying to run it again, and then change the real path accordingly.

I'll appriciate your advice.

Best regards,
Omeℛ

otacke's picture

Hi OmeR!

It's really hard to tell what might be going wrong without knowing what exactly you changed or what's going on on your system - messing with libraries that way can become messy. I've never run into those issues when I stuck to using the development folder of Drupal.

Best,
Oliver