Skip to content
Browse files

add get to bonzo for backbone compat

  • Loading branch information...
1 parent e448b35 commit 01a06559c35d6ecd089a34370467f382d8a7fe22 @fat fat committed Aug 18, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/bonzo.js
View
4 src/bonzo.js
@@ -157,6 +157,10 @@
Bonzo.prototype = {
+ get: function (index) {
+ return this[index];
+ }
+
each: function (fn, scope) {
return each(this, fn, scope);
},

0 comments on commit 01a0655

Please sign in to comment.
Something went wrong with that request. Please try again.