karlvr/consistent.js — pull request #3 by snikch (2013-08-05 05:30:12+00:00)
Title: Correctly handle prefixed value functions

This fixes an issue where the incorrect attribute name was being set in the snapshot array.

This is probably not the best solution.

Given a function `getValueAvatar`, it sets `snapshot['avatar']` by removing `getValue` and lowercasing the first letter that's left (if it's a capital).