Hi
I'm using a jquery plugin called backstretch. In my included js file
called "main.js" I have this snippet relevant to that 3rd party module:
$("body").backstretch([
"assets/images/bg1.jpg",
"assets/images/bg2.jpg",
"assets/images/bg3.jpg"
], {duration: 5000, fade: 1000});
My main.js
Hi,
My js file is a colorpicker and it uses these images to display the color
options. Being a thirdparty component it, should just work fine without
any changes. But that doesnt seems to be the case , and no image is
displayed for the picker, since the image is not loaded/resource is not
found .
On Mon, 22 Sep 2014 19:11:59 -0300, akshay
wrote:
Hi,
Hi!
Thanks for your concern!!
;)
Whereas when I remove "dependsOn(img.getFile()))" code snippet, it loads
fine, but without the image( which is required by the js file to work
functionally).
I am just trying to find out a way in w
Hi,
Thanks for your concern!!
Doesnt work here implies that , the javascript fails to be identified and
hence its not loaded.
Whereas when I remove "dependsOn(img.getFile()))" code snippet, it loads
fine, but without the image( which is required by the js file to work
functionally).
I am just t
On Mon, 22 Sep 2014 16:54:03 -0300, akshay
wrote:
Hello,
Hi!
configuration.add("xyz", new JavaScriptModuleConfiguration(
js).exports("variable").dependsOn(img.getFile()));
The dependsOn() method you called above doesn't not do what you think it
does. It says a given RequireJS
Hello,
I am unable to load the images related to my *.js file in the normal way,
due to unknown reasons.
So, I am trying to find a way in which I can explicity load the image path
associated to my *.js file.
I intend to use my custom Library class which contributes JavaScript
libraries.
As of n