Permalink
Commits on Mar 26, 2015
  1. Added square cash

    committed Mar 26, 2015
Commits on Feb 15, 2015
  1. Subdued plea for help

    committed Feb 15, 2015
Commits on Aug 19, 2014
  1. Bumped version to 1.3.0

    Closes #8
    committed Aug 19, 2014
Commits on May 20, 2014
  1. Updated help section in readme

    committed May 20, 2014
Commits on May 19, 2014
Commits on Apr 15, 2014
  1. Merge pull request #7 from Rich-Harris/master

    Export LiquidMetal as AMD or node module, if applicable
    committed Apr 15, 2014
  2. add package.json file

    Rich-Harris committed Apr 15, 2014
Commits on Mar 30, 2014
  1. Added bower.json

    committed Mar 30, 2014
Commits on May 20, 2013
  1. Added donation info to readme

    committed May 20, 2013
Commits on Apr 5, 2013
Commits on Feb 23, 2013
Commits on Apr 22, 2012
  1. Bumped version to 1.2.1

    committed Apr 22, 2012
Commits on Apr 21, 2012
  1. Merge branch 'ie7'

    * ie7:
      Fixed IE7 issues with string and array indexOf/charAt issues
      Fixed test suite so that it runs in IE7
    committed Apr 21, 2012
  2. Improved code readability

    committed Apr 21, 2012
Commits on Mar 28, 2012
  1. Bumped version to 1.2

    committed Mar 28, 2012
Commits on Mar 5, 2012
  1. Best match scoring

    - match every instance of the abbrevation letters appearing in
      the correct order
    - score all instances according to matching rules
    - return maximum score match
    - add test of maximum score besting first score
    
    Matching is done recursively without memoization, resulting in an order of
    magnitude hit in performance measured in ops/sec.
    
    TODO: implement and evaluate potential speedups
    - calculate the score directly rather than maintain the score array
      (if the array is not needed for a particular application)
    - convert recursion to iteration
    - memoization: store solutions to subproblems (highest scoring choices
      of character matches over a substring) instead of re-solving them
    shelhamer committed Mar 4, 2012
  2. Record last match's score & array for efficiency

    - add lastScore, lastScoreArray member vars to record results of last match
    - update tests to access lastScoreArray rather than recomputing match
    
    This anticipates the implementation of a more expensive scoring algorithm
    that returns the maximum score match, rather than the first match.
    shelhamer committed Mar 4, 2012
  3. cleanup: add comments, rename vars, etc.

    - outline major steps with comments
    - rename lower -> search to reflect its purpose as search string
    - rename abbreviation -> abbrev (it felt wrong not to)
    shelhamer committed Mar 3, 2012
Commits on Mar 2, 2012
  1. Bumped version to 1.1

    committed Mar 2, 2012
  2. Add word separators config var, add hyphen + underscore separators

    - add WORD_SEPARATORS config var: an array of characters to treat as
      word separators
    - refactor isNewWord() to check for membership in WORD_SEPARATORS array
    - add tests to cover new separator chars
    shelhamer committed Mar 2, 2012
Commits on Dec 18, 2011
  1. Bumped version to 1.0

    committed Dec 18, 2011
  2. Made `from` and `to` required params on `fillArray`

    After returning false on no match case, only one spot where `to` was being
    optionally used.  Simplifies logic of fillArray, and results in a noticable
    performance speedup.
    ratbeard committed with Nov 20, 2009
  3. wrap body function in paranthesis, ala jquery, to make it clear liqui…

    …dmetal is not a constructor function
    ratbeard committed with Nov 20, 2009
  4. Returned false instead of array of 0's in case of miss

    This speads up single letter abbreviation misses by up to 10x, and 4 letter
    misses by ~2x.
    
    Updated a few `if (x == 0)` to use `===`, just to be safe.
    ratbeard committed with Nov 20, 2009
  5. Moved tests into their own js file

    committed Dec 18, 2011
  6. Moved test suite to test/ dir

    committed Dec 18, 2011
  7. Added some basic benchmarks

    ratbeard committed with Nov 20, 2009
  8. Cleaned up gitignore

    committed Dec 18, 2011
  9. Upped jquery to 1.7.1

    committed Dec 18, 2011