Commit Graph
27 Commits
Author SHA1 Message Date
Erik Krogh Kristensen 6c95a70c74 Updating handlebars to version 4, and filling in missing documentation. 2016-08-04 10:22:38 +02:00
vvakame 7de6c3dd94 Merge branch 'master' into rename-repo-url 2016-03-17 21:06:54 +09:00
vvakame 14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09:00
vvakame 56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
vvakame 4de74cb527 normalize line ending (CRLF -> LF) 2016-02-16 01:20:30 +09:00
Chiyu Zhong 29171e8fbf fix handlebar also support register multiple helpers 2015-12-31 17:01:54 +08:00
gscshoyru f91008d4cd Add unregister functions to handlebars.d.ts 2015-12-02 12:19:39 -05:00
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 HunsakerandJed 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