MarrLiss/backbone-websql — pull request #3 by MarkMYoung (2012-07-14 01:10:22+00:00)
Title: Made many changes to this awesome plug-in

Made it a module while keeping it backward compatible.
Made it an object inside Backbone instead of window/global.
Updated pseudo-GUID generator to make them look like version 4 standard variant GUIDs.
Changed constructor table generation to use member _executeSql, instead of browser one.
Added a class level 'debug' flag and referenced it throughout where the logging wasn't an error.
Changed references from model.id to model.attributes[model.idAttribute] to respect customization while keeping it backward compatible by referencing model.attributes.apiid.
Added backticks/graves to SQL statements to prevent misleading parse errors.