Comparing version 1.1.3 to 1.1.4
@@ -5,3 +5,3 @@ { | ||
"description": "Compile and manage your TypeScript project", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"homepage": "https://github.com/basarat/grunt-ts", | ||
@@ -8,0 +8,0 @@ "repository": { |
@@ -73,4 +73,12 @@ grunt-ts | ||
so that you can use use the variable `test.html` within your typescript to get the content of test.html | ||
as a string :) | ||
as a string. The motivatation is to remove http requests to load templates in various front end frameworks. | ||
####Html 2 TypeScript usage in AngularJS | ||
This is great for putting variables in templateCache : http://docs.angularjs.org/api/ng.$templateCache | ||
or even using the html string directly by setting it to the `template` properties (directives/views) instead of `templateUrl` | ||
####Html 2 TypeScript usage in EmberJS | ||
You can specify this string to the template on a view : http://emberjs.com/api/classes/Ember.View.html | ||
Specifically: http://stackoverflow.com/a/9867375/390330 | ||
###Live file watching and building | ||
@@ -77,0 +85,0 @@ Can watch a directory for you and recompile your typescript files when any typescript file changes, gets added, gets removed. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
123177
145