From 82ee97d36bb07aade080dfac4e98489c913a8ffa Mon Sep 17 00:00:00 2001 From: Brad Dunbar Date: Thu, 16 Feb 2012 12:35:17 -0500 Subject: [PATCH] Use `null` for uninitialized variables. --- backbone.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backbone.js b/backbone.js index 0430752b..31c5efe6 100644 --- a/backbone.js +++ b/backbone.js @@ -186,15 +186,15 @@ _.extend(Backbone.Model.prototype, Backbone.Events, { // A hash of attributes whose current and previous value differ. - _changed: void 0, + _changed: null, // A hash of attributes that have silently changed since the last time // `change` was called. Will become pending attributes on the next call. - _silent: void 0, + _silent: null, // A hash of attributes that have changed since the last `'change'` event // began. - _pending: void 0, + _pending: null, // The default name for the JSON `id` attribute is `"id"`. MongoDB and // CouchDB users may want to set this to `"_id"`.