From 51aef3b04d321016a2e7988bfaa51bd9bbac84a5 Mon Sep 17 00:00:00 2001
From: Jeremy Ashkenas
Development Version (0.4.0)
- 16kb, Uncompressed with Comments
+ 18kb, Uncompressed with Comments
Production Version (0.4.0)
@@ -117,7 +117,7 @@
You can use Underscore in either an object-oriented or a functional style, @@ -205,6 +205,12 @@ _(lyrics).chain() template
+ +
+ chain_(obj).chain()
+
+ Returns a wrapped object. Calling methods on this object will continue
+ to return wrapped objects until get is used. (
+ A more realistic example.)
+
+_({moe : false, curly : true}).chain().values().any().isEqual(true).get();
+=> true
+
+
+
+ get_(obj).get()
+
+ Extracts the value of a wrapped object.
+
+_([1, 2, 3]).get(); +=> [1, 2, 3] ++