Skip to content

Commit

Permalink
Bars v0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaelangelo Jong committed Jan 12, 2017
1 parent 824a28d commit e54510a
Show file tree
Hide file tree
Showing 14 changed files with 25 additions and 13 deletions.
2 changes: 1 addition & 1 deletion benchmark/bars.js
Original file line number Diff line number Diff line change
Expand Up @@ -6864,7 +6864,7 @@ function isArray(obj) {
},{}],94:[function(require,module,exports){
module.exports={
"name": "bars",
"version": "0.8.2",
"version": "0.9.0",
"description": "Bars is a lightweight high performance HTML aware templating engine.",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion demo/bars-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -17223,7 +17223,7 @@ function isArray(obj) {
},{}],98:[function(require,module,exports){
module.exports={
"name": "bars",
"version": "0.8.2",
"version": "0.9.0",
"description": "Bars is a lightweight high performance HTML aware templating engine.",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion demo/bars.js
Original file line number Diff line number Diff line change
Expand Up @@ -6864,7 +6864,7 @@ function isArray(obj) {
},{}],94:[function(require,module,exports){
module.exports={
"name": "bars",
"version": "0.8.2",
"version": "0.9.0",
"description": "Bars is a lightweight high performance HTML aware templating engine.",
"main": "index.js",
"scripts": {
Expand Down
12 changes: 12 additions & 0 deletions docs/bars-language.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ Parentheses:
(<expression>)
```

Brackets:
```
<value>[<expression>]
```

Unary:
```
! <value>
Expand All @@ -89,6 +94,8 @@ Binary
<value> != <value>
<value> === <value>
<value> !== <value>
<value> . <value-name>
```

## Transform
Expand Down Expand Up @@ -162,6 +169,11 @@ The string contents of the variable `name` will be rendered.
```
The string contents of the variable `person.name` will be rendered.

```
{{person['name']}}
```
The string contents of the variable `person['name']` will be rendered.

```
{{x + y}}
```
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bars",
"version": "0.8.2",
"version": "0.9.0",
"description": "Bars is a lightweight high performance HTML aware templating engine.",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/bars-app-compiled.js
Original file line number Diff line number Diff line change
Expand Up @@ -14896,7 +14896,7 @@ function isArray(obj) {
},{}],73:[function(require,module,exports){
module.exports={
"name": "bars",
"version": "0.8.2",
"version": "0.9.0",
"description": "Bars is a lightweight high performance HTML aware templating engine.",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/bars-app-compiled.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/bars-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -17223,7 +17223,7 @@ function isArray(obj) {
},{}],98:[function(require,module,exports){
module.exports={
"name": "bars",
"version": "0.8.2",
"version": "0.9.0",
"description": "Bars is a lightweight high performance HTML aware templating engine.",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/bars-app.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/bars-compiled.js
Original file line number Diff line number Diff line change
Expand Up @@ -4531,7 +4531,7 @@ function isArray(obj) {
},{}],67:[function(require,module,exports){
module.exports={
"name": "bars",
"version": "0.8.2",
"version": "0.9.0",
"description": "Bars is a lightweight high performance HTML aware templating engine.",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/bars-compiled.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/bars.js
Original file line number Diff line number Diff line change
Expand Up @@ -6864,7 +6864,7 @@ function isArray(obj) {
},{}],94:[function(require,module,exports){
module.exports={
"name": "bars",
"version": "0.8.2",
"version": "0.9.0",
"description": "Bars is a lightweight high performance HTML aware templating engine.",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/bars.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion test/bars.js
Original file line number Diff line number Diff line change
Expand Up @@ -6864,7 +6864,7 @@ function isArray(obj) {
},{}],94:[function(require,module,exports){
module.exports={
"name": "bars",
"version": "0.8.2",
"version": "0.9.0",
"description": "Bars is a lightweight high performance HTML aware templating engine.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit e54510a

Please sign in to comment.