dfahlander/Dexie.js — pull request #36 by kkirby (2014-11-25 17:50:55+00:00)
Title: Table.clear() would fail to return promises.

If there were any deleting hooks, then Table.clear() wouldn't return a promise. The fix was to simply return the result of .delete()