hacksalot
917fd8e3f3
Refactor helpers.
...
Rebind Handlebars helpers to drop the pesky options hash for standalone
helpers that don't need it. Move block helpers (which do need the
Handlebars options/context) to a separate file for special handling.
2016-02-14 04:10:23 -05:00
hacksalot
7c36ff8331
Introduce "date" helper.
2016-02-13 22:54:07 -05:00
hacksalot
daeffd27b5
Remove HB reference from generic helpers.
2016-02-11 22:06:43 -05:00
hacksalot
31e0bb69cc
Introduce "pad()" helper.
...
Introduce a helper to emit padded strings / arrays of strings.
2016-02-11 22:02:50 -05:00
hacksalot
317a250917
Gather.
2016-02-11 11:48:44 -05:00
hacksalot
1bc4263a46
Aerate.
2016-02-09 10:50:10 -05:00
hacksalot
e191af1fb0
Fix glitch in converted CoffeeScript.
...
Replace naked ternary with if then else.
2016-02-09 10:41:48 -05:00
hacksalot
7c0a9bcc02
Aerate.
2016-02-09 10:37:33 -05:00
hacksalot
896b7055c1
Fix issue with undefined sections.
...
Fixes #127 .
2016-01-29 15:50:21 -05:00
hacksalot
0f65e4c9f3
Finish HackMyCore reshaping.
...
Reintroduce HackMyCore, dropping the interim submodule, and reorganize
and improve tests.
2016-01-29 15:23:57 -05:00
hacksalot
d3194fba19
Relocate internal sources to HackMyAPI.
...
Move internal sources and related tests to:
https://github.com/hacksalot/HackMyAPI
2016-01-24 09:55:04 -05:00
hacksalot
e6d2255291
Scrub.
2016-01-23 23:30:48 -05:00
hacksalot
2840ec3f87
Introduce {{fontSize}} helper.
2016-01-23 22:40:33 -05:00
hacksalot
20961afb62
Introduce {{color}} helper.
2016-01-23 20:24:35 -05:00
hacksalot
1256095e25
Support "fonts.all" in FRESH themes.
...
Add support for default font specs in FRESH theme.json files. The "all"
format matches any format that doesn't have a specific key in "fonts".
2016-01-23 03:58:11 -05:00
hacksalot
f073c79b8d
Better dynamic font handling.
2016-01-22 22:19:28 -05:00
hacksalot
915f35b1e6
Improve Underscore.js rendering support.
2016-01-22 10:36:26 -05:00
hacksalot
4fe74057f9
Improve font helpers.
...
Log a warning on incorrect use.
2016-01-22 08:33:01 -05:00
hacksalot
7b3364c356
Document parameter.
2016-01-22 02:44:17 -05:00
hacksalot
58a7fc09e5
Add toUpper helper.
2016-01-22 02:44:04 -05:00
hacksalot
a935fe7dc2
Introduce {{fontFace}} helper.
2016-01-21 23:39:30 -05:00
hacksalot
6b171e69db
Improve CSS handling.
2016-01-21 05:21:49 -05:00
hacksalot
c98d05270e
Improve error handling.
2016-01-18 17:13:37 -05:00
hacksalot
3e3803ed85
Improve error handling.
2016-01-18 14:10:35 -05:00
hacksalot
0829800b65
Move helpers to /helpers.
2016-01-09 22:13:29 -05:00
hacksalot
d7cfc76636
Promote console helpers has to console-helpers.js.
2016-01-09 22:11:06 -05:00