I'm having real trouble trying to get started with FunScript, I really love the idea of F# -> Javascript but constantly frustrated by the amount information/documentation of how to work with such beautiful-looking technologies.
Here's the problem:
The FunScript Project (No Hosting) template cannot be installed because: "You need Nuget Installed", says VS when I try to download it. // Dah, I do have Nuget and just updated it to latest release. I'm using VS2013 Ultimate.
I did the following:
I created a new FSharp Library Project and then I ran the Package Maneger command for getting the needed FunScript Libs:
PM> Install-Package FunScript
that worked nice but then . . . When I look at a FunScript example I see the open FunScript.TypeScript
in the program which currently does not exist when I type that as it says TypeScript is not defines, and looking at the examples FunScript.TypeScript gives the ability to use jQuery and interact with the DOM. so without it i can't do anything here
I did notice the 3rd-party libs on Nuget for FunScript, the:
FuncScript.TypeScript.Bindings.(lib|jquery)
but i can't reference those in an "open [namespace]" statement.
and at last, there must be a "do Runtime components ..." something at the end of the program. this also is 'not defined'
Do you guys have a complete FunScript example that I can start with? (I have already searched the web alot, the programs i saw didn't work with me)