Permalink
Browse files

* examples/exampleA.js: sketch for promises problem to solve

  • Loading branch information...
1 parent 6bcd50f commit bfd4e42296912ed80d7e2e932d826817d22be07a @swannodette swannodette committed May 28, 2010
Showing with 14 additions and 0 deletions.
  1. +14 −0 examples/exampleA.js
View
@@ -171,6 +171,20 @@ function example12()
show(da);
}
+// we need to go from a map
+// to a map of values loaded
+// via promises
+function example13()
+{
+ var amap = {
+ "foo": "a",
+ "bar": {
+ "baz": "b",
+ "woz": "c"
+ }
+ };
+}
+
// Run Examples
// ============
function runExamples()

0 comments on commit bfd4e42

Please sign in to comment.