Search code examples
javascriptjqueryjurassic

Include jQuery in Javascript file that won't be run inside webpage


I am using Javascript to create a standalone script that will be invoked by a C#.NET application. It will not run within a browser, instead it will use the Jurassic engine.

I want to be able to use jQuery in this script. I normally reference jQuery using HTML <script> tags, but how do you include the jQuery file in a standalone Javascript file?

I am thinking of PHP's include() function.


Solution

  • just put a minified Version in top of your standalone js-file !

    it should be as simple as that