From 5545a3b68da905b7cc956c1070f45cf9127ec045 Mon Sep 17 00:00:00 2001 From: Brad Dunbar Date: Mon, 19 Mar 2012 14:43:20 -0400 Subject: [PATCH] Dispense with abbreviation. --- underscore.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/underscore.js b/underscore.js index c00438cc5..eff693d3a 100644 --- a/underscore.js +++ b/underscore.js @@ -874,9 +874,9 @@ }; // Get a value from an object as a property or as a function. - _.result = function(object, prop) { + _.result = function(object, property) { if (object == null) return null; - var value = object[prop]; + var value = object[property]; return _.isFunction(value) ? value() : value; };