Permalink
Browse files

* datatype.js: added datatype.js

  • Loading branch information...
0 parents commit de1c5c0c793f67cbc4f8664e5fb8a4e1d8458d0f David Nolen committed May 18, 2010
Showing with 11 additions and 0 deletions.
  1. +11 −0 datatype.js
@@ -0,0 +1,11 @@
+_.mixin({
+ datatype: function(obj) {
+ var klass = function() {};
+ _(obj).chain()
+ .filter(_.isFunction)
+ .each(function(fn, k) {
+ console.log(fn, k);
+ }).value();
+ return klass;
+ }
+});

0 comments on commit de1c5c0

Please sign in to comment.