add two Interface Functions for expansion feature #133

Closed
wants to merge 4 commits into
from

Projects

None yet

1 participant

@Bacra

add onIncludeTpl and onParseMethod Interface Functions

  1. onIncludeTpl: Use it when parse meet include
  2. onParseMethod: Expand methods by using the string between "<%" and "%>"

For Example:ejs.extend.js

PS: I'm so sorry. I pull requests before, but the branch is change. Now the two branches are independent.

Bacra added some commits Aug 17, 2013
@Bacra Bacra delete the local variable of `parse`
Prevent the use of local variables could not be performed using the external expansion of derivative.
474bca1
@Bacra Bacra add secondary development interface functions: `onIncludeTpl` and `on…
…ParseMethod`

1. onIncludeTpl: Use it when `parse` meet `include`
2. onParseMethod: Expand methods by using the string between "<%" and "%>"
cdc9f5e
@Bacra Bacra add `options` param for `onIncludeTpl` and `onParseMethod` methods 4718042
@Bacra Bacra `onIncludeTpl` and `onParseMethod` can defined in `options` 3bd8f23
@Bacra Bacra closed this Apr 1, 2014
@Bacra Bacra deleted the Bacra:bacra-push branch Apr 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment