Commit Graph

20 Commits

Author SHA1 Message Date
Anthony Guo
f6d84e170d Add the helpers property to the Handlebars module 2015-09-09 16:41:38 -07:00
Calvin Fernandez
660e1252cd Update handlebars definition files for handlebars 3.0.3 2015-06-15 20:22:32 -04:00
Calvin Fernandez
cac474a0e2 Move handlebars to handlebars-1.0.0. 2015-06-15 20:21:26 -04:00
Simon Krajewski
29ebb788d0 replace nbsp by normal spaces 2015-03-10 10:04:00 +01:00
Igor Rogatty
7159e9a3dd Utils is a module, not class 2015-01-23 15:27:16 +01:00
Igor Rogatty
890265f436 Added definition for Handlebars.Utils.escapeExpression() 2014-10-27 17:12:20 +01:00
gscshoyru
adf02b7701 Add AST type definitions to handlebars.d.ts
Also put a module around the "SafeString" type to fix the compiler error.
2014-10-08 13:34:18 -04:00
Steve Fenton
e911b3c061 Added extensibility point for templates.
This allows named templates to be added, for example:

    interface HandlebarsTemplates {
        specialListOfThings: HandlebarsTemplateDelegate;
    }

So the strongly typed version can be used.

    var template = Handlebars.templates.specialListOfThings;
2014-07-25 08:15:51 +01:00
Daniel Rosenwasser
e086199310 Removed type queries used on interface members.
typeof cannot be used on members within an interface.
It is currently permitted due to bug in the TypeScript compiler.
2014-05-09 17:30:48 -07:00
Omid K. Rad
1975cba549 Added definitions for Handlebars Runtime 2014-04-21 11:34:44 -07:00
Steven
b8e5189925 Changing the context param to be OPTIONAL
The compile function returns a template function. The template function takes two parameters, `context` and `options`. These are both optional parameters. This commit fixes `context` to be optional.
2014-01-23 16:08:20 -08:00
Igor Oleinikov
4fce4a3a03 handlebars: fixed tests 2013-12-22 14:22:32 +04:00
Jed Hunsaker
a63e5a7e1e Fix Ember/Handlebars 2013-12-14 14:21:00 -06:00
Derek Cicerone
4f3546a1e5 Fix noImplicitAny in handlebars.d.ts
* diff from the previous change is on line 20 - "options" needed to be optional
2013-10-03 12:11:32 -04:00
Jed Hunsaker
e385702968 Fix Ember and Handlebars 2013-09-22 11:16:35 -07:00
Derek Cicerone
555d0f5c5f Replace bool with boolean (for TypeScript 0.9.0+) 2013-07-01 19:10:05 -04:00
Boris Yankov
209d95071a Update reference paths 2013-01-17 20:03:30 +02:00
Boris Yankov
c98eebb137 Rename all definition files, remove versions 2013-01-17 17:17:27 +02:00
Boris Yankov
7c82efb17a Update reference paths 2012-11-19 01:28:08 +02:00
Boris Yankov
c91c45f9ae Move definitions and test in separate folders
This enables each definition to have a readme if necessary.
Also a .json metadata file to help with package managers.
And last, to have different versions of the definitions.
2012-11-18 22:28:44 +02:00