Permalink
Browse files

added by keyword

  • Loading branch information...
1 parent 9c02910 commit b94c346dd7fd457469b5d2c57dfe0292488cbb02 @tobi committed Nov 9, 2009
Showing with 1 addition and 5 deletions.
  1. +1 −5 public/javascripts/parseliquid.js
@@ -20,11 +20,7 @@ var LiquidParser = Editor.Parser = (function() {
var isWordChar = /[\w\_]/
var isPunctuation = /[\.\|\=\:]/;
- var keywords = {};
-
- ['in'].forEach(function(element, index, array) {
- keywords[element] = true;
- });
+ var keywords = {'in': true, 'by': true};
// Simple stateful tokenizer for XML documents. Returns a
// MochiKit-style iterator, with a state property that contains a

0 comments on commit b94c346

Please sign in to comment.