Fixed a typo in the custom filter example (missing filter: object property).

This commit is contained in:
SixDimensionalArray 2013-08-09 12:27:58 -07:00
parent 2e102c72b2
commit ab97fc770e

View File

@ -256,7 +256,7 @@ Alternately, if you'd just like to do everything yourself, you can specify a fil
var demo = function(converter) { var demo = function(converter) {
return [ return [
// Replace escaped @ symbols // Replace escaped @ symbols
{ type: 'lang', function(text) { { type: 'lang', filter: function(text) {
return text.replace(/\\@/g, '@'); return text.replace(/\\@/g, '@');
}} }}
]; ];