Comparing version 0.1.13 to 0.1.14
@@ -71,3 +71,3 @@ /** | ||
// Allow users to see what version of ltl they're using. | ||
version: '0.1.13', | ||
version: '0.1.14', | ||
@@ -214,3 +214,3 @@ // Store all of the templates that have been compiled. | ||
else if (blockFilter == 'md') { | ||
blockFilter = 'markdown'; | ||
blockFilter = 'marked'; | ||
} | ||
@@ -240,4 +240,4 @@ try { | ||
} | ||
else if (blockFilter.markdown) { | ||
text = blockFilter.markdown.toHTML(text); | ||
else if (blockFilter.parse) { | ||
text = blockFilter.parse(text); | ||
} | ||
@@ -244,0 +244,0 @@ else if (typeof blockFilter == 'function') { |
@@ -14,6 +14,6 @@ { | ||
], | ||
"version": "0.1.13", | ||
"version": "0.1.14", | ||
"main": "ltl", | ||
"homepage": "http://lighter.io/ltl", | ||
"repository": "git://github.com/zerious/ltl.git", | ||
"repository": "git://github.com/lighterio/ltl.git", | ||
"author": "Sam Eubank <sameubank@gmail.com>", | ||
@@ -28,7 +28,7 @@ "contributors": [ | ||
"scripts": { | ||
"test": "mocha", | ||
"retest": "mocha --watch", | ||
"cover": "istanbul cover _mocha", | ||
"test": "./node_modules/exam/exam.js", | ||
"retest": "./node_modules/exam/exam.js --watch", | ||
"cover": "istanbul cover ./node_modules/exam/exam.js", | ||
"report": "open coverage/lcov-report/index.html", | ||
"coveralls": "istanbul cover _mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage", | ||
"coveralls": "istanbul cover ./node_modules/exam/exam.js --report lcovonly -- -R spec && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage", | ||
"perf": "node perf" | ||
@@ -38,14 +38,14 @@ }, | ||
"devDependencies": { | ||
"assert-plus": "0.1.5", | ||
"mocha": "1.20.1", | ||
"istanbul": "0.2.11", | ||
"coveralls": "2.10.0", | ||
"coffee-script": "1.8.0", | ||
"coveralls": "2.11.1", | ||
"dot": "1.0.2", | ||
"jade": "1.3.1", | ||
"exam": "0.0.7", | ||
"istanbul": "0.3.1", | ||
"jade": "1.6.0", | ||
"markdown": "0.5.0", | ||
"coffee-script": "1.7.1", | ||
"zeriousify": "0.1.5" | ||
"marked": "0.3.2", | ||
"zeriousify": "0.1.9" | ||
}, | ||
"bugs": { | ||
"url": "http://github.com/zerious/ltl/issues" | ||
"url": "http://github.com/lighterio/ltl/issues" | ||
}, | ||
@@ -55,5 +55,5 @@ "licenses": [ | ||
"type": "MIT", | ||
"url": "http://github.com/zerious/ltl/blob/master/MIT-LICENSE.md" | ||
"url": "http://github.com/lighterio/ltl/blob/master/MIT-LICENSE.md" | ||
} | ||
] | ||
} |
@@ -35,2 +35,5 @@ var jade = require('jade'); | ||
console.log(''); | ||
console.log('Jade:'); | ||
console.log(jade.compile(jadeCode).toString()); | ||
console.log(''); | ||
console.log('doT:'); | ||
@@ -74,2 +77,2 @@ console.log(dot.compile(dotCode).toString()); | ||
}); | ||
}); | ||
}); |
# Ltl | ||
[![NPM Version](https://badge.fury.io/js/ltl.png)](http://badge.fury.io/js/ltl) | ||
[![Build Status](https://travis-ci.org/zerious/ltl.png?branch=master)](https://travis-ci.org/zerious/ltl) | ||
[![Code Coverage](https://coveralls.io/repos/zerious/ltl/badge.png?branch=master)](https://coveralls.io/r/zerious/ltl) | ||
[![Dependencies](https://david-dm.org/zerious/ltl.png?theme=shields.io)](https://david-dm.org/zerious/ltl) | ||
[![Support](http://img.shields.io/gittip/zerious.png)](https://www.gittip.com/zerious/) | ||
[![NPM Version](https://img.shields.io/npm/v/ltl.svg) ![Downloads](https://img.shields.io/npm/dm/ltl.svg)](https://npmjs.org/package/ltl) | ||
[![Build Status](https://img.shields.io/travis/lighterio/ltl.svg)](https://travis-ci.org/lighterio/ltl) | ||
[![Code Coverage](https://img.shields.io/coveralls/lighterio/ltl/master.svg)](https://coveralls.io/r/lighterio/ltl) | ||
[![Dependencies](https://img.shields.io/david/lighterio/ltl.svg)](https://david-dm.org/lighterio/ltl) | ||
[![Support](https://img.shields.io/gratipay/Lighter.io.svg)](https://gratipay.com/Lighter.io/) | ||
@@ -13,3 +13,3 @@ The Ltl template language (pronounced "little") uses a clean | ||
If you love tight code and fast rendering, you're right at home. | ||
If you love tight code and fast rendering, you'll be right at home with Ltl. | ||
@@ -35,4 +35,4 @@ ## Getting Started | ||
* `options` is an object with any of the following properties: | ||
* `name` will cause the template to cache at `ltl.templates[name]` | ||
* `space` causes HTML to be indented, using `space` as indentation. | ||
* `name` will cause the template to cache at `ltl.templates[name]` | ||
* `space` causes HTML to be indented, using `space` as indentation. | ||
@@ -308,3 +308,3 @@ ### ltl.setOption(name, value) | ||
```bash | ||
$ git clone https://github.com/zerious/ltl.git | ||
$ git clone https://github.com/lighterio/ltl.git | ||
``` | ||
@@ -311,0 +311,0 @@ |
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
36303
714