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

723 Views Asked by At

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.

1

There are 1 best solutions below

0
On BEST ANSWER

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

it should be as simple as that