diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-05-15 10:54:49 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-05-15 10:54:49 -0700 |
commit | 02411b6a6acb646d43b22ba2ee22b061e944e206 (patch) | |
tree | 0a7b60ceb2803b54b11381dfa85cef5cb9d0e16c /src/modules.js | |
parent | 2b94dc6e7d29cd6c2a734114ed0ef7ac03243c67 (diff) |
do not index functions in post
Diffstat (limited to 'src/modules.js')
-rw-r--r-- | src/modules.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules.js b/src/modules.js index 2775bfbd..c5c0db88 100644 --- a/src/modules.js +++ b/src/modules.js @@ -261,6 +261,7 @@ var Functions = { if (!doNotCreate) this.indexedFunctions[ident] = 0; // tell python we need this indexized return "'{{ FI_" + toNiceIdent(ident) + " }}'"; // something python will replace later } else { + if (!singlePhase) return 'NO_INDEX'; // Should not index functions in post var ret = this.indexedFunctions[ident]; if (!ret) { if (doNotCreate) return '0'; |