Permalink
Browse files

Add JSDoc annotation

Some minor changes regarding `var compile` is needed to make JSDoc
recognize the function.
1 parent 87d26c0 commit 319cac097cae522b85df1e5f438003abd80ae8c0 @TimothyGu TimothyGu committed Jan 25, 2015
Showing with 351 additions and 23 deletions.
  1. +1 −0 .gitignore
  2. +15 −0 jsdoc.json
  3. +293 −17 lib/ejs.js
  4. +33 −1 lib/utils.js
  5. +9 −5 package.json
View
@@ -19,3 +19,4 @@ test/tmp
coverage/
/ejs.js
/ejs.min.js
+out/
View
@@ -0,0 +1,15 @@
+{
+ "_comment": "Configuration file for JSDoc."
+, "tags": {
+ "allowUnknownTags": true
+ }
+, "source": {
+ "includePattern": ".+\\.js(doc)?$"
+ , "excludePattern": "(^|\\/|\\\\)_"
+ }
+, "plugins": [ "plugins/markdown" ]
+, "templates": {
+ "cleverLinks": true
+ , "monospaceLinks": false
+ }
+}
Oops, something went wrong.

0 comments on commit 319cac0

Please sign in to comment.