Browse Source

Add token.meta for use in plugins

pull/82/head
Alex Kocharin 10 years ago
parent
commit
78bbb9a200
  1. 7
      lib/token.js

7
lib/token.js

@ -88,6 +88,13 @@ function Token(type, tag, nesting) {
**/
this.info = '';
/**
* Token#meta -> Object
*
* A place for plugins to store an arbitrary data
*/
this.meta = null;
/**
* Token#block -> Boolean
*

Loading…
Cancel
Save