Javascript Variable
-
Most of WordPress plugins output before the js a script tag with some variables in it. Your plugin doesn’t match them and doesn’t include them and so most of the scripts that use variables die.
I have made another js file named variables and copy pasted everything there. Now works like a charm.
It would be awesome to not have to upload a js file and just to manually include javascript in a box in the plugin, it would be awesome.
Also, Dean Edwards’s JavaScript Packer doesn’t work… It breaks everything and I don’t really know from what… Missing semicolons look like a first problem but can’t really see from where’s the problem.
Haven’t looked if your plugin uses cache but everything works fine now 🙂
Also, maybe use github for other people to contribute? 🙂
The topic ‘Javascript Variable’ is closed to new replies.