Yehuda Katz
730c412925
Merge pull request #218 from SlexAxton/master
...
Adding using a 'class' variable name as a 'known issue'
2012-05-06 20:53:52 -07:00
Peter Wagenet
2418feaf19
Wrap base Handlebars in a closure to prevent var leakage - fixes #205
2012-05-04 15:27:50 -07:00
Alex Sexton
c2591f428b
Adding warning in about using 'class' as a variable name.
2012-04-11 21:46:28 -05:00
John Freeman
0872fb6699
block helper "with" should check for empty context
2012-03-31 23:09:27 -05:00
Peter Wagenet
98b3327c75
Merge pull request #202 from neomorphic/master
...
vm -> runtime change in README
2012-03-06 07:17:58 -08:00
Jody Clements
992fdf2071
Update README to reflect vm -> runtime change
...
Looks like one handlebars.vm.js was missed in the README file during the
change to handlebars.runtime.js
2012-03-06 08:32:01 -05:00
Brian Palmer
bd9a84a0b7
properly handle amperstands when HTML escaping
...
escapeExpression, when given a string like ">", was simply returning
">", not escaping the amperstand. This is incorrect, and makes it
impossible to have Handlebars properly escape a
string like "Escaped, <b> looks like: <b>"
If the intention of the user is to not escape these characters, then
{{{}}} or {{&}} should be used
2012-02-29 11:25:51 -07:00
tomhuda
24e04bad94
JSHint the library and fix a few bugs
2012-02-17 16:51:35 -08:00
Peter Wagenet
e6079ca5e2
Merge pull request #177 from kpdecker/master
...
Rev npm package to 1.0.5beta
2012-02-09 09:56:22 -08:00
kpdecker
bef909f5cb
1.0.5beta
v1.0.5beta
2012-02-09 11:06:11 -06:00
Peter Wagenet
0b97fea56f
Fixed error in lexer
2012-02-08 20:49:50 -08:00
Peter Wagenet
2ea95ca08d
Fixed whitespace and semi-colons
2012-02-08 20:49:49 -08:00
Peter Wagenet
cb9db98642
Merge pull request #165 from spadgos/patch-1
...
Added a missing `var` statement.
2012-02-08 18:08:26 -08:00
Nick Fisher
58e2c2410f
Added a missing var statement.
2012-01-17 07:16:19 +01:00
Yehuda Katz
6040149cf8
I'm an idiot
2011-12-31 16:04:11 -08:00
Yehuda Katz
17cdb0091b
Missing some reserved words
2011-12-31 15:41:16 -08:00
Yehuda Katz
730c2617af
Differentiate between lambdas in the context (which should have mustache semantics) and helpers (which have Handlebars helper semantics).
2011-12-31 13:51:54 -08:00
Yehuda Katz
757d5250dc
Rename "vm" to "runtime" for clarity
2011-12-27 18:15:44 -08:00
Yehuda Katz
163a92ebe0
Update Gemfile.lock with latest TRR with lion support
2011-12-27 17:05:22 -08:00
Yehuda Katz
c79c761460
Add support for escaping mustaches
2011-12-27 17:04:59 -08:00
Yehuda Katz
e474e56b80
data should be passed through to partials. closes #111 .
2011-12-27 15:57:08 -08:00
Yehuda Katz
69307d0e2b
Allow function parameters to #if. This was originally disallowed because it is decidedly not idiomatic Handlebars, which would prefer that you use helpers for these cases, not pollute your context objects with functions to call from your template, but enough people asked for it that I'll give in.
...
I will personally not be using this feature and still strongly recommend that people use helpers in this case.
2011-12-27 15:47:45 -08:00
Yehuda Katz
9852502636
Bump version
2011-12-27 13:34:37 -08:00
Yehuda Katz
7a0bf9d332
Handlebars errors should copy the message over
2011-12-27 13:18:54 -08:00
Yehuda Katz
2e7ea96818
Add Ember.js
2011-12-27 13:13:57 -08:00
Yehuda Katz
932e2970ad
Realign lexer actions
2011-12-27 01:23:28 -08:00
Yehuda Katz
373d10edb1
Literal square-bracket path segments cannot have ] in them. TODO: Allow escaped path segments.
2011-12-27 01:21:53 -08:00
Yehuda Katz
bd0f74fbd9
Test that the hello world mustache example works
2011-12-27 00:43:30 -08:00
Yehuda Katz
e57e626480
Fix bug where inverse section was being passed to subsequent helpers
2011-12-27 00:30:46 -08:00
Yehuda Katz
cb04822812
Merge pull request #156 from broady/master
...
Fix support for Rhino
2011-12-23 16:57:51 -08:00
Yehuda Katz
647d5adf85
Merge pull request #121 from tablatom/master
...
Added a noEscape option to Handlebars.compile
2011-12-23 16:57:39 -08:00
Yehuda Katz
6df51733d3
Merge pull request #157 from kpdecker/npm-update
...
Npm update
2011-12-22 23:52:22 -08:00
kpdecker
9c9d92413e
Update package version number
2011-12-22 22:52:41 -06:00
kpdecker
c6eec286a8
Update package dependencies
2011-12-22 22:52:20 -06:00
Chris Broadfoot
f6070f0084
Fix support for Rhino
2011-12-20 10:43:37 +11:00
Yehuda Katz
87e6f21765
Add a status button
2011-12-16 16:13:07 -08:00
Yehuda Katz
3afc572f6b
Compile after installing jison
2011-12-16 16:07:54 -08:00
Yehuda Katz
fea981a3f6
Try to install jison if it's not already installed
2011-12-16 15:55:12 -08:00
Peter Wagenet
799c7ed3ce
Merge pull request #155 from twe4ked/patch-1
...
Add syntax highlighting to the README.
2011-12-05 22:15:47 -08:00
Odin Dutton
b2a27347e8
Add syntax highlighting to the README.
2011-12-06 14:59:48 +10:00
Yehuda Katz
215472dda2
Merge pull request #149 from SlexAxton/patch-1
...
Update the version!
2011-11-30 12:46:13 -08:00
Alex Sexton
8338bc888a
Update the version!
2011-11-30 02:06:49 -06:00
Yehuda Katz
5d15ef9625
Merge pull request #144 from wagenet/rhino-fix
...
Compatibility with Mozilla Rhino
2011-11-22 23:04:40 -08:00
Mike Moulton
42e31ef6db
Escaping a '/' in the ID regex. This was preventing handelbars.js from loading in Rhino.
2011-11-22 22:46:29 -08:00
Yehuda Katz
deac4f5141
Merge pull request #135 from leshill/handlebars_assets
...
Add handlebars_assets to README
2011-11-12 05:51:45 -08:00
Yehuda Katz
79b730ccf3
Merge pull request #132 from steevel/master
...
Broken code when putting js after generated block.
2011-11-12 05:50:29 -08:00
kpdecker
ec3e5e3914
Merge remote-tracking branch 'upstream/master'
2011-11-04 14:15:46 -04:00
Les Hill
5f9919dcf7
Add handlebars_assets to README
2011-11-01 23:20:12 -07:00
Yehuda Katz
608aa94fc3
Update Gemfile.lock
2011-10-28 17:39:49 -07:00
Yehuda Katz
9998d9d9bc
Allow subclasses to customize the namespace
2011-10-28 17:39:42 -07:00