Skip to content

Instantly share code, notes, and snippets.

View toddhgardner's full-sized avatar

Todd H. Gardner toddhgardner

View GitHub Profile
@toddhgardner
toddhgardner / backbone-trackjs.js
Last active December 28, 2015 10:29
Integrating {Track:js} TrackAll with Backbone.
// OPTION 1:
// Automatically wrap everything
;(function() {
'use strict';
if (!window.trackJs) return;
[ 'View'
, 'Model'