This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

de-linted code

  • Loading branch information...
1 parent 1623d71 commit b2186ebe049b90ba08cea0f2d19fc88e0d9140a6 @derickbailey derickbailey committed Oct 18, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/eventbinder.js
View
@@ -17,7 +17,7 @@ Backbone.EventBinder = (function(Backbone, _){
var handlerMap = {
// 'default' type accounts for Backbone style objects extending
// Backbone.Events
- default : {
+ "default" : {
bindTo : function (obj, eventName, callback, context) {
context = context || this;
obj.on(eventName, callback, context);
@@ -64,9 +64,9 @@ Backbone.EventBinder = (function(Backbone, _){
// Use whatever best logic necessary to determine the type
// of the supplied object
function getHandlerForObject(obj) {
- if (obj.jquery) return handlerMap.jquery;
+ if (obj.jquery) { return handlerMap.jquery; }
- return handlerMap.default;
+ return handlerMap["default"];
}
// Constructor function

0 comments on commit b2186eb

Please sign in to comment.