Skip to content
This repository
Browse code

Refined 0.3.0beta changes descriptions.

  • Loading branch information...
commit daef1bbf688a0154a8b518f22594908b62ea5998 1 parent ab14fbc
Maurice Machado authored July 26, 2011

Showing 1 changed file with 20 additions and 20 deletions. Show diff stats Hide diff stats

  1. 40  CHANGELOG.md
40  CHANGELOG.md
Source Rendered
... ...
@@ -1,40 +1,40 @@
1 1
 **v0.3.0beta** (2011-07-xx):
2 2
 
3  
-  - Added an express adapter that allows `partial 'foo'` instead of `text @partial 'foo'` (see /examples/express).
  3
+  - Added documentation: API reference at `/docs/reference.md` and annotated source at `/docs/coffeekup.html`.
4 4
 
5  
-  - Added id/class shortcuts (`div '#id.class.class2', 'contents'`).
6  
-  
7  
-  - Solved express integration issues and eliminated the need for a meryl adapter.
  5
+  - Added id/class shortcuts: `div '#id.class.class2', 'contents'` (thanks @aeosynth and @payload).
  6
+
  7
+  - Added IE conditional comments: `ie 'lt IE8', -> 'IE 7 or less stuff'` (thanks @aeosynth).
8 8
   
9  
-  - `ck.render tpl, foo: 'bar'` now accessible as `h1 @foo`.
  9
+  - Added `ck.adapters.express` which allows `partial 'foo'` instead of `text @partial 'foo'` - see `/examples/express` (thanks @cushman).
10 10
   
11  
-  - `ck.render tpl, locals: {foo: 'bar'}` now implemented by default through  
12  
-  the `with` keyword (past behavior with `dynamic_locals: true`).
  11
+  - Added `coffeescript src: 'file.coffee'` and `coffeescript 'string'` - see reference (thanks @henrikh).
13 12
   
14  
-  - `ck.render tpl, hardcode: {foo: 'bar'}` will hardcode these locals.
  13
+  - Changed the template param format to align with Express and other templating engines. Now `tpl(foo: 'bar')` makes `foo` accessible as `h1 @foo`. `context` is not used anymore.
15 14
   
16  
-  - Optional third param to `ck.render`.
  15
+  - `tpl(locals: {foo: 'bar'})` now always implemented through the `with` keyword (past behavior with `dynamic_locals: true`).
17 16
   
18  
-  - Gone with ck_* locals, now all implementation inside `__ck`.
  17
+  - `tpl(hardcode: {foo: 'bar'})` will hardcode `foo` into the compiled template's body (past behavior with `dynamic_locals: false`).
19 18
   
20  
-  - `coffeescript src: 'file.coffee'` and `coffeescript 'string'`.
  19
+  - Fixed: `coffeescript -> code()` now correctly adds CoffeeScript helpers to the output.
21 20
   
22  
-  - `coffeescript -> code()` now correctly adds coffeescript helpers to the output.
  21
+  - Changed: using `.call(this);` instead of `();` in js generated by `coffeescript`.
23 22
   
24  
-  - Correctly handle numbers and booleans when used as tag contents.
  23
+  - Fixed: correctly handle numbers and booleans when used as tag contents or attribute values.
25 24
   
26  
-  - Doctypes now editable at `coffeekup.doctypes`. Using `doctypes['default']`
27  
-  instead of `doctypes['5']` by default. Added the `ce` doctype.
  25
+  - Fixed #50: "`coffeekup -w` quits on syntax error".
28 26
   
29  
-  - List of tags now editable at `coffeekup.tags`, and self-closing tags at `coffeekup.self_closing`.
  27
+  - Added: doctypes now editable at `coffeekup.doctypes`, tags at `coffeekup.tags`, and self-closing tags at `coffeekup.self_closing`.
30 28
   
31  
-  - Added IE conditional comments: `ie 'lt IE8', -> 'IE 7 or less specific stuff'` (thanks @aeosynth).
  29
+  - Added the `ce` doctype.
32 30
   
33  
-  - Using '.call(this);' instead of '();' in js generated by the 'coffeescript' tag.
  31
+  - Changed: using `doctypes['default']` instead of `doctypes['5']` by default.
34 32
   
35  
-  - Fixed #50: "`coffeekup -w` quits on syntax error".
  33
+  - Changed: in `coffeekup.render`, option `cache` is now `false` by default.
  34
+
  35
+  - Added a third optional param to `render`. You can pass an object with options and they will be merged with the main object param.
36 36
   
37  
-  - In `coffeekup.render`, option `cache` is now `false` by default.
  37
+  - Removed ck_* locals, now all implementation inside the `__ck` object.
38 38
 
39 39
 **v0.2.3** (2011-05-06):
40 40
 

0 notes on commit daef1bb

Please sign in to comment.
Something went wrong with that request. Please try again.