This project is read-only.
Project Description
T4 template for Javascript generation. Helps to get access from Javascript to constants and urls of your MVC actions. MvcActions.Home.Index("param1") - in pure JS without serverside code

Install it via nuget: Install-Package T4MVCJS

T4MVCJS parses you route rules to create an appropriate .js files. It initially assumes you're defining your routes in Global.asax - RegisterRoutes function.
If it isn't so you might need to correct generated T4Proxy.cs to point it to your routes definition function.

Russian docs about T4MVCJS:

Last edited Feb 23, 2012 at 9:56 AM by Shaddix, version 6