react 0.3.5 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (310) hide show
  1. package/.npmignore +2 -1
  2. package/.travis.yml +4 -0
  3. package/Jakefile.js +34 -3
  4. package/README.md +34 -174
  5. package/browser-test/dist.html +90 -0
  6. package/browser-test/index.html +86 -0
  7. package/browser-test/min.html +90 -0
  8. package/dist/react.js +3291 -0
  9. package/dist/react.min.js +1 -0
  10. package/doc/advanced.md +166 -0
  11. package/doc/color-def.graffle +938 -0
  12. package/doc/color-def.png +0 -0
  13. package/doc/simple.dot +25 -0
  14. package/doc/simple.png +0 -0
  15. package/examples/{default1.js → longer-example.js} +0 -0
  16. package/examples/{default-simple.js → simple.js} +0 -0
  17. package/examples/{ast1.js → using-ast-directly.js} +4 -0
  18. package/examples/{default-events1.js → using-events1.js} +1 -1
  19. package/examples/{default-log-events.js → using-log-events.js} +1 -1
  20. package/lib/base-task.js +116 -110
  21. package/lib/cb-task.js +71 -67
  22. package/lib/core.js +120 -109
  23. package/lib/dsl.js +120 -115
  24. package/lib/error.js +44 -36
  25. package/lib/event-collector.js +81 -0
  26. package/lib/event-manager.js +66 -55
  27. package/lib/eventemitter.js +20 -0
  28. package/lib/finalcb-first-task.js +56 -53
  29. package/lib/finalcb-task.js +55 -51
  30. package/lib/id.js +18 -6
  31. package/lib/input-parser.js +49 -41
  32. package/lib/log-events.js +81 -60
  33. package/lib/parse.js +34 -25
  34. package/lib/promise-resolve.js +50 -0
  35. package/lib/promise-task.js +78 -74
  36. package/lib/react.js +59 -0
  37. package/lib/ret-task.js +59 -55
  38. package/lib/sprintf.js +18 -0
  39. package/lib/status.js +11 -2
  40. package/lib/task.js +219 -213
  41. package/lib/track-tasks.js +67 -110
  42. package/lib/validate.js +136 -136
  43. package/lib/vcon.js +78 -69
  44. package/lib/when-task.js +69 -65
  45. package/package.json +11 -9
  46. package/src/dist.build.requirejs +20 -0
  47. package/test/ast.mocha.js +136 -0
  48. package/test/cb-task.mocha.js +220 -0
  49. package/test/core-deferred.mocha.js +143 -0
  50. package/test/core-when.mocha.js +96 -0
  51. package/test/core.mocha.js +589 -0
  52. package/test/dsl.mocha.js +350 -0
  53. package/test/event-manager.mocha.js +119 -0
  54. package/test/exec-options.mocha.js +48 -0
  55. package/test/finalcb-task.mocha.js +58 -0
  56. package/test/input-parser.mocha.js +86 -0
  57. package/test/mocha.opts +2 -0
  58. package/test/module-use.mocha.js +147 -0
  59. package/test/promise-auto-resolve.mocha.js +68 -0
  60. package/test/ret-task.mocha.js +220 -0
  61. package/test/task.mocha.js +42 -0
  62. package/test/validate-cb-task.mocha.js +100 -0
  63. package/test/validate-ret-task.mocha.js +110 -0
  64. package/test/validate.mocha.js +324 -0
  65. package/test/vcon.mocha.js +193 -0
  66. package/vendor/chai/chai.js +2038 -0
  67. package/vendor/jquery/jquery-1.7.1.js +9266 -0
  68. package/vendor/jquery/jquery-1.7.1.min.js +4 -0
  69. package/vendor/mocha/mocha.css +135 -0
  70. package/vendor/mocha/mocha.js +3589 -0
  71. package/vendor/node/util.js +531 -0
  72. package/vendor/requirejs/require.js +2053 -0
  73. package/vendor/requirejs/require.min.js +33 -0
  74. package/doc/alternate-dsls.md +0 -103
  75. package/doc/default-simple.dot +0 -19
  76. package/doc/default-simple.dot.png +0 -0
  77. package/dsl/chain.js +0 -150
  78. package/dsl/fstr.js +0 -121
  79. package/dsl/pcode.js +0 -175
  80. package/examples/chain-events1.js +0 -55
  81. package/examples/chain1.js +0 -19
  82. package/examples/fstr-events1.js +0 -38
  83. package/examples/fstr1.js +0 -37
  84. package/examples/pcode1.js +0 -22
  85. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia.html +0 -675
  86. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/37px-Wiktionary-logo-en.svg.png +0 -0
  87. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/closewindow.png +0 -0
  88. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/index(1).php +0 -407
  89. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/index.php +0 -130
  90. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/load(1).php +0 -3
  91. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/load(10).php +0 -89
  92. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/load(2).php +0 -23
  93. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/load(3).php +0 -153
  94. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/load(4).php +0 -6
  95. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/load(5).php +0 -3
  96. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/load(6).php +0 -96
  97. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/load(7).php +0 -16
  98. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/load(8).php +0 -14
  99. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/load(9).php +0 -123
  100. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/load.php +0 -3
  101. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/poweredby_mediawiki_88x31.png +0 -0
  102. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/saved_resource +0 -1
  103. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/search-ltr.png +0 -0
  104. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/wikimedia-button.png +0 -0
  105. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's.html +0 -1369
  106. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/121911_DobbsDigest_Cover.jpg +0 -0
  107. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/160-x-600-IMU Impact 2012.jpg +0 -0
  108. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp= +0 -68
  109. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp=(1) +0 -67
  110. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp=(2) +0 -2
  111. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp=(3) +0 -2
  112. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp=(4) +0 -8
  113. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp=(5) +0 -2
  114. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp=500202461 +0 -2
  115. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp=500202461(1) +0 -2
  116. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp=500202461(2) +0 -2
  117. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp=500202461(3) +0 -2
  118. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp=500202461(4) +0 -2
  119. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp=500202461(5) +0 -431
  120. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp=500202461(6) +0 -2
  121. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp=500202461(7) +0 -431
  122. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp=500202461(8) +0 -2
  123. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp=500202461(9) +0 -2
  124. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/Ad0St1Sz6Sq0V0Id20628317.gif +0 -0
  125. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/Ad2331174St1Sz225Sq20825250V0Id4.gif +0 -0
  126. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/AdTracImage.gif +0 -0
  127. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/Default_Size_16_1x1.gif +0 -0
  128. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/FB.Share +0 -9
  129. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/addthis_widget.js +0 -2
  130. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/adlink_5242_1183459_0_154_AdId=2355270;BnId=1;itime=820768810;key=231400148+_database_231400148;link= +0 -11
  131. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/beacon.js +0 -7
  132. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/checkauth.js +0 -18
  133. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/colorbox.css +0 -49
  134. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/convert_data.js +0 -1
  135. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/count(1).js +0 -5
  136. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/count.js +0 -5
  137. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/count.json +0 -1
  138. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/dataflow1.gif +0 -0
  139. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/def.html +0 -126
  140. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/defaults.css +0 -1
  141. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/detect.js +0 -91
  142. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/devtest_left-col-slim.css +0 -30
  143. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/disqus.js +0 -327
  144. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/disqusHints.css +0 -34
  145. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/disqusHints.js +0 -8
  146. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/disqusLoggedOff(1).css +0 -24
  147. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/disqusLoggedOff.css +0 -24
  148. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/dobbs_disqus_logo.gif +0 -0
  149. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/dsqcd10c7f376188a4a2ca3e8fea2c03aeb.css +0 -1
  150. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/dsqcd10c7f376188a4a2ca3e8fea2c03aeb.js +0 -1
  151. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/elqCfg.js +0 -55
  152. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/elqImg.js +0 -12
  153. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/embed.js +0 -76
  154. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/experience_util.js +0 -636
  155. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/fastbutton.html +0 -11
  156. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/ga.js +0 -51
  157. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/h-facebook_sm.png +0 -0
  158. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/h-nav.css +0 -798
  159. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/h-twitter_sm.png +0 -0
  160. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/h_s_code_remote.js +0 -377
  161. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/hintbox_info.jpg +0 -0
  162. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/hub.1326407570.html +0 -3
  163. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/in.js +0 -76
  164. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/insight.min.js +0 -55
  165. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/jquery-1.2.6.min.js +0 -32
  166. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/jquery-1.4.2.min.js +0 -154
  167. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/jquery-ui-1.8rc3.custom.min.js +0 -374
  168. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/jquery.colorbox-min.js +0 -4
  169. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/jquery.min.js +0 -154
  170. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/lib.js +0 -212
  171. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/like.html +0 -214
  172. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/noavatar32.png +0 -0
  173. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/nodetag.js +0 -18
  174. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/nonSecureAnonymousFramework +0 -2913
  175. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/p.json +0 -1
  176. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/plusone.js +0 -32
  177. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/popwindow.js +0 -24
  178. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/q4OyybLB0-A.js +0 -91
  179. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/quant.js +0 -28
  180. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/qxvZoiHdpAF.css +0 -192
  181. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/reply.html +0 -160
  182. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/rss.gif +0 -0
  183. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/s.js +0 -1
  184. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/saved_resource +0 -421
  185. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/saved_resource(1) +0 -1
  186. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/saved_resource(2) +0 -341
  187. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/saved_resource(3) +0 -127
  188. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/script84.js +0 -113
  189. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/scripts.js +0 -30
  190. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/sh72.html +0 -5
  191. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shAutoloader.js +0 -17
  192. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushAS3.js +0 -59
  193. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushAppleScript.js +0 -75
  194. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushBash.js +0 -59
  195. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushCSharp.js +0 -65
  196. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushColdFusion.js +0 -100
  197. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushCpp.js +0 -97
  198. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushCss.js +0 -91
  199. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushDelphi.js +0 -55
  200. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushDiff.js +0 -41
  201. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushErlang.js +0 -52
  202. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushGroovy.js +0 -67
  203. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushJScript.js +0 -52
  204. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushJava.js +0 -57
  205. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushJavaFX.js +0 -58
  206. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushPerl.js +0 -72
  207. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushPhp.js +0 -88
  208. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushPlain.js +0 -33
  209. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushPowerShell.js +0 -74
  210. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushPython.js +0 -64
  211. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushRuby.js +0 -55
  212. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushSass.js +0 -94
  213. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushScala.js +0 -51
  214. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushSql.js +0 -66
  215. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushVb.js +0 -56
  216. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushXml.js +0 -69
  217. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shCore.css +0 -226
  218. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shCoreDefault.css +0 -333
  219. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shCore_new.js +0 -17
  220. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shLegacy.js +0 -17
  221. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shThemeDefault.css +0 -117
  222. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/share-button-css +0 -67
  223. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/share_email_icon.gif +0 -0
  224. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/share_print_icon.gif +0 -0
  225. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/sidebar.js +0 -88
  226. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/superfooter_936.css +0 -186
  227. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/svrGP.aspx +0 -0
  228. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/t.gif +0 -0
  229. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/thickbox.js +0 -343
  230. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/thread.js +0 -128
  231. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/togglediv.js +0 -15
  232. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/tweet_button.html +0 -3
  233. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/ubmtechweb_logo_sm.gif +0 -0
  234. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/upload.html +0 -91
  235. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/welcome.js +0 -7
  236. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/widget74.css +0 -1
  237. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/widgets.js +0 -40
  238. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia.html +0 -904
  239. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/50px-Question_book-new.svg.png +0 -0
  240. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/closewindow.png +0 -0
  241. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/index(1).php +0 -407
  242. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/index.php +0 -130
  243. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/load(1).php +0 -3
  244. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/load(10).php +0 -89
  245. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/load(2).php +0 -23
  246. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/load(3).php +0 -153
  247. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/load(4).php +0 -6
  248. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/load(5).php +0 -3
  249. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/load(6).php +0 -96
  250. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/load(7).php +0 -16
  251. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/load(8).php +0 -14
  252. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/load(9).php +0 -123
  253. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/load.php +0 -3
  254. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/poweredby_mediawiki_88x31.png +0 -0
  255. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/saved_resource +0 -1
  256. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/search-ltr.png +0 -0
  257. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/wikimedia-button.png +0 -0
  258. package/externalDocs/The Step of the Conductor - How To Node - NodeJS.html +0 -113
  259. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/6654_111305815684_541245684_2583159_5383291_n_normal.jpg +0 -0
  260. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/MARC3_normal.jpg +0 -2
  261. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/beacon.js +0 -7
  262. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/c953ddd239707998340e1a6fbb3eeb46 +0 -0
  263. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/c953ddd239707998340e1a6fbb3eeb46_normal.jpeg +0 -0
  264. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/clouds2_normal.jpg +0 -0
  265. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/count.json +0 -1
  266. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/def.html +0 -126
  267. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/defaults.css +0 -1
  268. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/disqus.js +0 -327
  269. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/dsq7884a9652e94555c70f96b6be63be216.css +0 -1
  270. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/dsq7884a9652e94555c70f96b6be63be216.js +0 -66
  271. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/embed.js +0 -76
  272. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/example1.dot +0 -0
  273. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/ga.js +0 -51
  274. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/get_num_replies.js +0 -79
  275. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/hub.1326407570.html +0 -3
  276. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/lib.js +0 -212
  277. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/noavatar32.png +0 -0
  278. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/quant.js +0 -28
  279. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/reply.html +0 -160
  280. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/t.gif +0 -0
  281. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/thread.js +0 -128
  282. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/tweet_button.1326407570.html +0 -3
  283. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/twitter_normal.jpg +0 -2
  284. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/upload.html +0 -91
  285. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/widgets.js +0 -40
  286. package/jake-tasks/jake-test.js +0 -64
  287. package/promise-resolve.js +0 -35
  288. package/react.js +0 -8
  289. package/test/ast.test.js +0 -69
  290. package/test/cb-task.test.js +0 -197
  291. package/test/core-deferred.test.js +0 -134
  292. package/test/core-promised.test.js +0 -132
  293. package/test/core-when.test.js +0 -84
  294. package/test/core.test.js +0 -568
  295. package/test/dsl.test.js +0 -330
  296. package/test/dsl/chain.test.js +0 -324
  297. package/test/dsl/fstr.test.js +0 -300
  298. package/test/dsl/pcode.test.js +0 -448
  299. package/test/event-manager.test.js +0 -102
  300. package/test/exec-options.test.js +0 -33
  301. package/test/finalcb-task.test.js +0 -38
  302. package/test/input-parser.test.js +0 -66
  303. package/test/module-use.test.js +0 -131
  304. package/test/promise-auto-resolve.test.js +0 -51
  305. package/test/ret-task.test.js +0 -199
  306. package/test/task.test.js +0 -21
  307. package/test/validate-cb-task.test.js +0 -74
  308. package/test/validate-ret-task.test.js +0 -83
  309. package/test/validate.test.js +0 -295
  310. package/test/vcon.test.js +0 -173
@@ -1,28 +0,0 @@
1
- if(!__qc){var __qc={qcdst:function(){if(__qc.qctzoff(0)!=__qc.qctzoff(6))return 1;return 0;},qctzoff:function(m){var d1=new Date(2000,m,1,0,0,0,0);var t=d1.toGMTString();var d3=new Date(t.substring(0,t.lastIndexOf(" ")-1));return d1-d3;},qceuc:function(s){if(typeof(encodeURIComponent)=='function'){return encodeURIComponent(s);}
2
- else{return escape(s);}},qcrnd:function(){return Math.round(Math.random()*2147483647);},qcgc:function(n){var v='';var c=document.cookie;if(!c)return v;var i=c.indexOf(n+"=");var len=i+n.length+1;if(i>-1){var end=c.indexOf(";",len);if(end<0)end=c.length;v=c.substring(len,end);}
3
- return v;},qcdomain:function(){var d=document.domain;if(d.substring(0,4)=="www.")d=d.substring(4,d.length);var a=d.split(".");var len=a.length;if(len<3)return d;var e=a[len-1];if(e.length<3)return d;d=a[len-2]+"."+a[len-1];return d;},qhash2:function(h,s){for(var i=0;i<s.length;i++){h^=s.charCodeAt(i);h+=(h<<1)+(h<<4)+(h<<7)+(h<<8)+(h<<24);}
4
- return h;},qhash:function(s){var h1=0x811c9dc5,h2=0xc9dc5118;var hash1=__qc.qhash2(h1,s);var hash2=__qc.qhash2(h2,s);return(Math.round(Math.abs(hash1*hash2)/65536)).toString(16);},sd:["4dcfa7079941","127fdf7967f31","588ab9292a3f","32f92b0727e5","22f9aa38dfd3","a4abfe8f3e04","18b66bc1325c","958e70ea2f28","bdbf0cb4bbb","65118a0d557","40a1d9db1864","18ae3d985046","3b26460f55d"],qcsc:function(){var s="";var d=__qc.qcdomain();if(__qc.qad==1)return";fpan=u;fpa=";var qh=__qc.qhash(d);for(var i=0;i<__qc.sd.length;i++){if(__qc.sd[i]==qh)return";fpan=u;fpa=";}
5
- var u=document;var a=__qc.qcgc("__qca");if(a.length>0){s+=";fpan=0;fpa="+a;}
6
- else{var da=new Date();var db=new Date(da.getTime()+157680000000);a='P0-'+__qc.qcrnd()+'-'+da.getTime();u.cookie="__qca="+a+"; expires="+db.toGMTString()+"; path=/; domain="+d;a=__qc.qcgc("__qca");if(a.length>0){s+=";fpan=1;fpa="+a;}
7
- else{s+=";fpan=u;fpa=";}}
8
- return s;},qcdc:function(n){document.cookie=n+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/; domain="+__qc.qcdomain();},qpxload:function(img){if(img&&typeof(img.width)=="number"&&img.width==3){__qc.qcdc("__qca");}},qcp:function(p,myqo){var s='',a=null;var media='webpage',event='load';if(myqo!=null){for(var k in myqo){if(typeof(k)!='string'){continue;}
9
- if(typeof(myqo[k])!='string'){continue;}
10
- if(k=='qacct'){a=myqo[k];continue;}
11
- s+=';'+k+p+'='+__qc.qceuc(myqo[k]);if(k=='media'){media=myqo[k];}
12
- if(k=='event'){event=myqo[k];}}}
13
- if(typeof a!="string"){if((typeof _qacct=="undefined")||(_qacct.length==0))return'';a=_qacct;}
14
- if(media=='webpage'&&event=='load'){for(var i=0;i<__qc.qpixelsent.length;i++){if(__qc.qpixelsent[i]==a)return'';}
15
- __qc.qpixelsent.push(a);}
16
- if(media=='ad'){__qc.qad=1;}
17
- s=';a'+p+'='+a+s;return s;},qcesc:function(s){return s.replace(/\./g,'%2E').replace(/,/g,'%2C');},qcd:function(o){return(typeof(o)!="undefined"&&o!=null);},qcogl:function(){var m=document.getElementsByTagName('meta');var o='';for(var i=0;i<m.length;i++){if(o.length>=1000)return o;if(__qc.qcd(m[i])&&__qc.qcd(m[i].attributes)&&__qc.qcd(m[i].attributes.property)&&__qc.qcd(m[i].attributes.property.value)&&__qc.qcd(m[i].content)){var p=m[i].attributes.property.value;var c=m[i].content;if(p.length>3&&p.substring(0,3)=='og:'){if(o.length>0)o+=',';var l=(c.length>80)?80:c.length;o+=__qc.qcesc(p.substring(3,p.length))+'.'+__qc.qcesc(c.substring(0,l));}}}
18
- return __qc.qceuc(o);},firepixel:function(qoptions){var e=(typeof(encodeURIComponent)=='function')?"n":"s";var r=__qc.qcrnd();var sr='',qo='',qm='',url='',ref='',je='u',ns='1';var qocount=0;__qc.qad=0;if(typeof __qc.qpixelsent=="undefined"){__qc.qpixelsent=new Array();}
19
- if(typeof qoptions!="undefined"&&qoptions!=null){__qc.qopts=qoptions;for(var k in __qc.qopts){if(typeof(__qc.qopts[k])=='string'){qo=__qc.qcp("",__qc.qopts);break;}else if(typeof(__qc.qopts[k])=='object'&&__qc.qopts[k]!=null){++qocount;qo+=__qc.qcp("."+qocount,__qc.qopts[k]);}}}else if(typeof _qacct=="string"){qo=__qc.qcp("",null);}
20
- if(qo.length==0)return;var ce=(navigator.cookieEnabled)?"1":"0";if(typeof navigator.javaEnabled!='undefined')je=(navigator.javaEnabled())?"1":"0";if(typeof _qmeta!="undefined"&&_qmeta!=null){qm=';m='+__qc.qceuc(_qmeta);_qmeta=null;}
21
- if(self.screen){sr=screen.width+"x"+screen.height+"x"+screen.colorDepth;}
22
- var d=new Date();var dst=__qc.qcdst();var qs='http';if(window.location.protocol=='https:'){qs+='s';}
23
- qs+="://pixel.quantserve.com";var fp=__qc.qcsc();if(window.location&&window.location.href)url=__qc.qceuc(window.location.href);if(window.document&&window.document.referrer)ref=__qc.qceuc(window.document.referrer);if(self==top)ns='0';var ogl=__qc.qcogl();var img=new Image();img.alt="";img.src=qs+'/pixel'+';r='+r+qo+fp+';ns='+ns+';ce='+ce+';je='+je+';sr='+sr+';enc='+e+';dst='+dst+';et='+d.getTime()+';tzo='+d.getTimezoneOffset()+qm+';ref='+ref+';url='+url+';ogl='+ogl;img.onload=function(){__qc.qpxload(img);}},quantserve:function(){if(typeof _qevents=='undefined'){_qevents=[];}
24
- if(typeof _qoptions!="undefined"&&_qoptions!=null){__qc.firepixel(_qoptions);_qoptions=null;}else if(!_qevents.length&&typeof _qacct!="undefined"){__qc.firepixel(null);}
25
- if(!__qc.evts){for(var k in _qevents){__qc.firepixel(_qevents[k]);}
26
- _qevents={push:function(){var a=arguments;for(var i=0;i<a.length;i++){__qc.firepixel(a[i]);}}};__qc.evts=1;}}};}
27
- function quantserve(){__qc.quantserve();}
28
- quantserve();
@@ -1,160 +0,0 @@
1
- <!DOCTYPE html>
2
- <!-- saved from url=(0280)http://mediacdn.disqus.com/1325906494/build/system/reply.html#xdm_e=http%3A%2F%2Fhowtonode.org&xdm_c=default7106&xdm_p=1&f=howtonodeorg&t=the_step_of_the_conductor_how_to_node&ff=Lucida%20Grande%2C%20sans-serif&d=ltr&p=Type%20your%20comment%20here.&upload_media=true&mentions=true -->
3
- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4
- <meta charset="utf-8">
5
- <title></title>
6
- <script>document.domain = 'disqus.com';</script>
7
-
8
-
9
-
10
- <style type="text/css">
11
- html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;line-height:inherit}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal}form legend{display:none}blockquote:before,blockquote:after,q:before,q:after{content:""}blockquote,q{quotes:"" ""}ol,ul{list-style:none}hr{display:none;visibility:hidden}:focus{outline:0}html{margin:0;padding:0;height:100%}body{font-size:13px;height:100%;background-color:transparent;margin:0;padding:0}div#comment,textarea{font-size:13px;background:transparent}div#comment.placeholder,textarea.placeholder{color:#666}span.disqus{font-family:Trebuchet MS,Trebuchet,Verdana,Arial,sans-serif;font-size:90%;text-transform:uppercase;font-weight:bold}form{margin:0;padding:0}a.forgot-password{margin-left:15px;font-size:95%;-moz-opacity:.8;opacity:.80;filter:alpha(opacity=80)}.form-text-label{font-weight:bold}.input-block{float:left}.input-block label{display:block}label img{margin-bottom:-1px;margin-left:3px}input{margin:0;padding:0}input.form-text{padding:2px;margin-right:10px;margin-bottom:7px;font-size:100%;display:block}input.placeholder{-moz-opacity:.6;opacity:.60;filter:alpha(opacity=60)}input.submit{margin-right:5px}input#custom-submit{border:0;display:none;cursor:pointer}.submit-footer{margin:10px 0 0 0;clear:left}label span.error{color:#c03000;font-weight:bold}ul.errorlist{margin:0;padding:0}ul.errorlist li{font-size:90%;color:#c03000;list-style:none}#post-choices{padding:5px 0;width:99%}#post-choices input{vertical-align:top}#post-choices label{vertical-align:baseline;margin-right:12px}#post-choices span.help{margin-left:10px;font-size:.85em}#post-choices span.help a{cursor:help;text-decoration:none;border-style:dotted;border-width:0 0 1px 0}.login-register-copy{margin:5px 0 20px 0;font-size:14px;color:#333}.login-register-copy span.copy{background-color:#E8F0F7;border:1px solid #cdd6dd;-moz-border-radius:5px;-webkit-border-radius:5px;-webkit-border-radius:5px;padding:5px}.form-login-register{font-size:14px}.form-login-register input{font-size:16px}.form-login-register .form-field{margin-bottom:10px}.form-login-register .form-text-label{color:#333;display:block;margin-bottom:3px;-moz-opacity:.8;opacity:.80;filter:alpha(opacity=80)}.login-register-toggle{display:block;margin-top:20px}.login-register-toggle span{border-width:0 0 1px 0;border-style:dotted;cursor:pointer;color:#333}.overlay{display:block;position:absolute;top:0;left:0;width:100%;height:100%;z-index:5000;background-color:#000;-moz-opacity:.8;opacity:.80;filter:alpha(opacity=80)}.overlay[id]{position:fixed}.lightbox{display:block;position:fixed;background-color:#fff;color:#333;z-index:9999;padding:10px;-moz-border-radius:5px;-webkit-border-radius:5px;-webkit-border-radius:5px}.lightbox a{color:#333}.lightbox .lightbox-status{margin-bottom:10px;padding:4px}.lightbox .lightbox-status .lightbox-status-text{vertical-align:bottom}.lightbox .lightbox-status .lightbox-status-text strong{vertical-align:bottom}.lightbox .lightbox-status .lightbox-avatar{width:24px;height:24px;margin-right:5px;vertical-align:middle}.lightbox span.dsq-badge{font-size:10px;margin-right:10px}span.dsq-badge{font-family:Optima,Lucida Grande,Lucida Sans,Helvetica,Arial,sans-serif;padding:2px 4px;-moz-border-radius:0 5px 0 5px;-webkit-border-top-right-radius:5px;-webkit-border-bottom-left-radius:5px;vertical-align:middle}span.dsq-badge.dsq-badge-verified{background-color:#92C72A;border:1px solid #6ca300;color:#fff}span.dsq-badge.dsq-badge-registered{background-color:#fffe98;border:1px solid #eae800;color:#000}span.badge-facebook,span.badge-twitter{padding:2px;color:#fff}span.badge-facebook{background-color:#46639d}span.badge-twitter{background-color:#31ceff}.dsq-popup .dsq-profile-services span.dsq-profile-badge.dsq-badge-guest{background-color:#ddd;border:1px solid #ccc}.lightbox .lightbox-form,.lightbox .lightbox-learnmore{margin:10px;padding:10px;background-color:#E8F0F7;border:1px solid #cdd6dd;-moz-border-radius:5px;-webkit-border-radius:5px;-webkit-border-radius:5px}.lightbox .lightbox-copy{margin-bottom:10px;padding-bottom:5px;border-bottom:1px solid #CDD6DD}.lightbox .lightbox-copy a.why{cursor:help;white-space:nowrap;text-decoration:none;border-bottom-width:1px;border-bottom-style:dotted}.lightbox .lightbox-learnmore ul{padding:0 15px}.lightbox .lightbox-learnmore ul li{list-style:none inside url('../../images/tick.png');margin:5px 0}.lightbox .lightbox-fields{width:200px;margin:0 auto}.lightbox .lightbox-field input.text{font-size:110%;padding:2px;width:100%}.lightbox .lightbox-field label.text{margin:0 0 3px 0;display:block;font-size:95%;-moz-opacity:.8;opacity:.80;filter:alpha(opacity=80)}.lightbox .error{color:#c03000;font-weight:bold}.lightbox .ok{color:#92C72A;font-weight:bold}.lightbox .lightbox-field{margin-bottom:8px}.lightbox a.lightbox-email-block{display:block;-moz-opacity:.8;opacity:.80;filter:alpha(opacity=80);font-size:90%;text-align:right;color:inherit;text-decoration:none;position:relative}.lightbox .lightbox-email-block .lightbox-email-change{font-style:italic;font-weight:bold;display:none}.lightbox a.lightbox-email-block:hover .lightbox-email-change{background-color:#E8F0F7;display:inline;position:absolute;top:0;left:0}.lightbox .lightbox-email-field{font-size:90%}.lightbox .lightbox-submit{text-align:center}.lightbox .lightbox-submit input.button{font-size:100%}.lightbox .lightbox-footer{text-align:center;-moz-opacity:.8;opacity:.80;filter:alpha(opacity=80)}#choose-subscription{-moz-opacity:.8;opacity:.80;filter:alpha(opacity=80);border:0;margin:10px 0 0 0;padding-left:5px;background:transparent url(../../images/small-tick.png) no-repeat 0 2px}#choose-subscription.no-subscribe{background:transparent url(../../images/small-off.png) no-repeat 0 2px}#choose-subscription:hover{-moz-opacity:1.0;opacity:1.0;filter:alpha(opacity=100)}button{position:relative;border:0;padding:0;cursor:pointer;overflow:visible}button::-moz-focus-inner{border:0}button span{position:relative;display:block;white-space:nowrap}@media screen and (-webkit-min-device-pixel-ratio:0){button span{margin-top:-1px}}button.button{padding:0 8px 0 0;font-size:13px;text-align:center;background:transparent url('../../images/v3/btn/button-large.gif') no-repeat right -104px}button.button span{padding:9px 0 0 8px;height:23px;background:transparent url('../../images/v3/btn/button-large.gif') no-repeat left top;color:#333;font-family:Arial,Helvetica,Calibri,sans-serif;font-weight:bold;text-shadow:0 1px 0 #fff}button.button img{vertical-align:middle;position:relative;top:-2px}button.button:hover{background-position:right -156px}button.button:hover span{background-position:0 -52px}button.button.small{padding:0 5px 0 0;font-size:11px;background:transparent url('../../images/v3/btn/button-small.gif') no-repeat right -84px}button.button.small span{float:none;padding:5px 0 0 6px;height:17px;width:auto;background:transparent url('../../images/v3/btn/button-small.gif') no-repeat left top;font-weight:normal}button.button.small:hover{background-position:right -126px}button.button.small:hover span{background-position:0 -42px}#remote-settings form div{margin-bottom:20px}#remote-settings label{display:block}#remote-settings ul{margin:0;padding:0;margin-bottom:20px}#remote-settings h3{font-size:14px;margin:0;margin-bottom:15px}#remote-settings li{list-style:none;margin:0;margin-bottom:3px}textarea{margin:0;padding:2px 0;font-size:13px;width:99%;height:120px}.form-info{margin-top:10px;width:190px}.form-block{position:relative}span.tooltip{position:absolute;display:block;margin:0 0 0 3px}span.tooltip .tt-arrow{color:#5b87a5;font-size:14px;vertical-align:middle}span.tooltip .tt-message{background-color:#5b87a5;color:#fff;margin:0 0 0 -3px;padding:5px;-moz-border-radius:3px;-webkit-border-radius:3px;vertical-align:middle}#form-block-username{display:none}#form-block-password{display:none}.dsq-post-avatar{width:24px;height:24px;margin-bottom:-6px;border:0}#dsq-post-retweet{margin:0 3px 0 5px;vertical-align:text-bottom;-webkit-vertical-align:baseline}@media screen and (-webkit-min-device-pixel-ratio:0){#dsq-post-retweet{vertical-align:baseline}}#dsq-label-retweet{font-size:90%;vertical-align:text-bottom}#dsq-label-retweet a{color:inherit}div#loader{text-align:right;padding:3px 1px}div#loader span{background-color:#f00;color:#fff;padding:2px 3px;-webkit-border-radius:2px;-moz-border-radius:3px;border-radius:3px}span.mention{color:inherit;opacity:.9;filter:alpha(opacity=90);background-image:url(../../images/themes/houdini/backgrounds-sprite.png);background-repeat:repeat-x;border-width:1px;border-style:solid;border-color:rgba(0,0,0,.15);border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;padding-top:0;padding-right:4px;padding-bottom:0;padding-left:4px;text-shadow:0 1px 0 rgba(255,255,255,.9);-webkit-box-shadow:0 1px 1px rgba(0,0,0,.1),inset 0 1px 0 rgba(255,255,255,.9);-moz-box-shadow:0 1px 1px rgba(0,0,0,.1),inset 0 1px 0 rgba(255,255,255,.9)}
12
- </style>
13
-
14
-
15
-
16
- <style type="text/css">
17
- html, body, form, textarea { outline: 0; margin: 0; padding: 0; height: 99%; width: 100%; }
18
- textarea { border: 0; }
19
- div#comment {
20
- overflow-y: auto; /* default has scrollbars*/
21
- word-wrap: break-word; /* Firefox hack */
22
- }
23
- </style>
24
-
25
-
26
- <script src="lib.js"></script>
27
-
28
-
29
-
30
- <script>
31
- function whenVisible(a,d){(function(){a.height()!==0?d():setTimeout(arguments.callee,250)})()}function createCookie(a,d,b){if(b){var f=new Date;f.setTime(f.getTime()+b*864E5);b="; expires="+f.toGMTString()}else b="";document.cookie=a+"="+d+b+"; path=/"}function readCookie(a){a+="=";for(var d=document.cookie.split(";"),b=0;b<d.length;b++){for(var f=d[b];f.charAt(0)==" ";)f=f.substring(1,f.length);if(f.indexOf(a)===0)return f.substring(a.length,f.length)}return null}
32
- function getCommentText(){var a,d=$("div#comment").first();d.trigger("mention.text",[d.get(0),function(b){a=b}]);return a}function hasAttr(a,d){if(!a)return!1;if(a.hasAttribute)return a.hasAttribute(d);else if(a.attributes)return!!a.attributes[d];return!1}
33
- (function(a){a.parseQuery=function(d){var b={query:window.location.search||""},f={};typeof d==="string"&&(d={query:d});a.extend(b,a.parseQuery,d);b.query=b.query.replace(/^\?/,"");a.each(b.query.split(b.separator),function(a,h){var c=h.split("="),i=b.decode(c.shift(),null).toString(),c=b.decode(c?c.join("="):null,i);b.array_keys.test(i)?(f[i]=f[i]||[],f[i].push(c)):f[i]=c});return f};a.parseQuery.decode=a.parseQuery.default_decode=function(a){return decodeURIComponent((a||"").replace("+"," "))};a.parseQuery.array_keys=
34
- {test:function(){return!1}};a.parseQuery.separator="&"})(jQuery);
35
- DISQUS.extend(DISQUS.host,{setupCommentBox:function(a){function d(){if(DISQUS.host.browser.gecko){var c=document.getElementById("comment");c&&setTimeout(function(){c.contentEditable=!1;c.contentEditable=!0},0)}}var b={},f=function(){var c=!DISQUS.switches||!DISQUS.switches.mentions||DISQUS.host.browser.mobile?$("textarea").val():getCommentText();return!(!c||/^\s*$/.test(c)||a.placeholder&&a.placeholder==c)};a.cdn&&function(){function c(){window.$.ajax=g.contentWindow.jQuery.ajax;$.each(b,function(c,
36
- a){$.ajax(a)});b=null}var b=[],g;window.$._ajax=window.$.ajax;$.ajax=function(j){g||(g=$("<iframe>").attr("id","ajax-tunnel").attr("src",a.urls.tunnel).load(c).appendTo("head")[0]);b.push(j)}}();var m=function(c,h,g){if(f()){var j;!DISQUS.switches||!DISQUS.switches.mentions||DISQUS.host.browser.mobile?(j=$("textarea"),c.message=j.val()):(j=$("div#comment"),j.first().trigger("mention.text",[j.get(0),function(a){c.message=a}]));if(b.parentPost)c.parent_post_id=b.parentPost;if(b.depth||b.depth===0)c.parent_post_depth=
37
- b.depth;$.ajax({type:"POST",dataType:"json",url:a.urls.create,data:c,success:function(c){!DISQUS.switches||!DISQUS.switches.mentions||DISQUS.host.browser.mobile?j.val(a.placeholder):j.html(a.placeholder);j.addClass("placeholder");setTimeout(function(){h(c)},0)},error:function(c){var a;try{a=$.parseJSON(c.response||c.responseText)}catch(b){a={message:"System Error",code:"system-error",succeeded:!1}}setTimeout(function(){g("system-error",a)},0)}})}else g("invalid-comment",{message:"Please enter a comment to post.",
38
- code:"invalid-comment",succeeded:!1})},h=null,h=DISQUS.net.rpc({local:a.urls.helper,swf:a.urls.swf,hash:!a.debug,onReady:function(){createCookie("testCookie","1");readCookie("testCookie")||h.cookieFailure();h.isReady=!0;d()}},{local:{show:function(){d()},post:function(c,a,g,b){$.extend(c,a);m(c,g,b)},postAsGuest:function(c,a,g,b,h,f,d){c={author_name:c,author_email:a,subscribe:b?2:0};$.extend(c,h);if(g)c.author_url=g;m(c,f,d)},validate:f,setState:function(c,a,g,h){b.parentPost=c;b.depth=a;DISQUS.host.forum_id=
39
- g;DISQUS.host.thread_id=h;DISQUS.host.parentPost=c||""},focus:function(){(DISQUS.host.browser.mobile?$("textarea"):$("div#comment")).first().focus()},setupResize:function(){var c=!DISQUS.switches||!DISQUS.switches.mentions||DISQUS.host.browser.mobile?"textarea":"div#comment",a=$(c);whenVisible(a.parent(),function(){c=="textarea"?a.autoResizeTextarea({extraSpace:20,limit:1E3,onResize:function(){return function(a){commentBoxRpc.resizeFrame(a,DISQUS.host.parentPost)}}}):c=="div#comment"&&a.autoResize({paddingBottom:20,
40
- onResize:function(){return function(a){commentBoxRpc.resizeFrame(a,DISQUS.host.parentPost)}}})})},setData:function(a){DISQUS.extend(DISQUS.host,a)},selectUser:function(a){$("div#comment").first().trigger("mention.resolve",[a])}},remote:{cookieFailure:{},resizeFrame:{},onFocus:{},onBlur:{},onUploadAdd:{},onUploadRemove:{},onSuggest:{},onSuggestMove:{},onSuggestSelect:{},onSuggestClear:{}}});(!DISQUS.switches||!DISQUS.switches.mentions||DISQUS.host.browser.mobile?$("textarea"):$("div#comment")).live("focus",
41
- function(){h.onFocus()}).live("blur",function(){h.onBlur()});return h},browser:{ie:/msie/i.test(navigator.userAgent)&&!/opera/i.test(navigator.userAgent),mobile:/(iPhone|Android|iPod|iPad|webOS|Mobile Safari|Windows Phone)/i.test(navigator.userAgent),gecko:~navigator.userAgent.indexOf("Gecko/"),webkit:~navigator.userAgent.indexOf("AppleWebKit/")}});
42
- (function(a){a.fn.autoResize=function(d){var b=a.extend({onResize:function(){},cssOverride:{},paddingBottom:25},d);return this.filter("div#comment").each(function(){function f(){var f=d.html(),g={position:"absoute",left:-9999,width:d.width()},f=a('<div id="dsq-autoResize" />').insertBefore("div#comment").css(g).html(f),g=f.height();f.remove();g!=c&&(g>h&&(c=g-b.paddingBottom,b.onResize()(g+b.paddingBottom)),g<h&&b.onResize()(h))}a(this).css("overflow","hidden");var d=a(this),h=58,c=h;d.keydown(f).keyup(f).change(f).bind("paste",
43
- f);f()})}})(jQuery);
44
- (function(a){a.fn.autoResizeTextarea=function(d){var b=a.extend({onResize:function(){},animate:!0,animateDuration:150,animateCallback:function(){},extraSpace:20,limit:1E3,cssOverride:{}},d);return this.filter("textarea").each(function(){a(this).height(a("body").height()-b.extraSpace);var f=a(this).css({resize:"none",overflow:"hidden"}),d=f.height(),h=function(){var c={};a.each(["height","width","lineHeight","textDecoration","letterSpacing"],function(a,h){c[h]=b.cssOverride[h]?b.cssOverride[h]:f.css(h)});
45
- return f.clone().removeAttr("id").removeAttr("name").css({position:"absolute",top:0,left:-9999}).css(c).attr("tabIndex","-1").insertAfter(f)}(),c=null,i=function(){h.height(0).val(f.val()).scrollTop(h[0].scrollHeight);var a=Math.max(h[0].scrollHeight,d)+parseInt(b.extraSpace,10),j=f.add(h);c!==a&&(c=a,a>=b.limit?f.css("overflow",""):(b.animate&&f.css("display")==="block"?j.stop().animate({height:a},b.animateDuration,b.animateCallback):j.height(a),commentBoxRpc.isReady&&b.onResize()(a)))};i();f.keydown(i).keyup(i).change(i).bind("paste",
46
- i).css("overflow","hidden")})}})(jQuery);
47
- (function(a){a.fn.captureLinks=function(d){function b(a){var a=a.match(f.linkRe),b=[];if(a&&a.length)for(var c=a.length-1;c>=0;--c)f.imageRe.test(a[c])&&b.push(a[c]);f.callback(b)}var f=a.extend({linkRe:/\bhttp:\/\/.*?(?=\s|$)/g,imageRe:/\.jpg|\.gif|\.png|\.jpeg$/,callback:function(){}},d);return this.filter(!DISQUS.switches||!DISQUS.switches.mentions||DISQUS.host.browser.mobile?"textarea":"div#comment").each(function(f,h){h=a(this);h.keyup(function(a){switch(a.keyCode){case 32:case 8:case 13:case 10:!DISQUS.switches||!DISQUS.switches.mentions||
48
- DISQUS.host.browser.mobile?b(h.val()):b(getCommentText())}}).bind("paste",function(){setTimeout(function(){!DISQUS.switches||!DISQUS.switches.mentions||DISQUS.host.browser.mobile?b(h.val()):b(getCommentText())},250)})})}})(jQuery);
49
- (function(a){function d(a,c){this.key=["disqus.mentions",a,c].join(".");this.store=DISQUS.storage;if(DISQUS.storage.disabled)this.store=function(){var a={};return{get:function(c){return a[c]},set:function(c,b){a[c]=b}}}()}d.prototype.all=function(){return this.store.get(this.key)||{}};d.prototype.add=function(a){var c=this.all();c[a.username]=a;this.store.set(this.key,c)};d.prototype.hasKey=function(a){return this.all().hasOwnProperty(a)};d.prototype.has=function(a){var c=this.all();if(this.hasKey(a.username)&&
50
- (c=c[a.username],a.username==c.username&&a.display_name==c.display_name&&a.remote==c.remote))return!0;return!1};d.prototype.remove=function(a){if(a){var c=this.all();c.hasOwnProperty(a.username)&&delete c[a.username];this.store.set(this.key,c)}};for(var b="h1 h2 h3 h4 h5 h6 p pre blockquote address ul ol dir menu li dl div center form hr br".split(" "),f={},m=0;m<b.length;m++)f[b[m]]=!0;a.fn.mention=function(b){var c=new d(options.forum,options.thread),i=a.extend({maxNames:4,maxSuggestions:6,searchThrottle:200,
51
- onSuggest:function(){},onSuggestMove:function(){},onSuggestSelect:function(){},onSuggestClear:function(){}},b);return(!DISQUS.switches||!DISQUS.switches.mentions||DISQUS.host.browser.mobile?this.filter("textarea"):this.filter("div#comment")).each(function(b,d){function h(){if(k&&k.length){var a=RegExp(k.join(" ").replace(/[^\w\s]/,""),"i"),p=[],b=DISQUS.host.users;if(k.length===1&&k[0]==="")return DISQUS.each(b,function(a,e){if(!c.hasKey(e)&&p.length<i.maxSuggestions)q[e]="username",a.identifier=
52
- e,p.push(a)}),p;DISQUS.each(b,function(b,e){if(!c.hasKey(e))if(a.test(b.display_name))q[e]="display_name",b.identifier=e,p.push(b);else if(a.test(b.username))q[e]="username",b.identifier=e,p.push(b)});return p.slice(0,i.maxSuggestions)}}function m(){var a=h(),b=[],t={};if(k&&k.length&&k.length==1&&(k.length!=1||k[0].length)){for(var o=!1,e=k[0],f,g=a.length-1;g>=0;--g)if(f=a[g],e==f.display_name.toLowerCase()){o=!0;break}!o&&!c.hasKey(["remote.disqus",e].join("."))&&(o={avatar:DISQUS.host.media_url+
53
- "/images/noavatar32.png",display_name:e,disqus_username:e,remote_domain:"",remote_domain_name:"",twitter:"http://disqus.com/"+e,type:"disqus",username:["remote.disqus",e].join("."),identifier:["remote.disqus",e].join(".")},b.push(o),q[o.username]="disqus_username")}if(k&&k.length&&k.length==1&&(k.length!=1||k[0].length)){o=!1;e=k[0];for(g=a.length-1;g>=0;--g)if(f=a[g],"twitter"==f.remote_domain_name.toLowerCase()&&e==f.display_name.toLowerCase()){o=!0;break}!o&&!c.hasKey(["remote.twitter",e].join("."))&&
54
- (o={avatar:DISQUS.host.media_url+"/images/noavatar32.png",display_name:"@"+e,twitter_username:e,remote_domain:2,remote_domain_name:"twitter",twitter:"http://twitter.com/"+e,type:"twitter",username:["remote.twitter",e].join("."),identifier:["remote.twitter",e].join(".")},b.push(o),q[o.username]="twitter_username")}if(a){t.sections=["in this conversation","elsewhere"];a.length&&(t["in this conversation"]=a);if(b.length)t.elsewhere=b;return t}}function n(a){var b=String.fromCharCode(160);return a.replace(RegExp(b,
55
- "gi")," ")}function l(a,b){for(;a&&a!=r;){if(/mention/.test(a.className)&&hasAttr(a,"data-dsq-remote")&&hasAttr(a,"data-dsq-username"))return!0;if(b)break;a=a.parentElement}return!1}function w(a){var b=a.getAttribute("data-dsq-username"),a=a.getAttribute("data-dsq-remote");return a=="twitter"?"@"+b.split(".")[2]+":twitter":a=="disqus"?"@"+b.split(".")[2]+":disqus":"@"+b+":disqus"}function u(){k=s=v=void 0;i.onSuggestClear()()}function x(a,b){a&&a.nodeType&&(a=[a]);for(var c=[],g=0,e;g<a.length;++g)if(e=
56
- a[g])switch(e.nodeType){case 1:if(b&&l(e)){c=c.concat(document.createTextNode(w(e)));break}c=c.concat(x(e.childNodes,b));break;case 3:/^\n\s+/.test(e.nodeValue)||c.push(e)}return c}function y(a){if(document.all){var b=document.selection.createRange();b.pasteHTML(a);b.collapse(!1);a=b.select()}else a=document.execCommand("insertHTML",!1,a);return a}function D(){var a,b;if(window.getSelection)return a=window.getSelection(),a.anchorNode;else if(document.selection.createRange){for(b=document.selection.createRange().duplicate();b.moveStart("character",
57
- -1E3)==-1E3;);b=b.text;var c,g,e,f,d;for(f=0;f<r.get(0).childNodes.length;++f){c=r.get(0).childNodes[f];g=x(c);for(d=0;d<g.length;++d)if(c=g[d],e=n(c.nodeValue),b.indexOf(e)>-1)a=c,b=b.replace(e,"");else if(e.indexOf(b)>-1)return c}return a}}function z(){var a=D(),b=a?a.nodeValue:"",c,g;if(b&&!l(a)){if(window.getSelection){if((g=window.getSelection())&&g.anchorOffset)c=g.anchorOffset}else if(a&&document.selection.createRange){c=document.selection.createRange();g=n(a.nodeValue);for(var e=c.duplicate(),
58
- e=e.parentElement(),f=0;c.moveStart("character",-1)!==0&&++f;){if(g.indexOf(n(c.text))===0||e!=c.parentElement())break;e=c.duplicate();e=e.parentElement()}c=f}c=isNaN(c)?0:c;g=n(b.slice(0,c).split("").reverse().join(""));g=g.indexOf("@");if(g>-1)if(v=a,s=c-g,a=n(b.slice(s-1,c)).match(E))return a[0].slice(1).split(" ");else if(g===0)return[""]}}function A(a){var b=document.getElementsByTagName("span"),g,f,e,d;for(d=0;d<b.length;++d)if(g=b[d],hasAttr(g,"data-dsq-username")&&hasAttr(g,"data-dsq-remote")&&
59
- g.getAttribute("data-dsq-username")==a.username&&g.getAttribute("data-dsq-remote")==a.remote)window.getSelection?(g=b[d].previousSibling,(f=b[d])&&f.parentNode&&f.parentNode.removeChild(f),f=window.getSelection(),e=document.createRange(),g&&(e.setStart(g,g.length),e.setEnd(g,g.length)),f.addRange(e)):(g=b[d])&&g.parentNode&&g.parentNode.removeChild(g);c.remove(a);u();y(" ")}function B(){var a=document.getElementsByTagName("span"),b=c.all(),g={};DISQUS.each(a,function(a){if(l(a,!0)){var b=a.getAttribute("data-dsq-username"),
60
- f=a.getAttribute("data-dsq-remote"),d;if(l(a)){for(var a=x(a),p="",j=0;j<a.length;++j)try{d=n(a[j].nodeValue),/^\s+$/.test(d)||(p+=d)}catch(h){}d=p}else d=void 0;b={username:b,remote:f,display_name:d};g[b.username]=b;c.has(b)||A(b)}});DISQUS.each(b,function(a){g.hasOwnProperty(a.username)||A(a)})}function C(a,b,g){if(!g){for(var g=b[q[b.identifier]].toLowerCase(),f=s,e=0,d=n(v.nodeValue.slice(s)).toLowerCase();e<d.length&&d[e]==g[e];)++f,++e;var d=v,g=s-1,j;if(window.getSelection)j=window.getSelection(),
61
- j.removeAllRanges(),e=document.createRange(),e.setStart(d,g),e.setEnd(d,f),j.addRange(e);else if(document.selection.createRange){e=document.selection.createRange();d=n(d.nodeValue);if(e.parentElement().nodeName.toLowerCase()=="body"){r.get(0).focus();for(e=document.selection.createRange();e.moveStart("character",-1E3)==-1E3;);for(;e.moveEnd("character",1E3)==1E3;);j=n(e.text).indexOf(d);j>0&&e.moveStart("character",j+2);e.collapse()}for(;e.moveStart("character",-1)===-1&&d.indexOf(n(e.text))!==0;);
62
- for(;e.moveEnd("character",1)===1&&d!==n(e.text););e.moveStart("character",g);e.moveEnd("character",-1*(f-g-e.text.length));e.select()}}b.remote=b.remote||"";c.add({username:b.identifier||b.username,remote:b.type?b.type:"",display_name:b.display_name,user:b});b=b.type=="twitter"?'<span data-dsq-username="'+["remote.twitter",b.twitter_username].join(".")+'" data-dsq-remote="twitter" class="mention"><span></span>'+b.display_name+"</span>&nbsp;":b.type=="disqus"?'<span data-dsq-username="'+["remote.disqus",
63
- b.disqus_username].join(".")+'" data-dsq-remote="disqus" class="mention"><span></span>'+b.display_name+"</span>&nbsp;":'<span data-dsq-username="'+(b.identifier||b.username)+'" data-dsq-remote="" class="mention"><span></span>'+b.display_name+"</span>&nbsp;";y(b);u(a)}var r=a(d),q={},E=RegExp("@\\w+\\s?(?:\\w+\\s?){0,"+(i.maxNames-2)+"}(?:\\w+)?$"),v,s,k,F=function(){var a=null,b=null;return function(){r.get(0);b?(clearTimeout(a),a=setTimeout(function(){clearInterval(b);clearTimeout(a);b=a=null},2*
64
- i.searchThrottle)):b=setInterval(function(){try{k=z()}catch(a){return}i.onSuggest()(m())},i.searchThrottle)}}();r.keydown(function(a){if(k)switch(a.keyCode){case 9:i.onSuggestSelect()();case 10:case 13:case 38:case 40:a.preventDefault(),a.stopPropagation()}}).keyup(function(a){a.preventDefault();a.stopPropagation();B(a);switch(a.keyCode){case 50:a.shiftKey&&(u(),k=z());break;case 10:case 13:i.onSuggestSelect()();break;case 27:u(a);break;case 38:i.onSuggestMove()("up");break;case 40:i.onSuggestMove()("down");
65
- break;default:F(a)}}).bind("mention.test",function(a,b){"show"==b?(k=[""],i.onSuggest()(m())):"select"==b&&C({},{avatar:DISQUS.host.media_url+"/images/noavatar32.png",display_name:"test_user",disqus_username:"test_user",remote_domain:"",remote_domain_name:"",twitter:"http://disqus.com/test_user",type:"disqus",username:"remote.disqus.test_user",identifier:"remote.disqus.test_user"},!0)}).bind("mention.resolve",C).bind("mention.text",function(a,b,c){function g(a,b){for(var c="",e=0;e<a.length;++e){var d=
66
- a[e],h=d.nodeName.toLowerCase();if(d.nodeType==1)c+=l(d)?w(d):e==a.length-1?g(d.childNodes,!0):!b&&f.hasOwnProperty(h)?g(d.childNodes,!0)+"\n":g(d.childNodes);else if(d.nodeType==3&&(!DISQUS.host.browser.gecko||!(e===0&&/^\n$/.test(d.nodeValue))))c+=d.nodeValue}return c}var e,a="",d=0;try{e=Array.prototype.slice.call(b.childNodes)}catch(j){e=[];for(var h=0;h<b.childNodes.length;++h)e.push(b.childNodes[h])}if(DISQUS.host.browser.webkit&&e.length&&e[0].nodeType==3){b=!1;for(h=0;h<e.length;++h)if(d=
67
- h,e[h].nodeType==3)a+=e[h].nodeValue;else if(e[h].nodeType==1&&!f.hasOwnProperty(e[h].nodeName.toLowerCase()))a+=l(e[h])?w(e[h]):g(e[h].childNodes);else{b=!0;break}d&&b&&(a+="\n"+g(e.slice(d)))}else a+=g(e);return c?c(a):a});B();(function(){var a;for(a=c.all().length-1;a>=0;--a);})()})}})(jQuery);
68
- jQuery.fn.commentbox=function(a){var d="thread:"+a.thread,b=a.placeholder.replace(/</g,"&lt;").replace(/>/g,"&gt;")||"",a={},a=null;DISQUS.storage.disabled||(a=DISQUS.json.parse(DISQUS.storage.get("disqus.drafts")||"{}"),a=a[d]);!DISQUS.switches||!DISQUS.switches.mentions||DISQUS.host.browser.mobile?a&&a!=b?this.val(a):(this.val(b),this.addClass("placeholder")):a&&a!=b?this.html(a):(this.html(b),this.addClass("placeholder"));var f=this;$(window).unload(function(){if(!DISQUS.storage.disabled){var a=
69
- DISQUS.json.parse(DISQUS.storage.get("disqus.drafts")||"{}");a[d]=!DISQUS.switches||!DISQUS.switches.mentions||DISQUS.host.browser.mobile?$(f).val():$(f).html();try{DISQUS.storage.set("disqus.drafts",DISQUS.json.stringify(a))}catch(b){}}});this.focus(function(){var a=$(this);if(!DISQUS.switches||!DISQUS.switches.mentions||DISQUS.host.browser.mobile)a.val()==b&&a.val("").removeClass("placeholder");else if(a.html()==b){if(/Firefox/.test(navigator.userAgent)){var c=navigator.userAgent.match(/Firefox\/([\w\.]+)/)[1];
70
- a.html(parseInt(c[0],10)<4?"&nbsp;":"")}else a.html("");a.removeClass("placeholder")}});this.blur(function(){var a=$(this),c;!DISQUS.switches||!DISQUS.switches.mentions||DISQUS.host.browser.mobile?(c=a.val(),(!c||/^\s*$/.test(c)||b==c)&&a.val(b).addClass("placeholder")):(c=a.html(),(!c||/^\s*$/.test(c)||/^<br\s?\/?>$/.test(c)||/^&nbsp;$/.test(c)||b==c)&&a.html(b).addClass("placeholder"))});var m=this;whenVisible(m.parent(),function(){DISQUS.host.browser.ie&&$(document.body).focus(function(a){m.focus(a)});
71
- m.get(0).style.height="100%"});var h,c,i;h=function(a){var b="disqus.media."+DISQUS.host.forum_id+"."+DISQUS.host.thread_id+"."+DISQUS.host.parentPost,b=!DISQUS.storage.disabled&&DISQUS.storage.get(b)||[],d=!1,f={Image:1,Youtube:2,Seesmic:3,Flickr:4,ImageUpload:5},h,l;for(h=a.length-1;h>=0;--h){d=!1;for(l=b.length-1;l>=0;--l)if(a[h]==b[l].location){d=!0;break}d||(c(a[h]),b.push({location:a[h]}))}for(h=b.length-1;h>=0;--h){d=!1;for(l=a.length-1;l>=0;--l)if(b[h].type!=f.Image||b[h].location==a[l]){d=
72
- !0;break}!d&&b[h].type!=f.ImageUpload&&i(b[h])}};c=function(a){$.ajax({type:"POST",dataType:"json",async:!1,url:options.urls.media_add,data:{link:a,id:DISQUS.host.parentPost,json:!0},success:function(a){commentBoxRpc.onUploadAdd(a)},error:function(){}})};i=function(a){$.ajax({type:"POST",dataType:"json",async:!1,url:options.urls.media_remove,data:{media:DISQUS.json.stringify(a),id:DISQUS.host.parentPost,json:!0},success:function(a){commentBoxRpc.onUploadRemove(a)},error:function(){}})};DISQUS.switches&&
73
- DISQUS.switches.upload_media&&this.captureLinks({callback:function(a){h(a)}});DISQUS.switches&&DISQUS.switches.mentions&&(DISQUS.host.browser.mobile||whenVisible($("div#comment").parent(),function(){$("div#comment").mention({onSuggest:function(){return function(a){commentBoxRpc.onSuggest(a,DISQUS.host.parentPost)}},onSuggestMove:function(){return function(a){commentBoxRpc.onSuggestMove(a,DISQUS.host.parentPost)}},onSuggestSelect:function(){return function(){commentBoxRpc.onSuggestSelect(DISQUS.host.parentPost)}},
74
- onSuggestClear:function(){return function(){commentBoxRpc.onSuggestClear(DISQUS.host.parentPost)}}})}));return this};
75
- </script>
76
-
77
-
78
- <script>
79
- var args = $.parseQuery(window.location.href.replace(/^.*#/, ''));
80
-
81
- $(function () {
82
- var body = document.getElementsByTagName('body')[0];
83
-
84
- // Custom css rules
85
- // Splitting with ; to prevent possible
86
- // color:white;x:expression(alert(1)) XSS attacks
87
- function getValue(key) {
88
- return args[key].split(';')[0];
89
- }
90
-
91
- if (args.ff)
92
- body.style.fontFamily = getValue('ff');
93
-
94
- if (args.fc)
95
- body.style.color = getValue('fc');
96
-
97
- if (args.bg)
98
- body.style.backgroundColor = getValue('bg');
99
-
100
- if (args.d)
101
- body.style.direction = getValue('d');
102
- });
103
-
104
- var options = {
105
- placeholder: args.p,
106
- forum: args.f,
107
- thread: args.t,
108
- cdn: true,
109
- debug: false,
110
-
111
- urls: {
112
- swf: "http://mediacdn.disqus.com/1325906494/xdm.swf",
113
- helper: "http://mediacdn.disqus.com/1325906494/html/xdm.html",
114
- tunnel: "http://_FORUM_.disqus.com/tunnel.html",
115
- create: "http://_FORUM_.disqus.com/thread/_THREAD_/post_create/",
116
- edit: "http://_FORUM_.disqus.com/thread/_THREAD_/edit_post/",
117
- media_add: "http://_FORUM_.disqus.com/thread/_THREAD_/async_media_upload/",
118
- media_remove: "http://_FORUM_.disqus.com/thread/_THREAD_/async_media_remove/"
119
- }
120
- };
121
-
122
- // Since we no longer render the template and forum names via
123
- // the server, need to string replace them client-side
124
- $.each(options.urls, function(key, url) {
125
- options.urls[key] = url.
126
- replace(/_FORUM_/, args.f).
127
- replace(/_THREAD_/, args.t);
128
- });
129
-
130
- // load relevant switch
131
- // have to massage data from string to bool
132
- DISQUS.switches = {
133
- upload_media: args.upload_media === "true",
134
- mentions: args.mentions === "true"
135
- };
136
-
137
- // grab a handle to the easyXDM rpc object
138
- var commentBoxRpc = DISQUS.host.setupCommentBox(options);
139
-
140
- $(function () {
141
- var elem;
142
- if (DISQUS.switches.mentions && !DISQUS.host.browser.mobile) {
143
- elem = $('div#comment');
144
- } else {
145
- $('div#comment').remove();
146
- $('body').append('<form><textarea></textarea></form>');
147
- elem = $('textarea');
148
- }
149
- elem.get(0).style.fontFamily = args.ff;
150
- elem.commentbox(options);
151
- });
152
- </script>
153
- </head>
154
-
155
- <body style="font-family: &#39;Lucida Grande&#39;, sans-serif; direction: ltr; ">
156
-
157
- <div id="comment" contenteditable="true" role="textarea" aria-multiline="true" style="font-family: &#39;Lucida Grande&#39;, sans-serif; height: 100%; overflow-x: hidden; overflow-y: hidden; " class="placeholder">Type your comment here.</div>
158
-
159
-
160
- </body></html>
@@ -1,128 +0,0 @@
1
- /*jslint evil:true */
2
- /**
3
- * Dynamic thread loader
4
- *
5
- *
6
- *
7
- *
8
- *
9
- *
10
- */
11
-
12
- //
13
- var DISQUS;
14
- if (!DISQUS || typeof DISQUS == 'function') {
15
- throw "DISQUS object is not initialized";
16
- }
17
- //
18
-
19
- // json_data and default_json django template variables will close
20
- // and re-open javascript comment tags
21
-
22
- (function () {
23
- var jsonData, cookieMessages, session, key;
24
-
25
- /* */ jsonData = {"reactions": [{"body": "The Step of the Conductor - How To Node <a href=\"http://howtonode.org/step-of-conductor\">http://ow.ly/173wGJ</a>", "author_name": "del_javascript", "source_url": "http://backtype.com/", "id": 15666666, "get_service_url": "http://twitter.com/", "title": "", "url": "http://twitter.com/del_javascript/status/12101902902", "source": "backtype", "get_service_name": "twitter", "avatar_url": "http://a3.twimg.com/profile_images/90410047/clouds2_normal.jpg", "author_url": "#", "date_created": "1 year ago", "retweets": []}, {"body": "reading \"The Step of the Conductor\" <a href=\"http://howtonode.org/step-of-conductor\">http://bit.ly/a97DR8</a> #javascript #nodejs #conductor #flowjs", "author_name": "rgaidot", "source_url": "http://backtype.com/", "id": 15482142, "get_service_url": "http://twitter.com/", "title": "", "url": "http://twitter.com/rgaidot/status/12062095486", "source": "backtype", "get_service_name": "twitter", "avatar_url": "http://a3.twimg.com/profile_images/509759531/6654_111305815684_541245684_2583159_5383291_n_normal.jpg", "author_url": "#", "date_created": "1 year ago", "retweets": []}, {"body": "RT @creationix: Finally released my article on Step. Had to cut it short for now. <a href=\"http://howtonode.org/step-of-conductor\">http://howtonode.org/step-of-conductor</a>", "author_name": "benatkin", "source_url": "http://backtype.com/", "id": 15482141, "get_service_url": "http://twitter.com/", "title": "", "url": "http://twitter.com/benatkin/status/12061848706", "source": "backtype", "get_service_name": "twitter", "avatar_url": "http://a1.twimg.com/profile_images/733839878/twitter_normal.jpg", "author_url": "#", "date_created": "1 year ago", "retweets": []}, {"body": "Finally released my article on Step. Had to cut it short for now. <a href=\"http://howtonode.org/step-of-conductor\">http://howtonode.org/step-of-conductor</a>", "author_name": "creationix", "source_url": "http://backtype.com/", "id": 15476748, "get_service_url": "http://twitter.com/", "title": "", "url": "http://twitter.com/creationix/status/12059616240", "source": "backtype", "get_service_name": "twitter", "avatar_url": "http://a1.twimg.com/profile_images/774817444/c953ddd239707998340e1a6fbb3eeb46_normal.jpeg", "author_url": "#", "date_created": "1 year ago", "retweets": []}, {"body": "RT @creationix: Finally released my article on Step. Had to cut it short for now. http://howtonode.org/step-of-conductor", "author_name": "Marc Harter", "source_url": "http://backtype.com/", "id": 15509587, "get_service_url": "http://twitter.com/", "title": "", "url": "http://twitter.com/Marc Harter/status/12068380163", "source": "backtype", "get_service_name": "twitter", "avatar_url": "http://a3.twimg.com/profile_images/749599193/MARC3_normal.jpg", "author_url": "#", "date_created": "1 year ago", "retweets": []}], "reactions_limit": 10, "ordered_highlighted": [], "posts": {"108571712": {"edited": false, "author_is_moderator": false, "from_request_user": null, "up_voted": false, "can_edit": false, "ip": "", "last_modified_date": null, "dislikes": 0, "raw_message": "A few questions... sorry if I should have been able to figure these out myself but I'm quite new to Step but think I have a decent understanding of it.\n\nIn the conductor example what is done with F1, the second argument passed to Conduct()?\n\nI'm assuming that \"callback\" is always passed as the final argument to each of the functions. Is this the equivalent of step's \"this\"? If so then why not still use \"this\"?\n\nI notice that each of the arguments being passed to the particular functions refer to the function that they must be sourced from (e.g. 'A: [\"P1\"' means pass the return value of P / P's callback to the function). What is the relevance of the 1? What would P2 mean?", "has_replies": false, "vote": false, "votable": true, "last_modified_by": null, "real_date": "2010-12-08_03:18:31", "date": "1 year ago", "message": "A few questions... sorry if I should have been able to figure these out myself but I'm quite new to Step but think I have a decent understanding of it.<br><br>In the conductor example what is done with F1, the second argument passed to Conduct()?<br><br>I'm assuming that \"callback\" is always passed as the final argument to each of the functions. Is this the equivalent of step's \"this\"? If so then why not still use \"this\"?<br><br>I notice that each of the arguments being passed to the particular functions refer to the function that they must be sourced from (e.g. 'A: [\"P1\"' means pass the return value of P / P's callback to the function). What is the relevance of the 1? What would P2 mean?", "approved": true, "is_last_child": false, "author_is_founder": false, "can_reply": true, "likes": 0, "user_voted": null, "num_replies": 1, "down_voted": false, "is_first_child": false, "has_been_anonymized": false, "highlighted": false, "parent_post_id": null, "depth": 0, "points": 0, "user_key": "f75d67423cef716d02e258034d05c3ac", "author_is_creator": false, "email": "", "killed": false, "is_realtime": false}, "277574149": {"edited": false, "author_is_moderator": false, "from_request_user": false, "up_voted": false, "can_edit": false, "ip": "", "last_modified_date": null, "dislikes": 0, "raw_message": "MAN, YOU RULE!!! I am new to js and to nodejs. Used to synched programming, so had troubles with the asynch one. But you have brought the light and now I see!!!", "has_replies": false, "vote": false, "votable": true, "last_modified_by": null, "real_date": "2011-08-04_15:22:55", "date": "5 months ago", "message": "MAN, YOU RULE!!! I am new to js and to nodejs. Used to synched programming, so had troubles with the asynch one. But you have brought the light and now I see!!!", "approved": true, "is_last_child": false, "author_is_founder": false, "can_reply": true, "likes": 0, "user_voted": null, "num_replies": 0, "down_voted": false, "is_first_child": false, "has_been_anonymized": false, "highlighted": false, "parent_post_id": null, "depth": 0, "points": 0, "user_key": "google-cabd5da7746d2afcf7be055d72907e67", "author_is_creator": false, "email": "", "killed": false, "is_realtime": false}, "63646759": {"edited": false, "author_is_moderator": false, "from_request_user": false, "up_voted": false, "can_edit": false, "ip": "", "last_modified_date": null, "dislikes": 0, "raw_message": "I know it's been a couple of months since this was posted but hopefully will see this and help me out......\n\nI just started using node recently and am trying to use the Step module. My question is if it's possible to nest calls to step? for example:\n\nfile 1:\n\nexports.init = function(next){\n Step(\n function step1(){},\n function step2(){},\n function step3(){},\n next\n)};\n\nthen in file2:\n\nvar m = require('file1');\n\nStep(\n m.init(this),\n function(){}\n);\n\nIn the above example, I don't want the second part of the Step chain to run until all of m.init() finishes which contains a Step chain. When I try this the second function runs before the functions in m.init().\n\nIs this possible with this library or am I doing something wrong?\n\nThanks,\nJon Bomgardner", "has_replies": false, "vote": false, "votable": true, "last_modified_by": null, "real_date": "2010-07-22_00:01:24", "date": "1 year ago", "message": "I know it's been a couple of months since this was posted but hopefully will see this and help me out......<br><br>I just started using node recently and am trying to use the Step module. My question is if it's possible to nest calls to step? for example:<br><br>file 1:<br><br>exports.init = function(next){<br> Step(<br> function step1(){},<br> function step2(){},<br> function step3(){},<br> next<br>)};<br><br>then in file2:<br><br>var m = require('file1');<br><br>Step(<br> m.init(this),<br> function(){}<br>);<br><br>In the above example, I don't want the second part of the Step chain to run until all of m.init() finishes which contains a Step chain. When I try this the second function runs before the functions in m.init().<br><br>Is this possible with this library or am I doing something wrong?<br><br>Thanks,<br>Jon Bomgardner", "approved": true, "is_last_child": false, "author_is_founder": false, "can_reply": true, "likes": 0, "user_voted": null, "num_replies": 0, "down_voted": false, "is_first_child": false, "has_been_anonymized": false, "highlighted": false, "parent_post_id": null, "depth": 0, "points": 0, "user_key": "twitter-37840318", "author_is_creator": false, "email": "", "killed": false, "is_realtime": false}, "48321097": {"edited": false, "author_is_moderator": false, "from_request_user": null, "up_voted": false, "can_edit": false, "ip": "", "last_modified_date": null, "dislikes": 0, "raw_message": "Hi, newbie here! \nHow does Conductor is different from webmachine?", "has_replies": false, "vote": false, "votable": true, "last_modified_by": null, "real_date": "2010-05-04_06:39:25", "date": "1 year ago", "message": "Hi, newbie here! <br>How does Conductor is different from webmachine?", "approved": true, "is_last_child": false, "author_is_founder": false, "can_reply": true, "likes": 1, "user_voted": null, "num_replies": 2, "down_voted": false, "is_first_child": false, "has_been_anonymized": false, "highlighted": false, "parent_post_id": null, "depth": 0, "points": 1, "user_key": "9b78826fc81ad3d3323fae1aab49f331", "author_is_creator": false, "email": "", "killed": false, "is_realtime": false}, "48330736": {"edited": false, "author_is_moderator": true, "from_request_user": false, "up_voted": false, "can_edit": false, "ip": "", "last_modified_date": null, "dislikes": 0, "raw_message": "I've never used webmachine, but conductor isn't a web framework at all, it's a control-flow library for callback based programming like in nodejs. So it's an entirely different beast. Node itself is somewhat comparable to webmachine I think.", "has_replies": false, "vote": false, "votable": true, "last_modified_by": null, "real_date": "2010-05-04_08:50:12", "date": "1 year ago", "message": "I've never used webmachine, but conductor isn't a web framework at all, it's a control-flow library for callback based programming like in nodejs. So it's an entirely different beast. Node itself is somewhat comparable to webmachine I think.", "approved": true, "is_last_child": false, "author_is_founder": true, "can_reply": true, "likes": 0, "user_voted": null, "num_replies": 1, "down_voted": false, "is_first_child": true, "has_been_anonymized": false, "highlighted": false, "parent_post_id": 48321097, "depth": 1, "points": 0, "user_key": "creationix", "author_is_creator": true, "email": "", "killed": false, "is_realtime": false}, "48333553": {"edited": false, "author_is_moderator": false, "from_request_user": null, "up_voted": false, "can_edit": false, "ip": "", "last_modified_date": null, "dislikes": 0, "raw_message": "It looks like I can build a webmachine flow (as seen in http://bitbucket.org/justin/webmachine/wiki/BigHTTPGraph) in top of Conductor. \n\nThere's a webmachine port to nodejs called nodemachine (http://github.com/tautologistics/nodemachine). As you can see from that code, webmachine looks like a cool use case for Conductor. ", "has_replies": false, "vote": false, "votable": true, "last_modified_by": null, "real_date": "2010-05-04_09:16:11", "date": "1 year ago", "message": "It looks like I can build a webmachine flow (as seen in <a href=\"http://bitbucket.org/justin/webmachine/wiki/BigHTTPGraph)\" rel=\"nofollow\">http://bitbucket.org/justin/we...</a> in top of Conductor. <br><br>There's a webmachine port to nodejs called nodemachine (<a href=\"http://github.com/tautologistics/nodemachine)\" rel=\"nofollow\">http://github.com/tautologisti...</a>. As you can see from that code, webmachine looks like a cool use case for Conductor.", "approved": true, "is_last_child": true, "author_is_founder": false, "can_reply": true, "likes": 0, "user_voted": null, "num_replies": 0, "down_voted": false, "is_first_child": false, "has_been_anonymized": false, "highlighted": false, "parent_post_id": 48330736, "depth": 2, "points": 0, "user_key": "9b78826fc81ad3d3323fae1aab49f331", "author_is_creator": false, "email": "", "killed": false, "is_realtime": false}, "337675570": {"edited": false, "author_is_moderator": false, "from_request_user": null, "up_voted": false, "can_edit": false, "ip": "", "last_modified_date": null, "dislikes": 0, "raw_message": "conductor.js may contain a bug.\nAt the last of performerEngine() function body. (Step1) First it dispatches the main function parameters to dependencies, thus some dependencies may be triggerd to run and may come to the end. (Step2) Second performerEngine() executing the following code snipet:\n-----------------\nlocalPerformers.forEach(function (performer, name) {\n\u00a0\u00a0\u00a0\u00a0\u00a0 if (performer.counter === 0 && name !== '_') \n...});\n-----------------\n\nSince Step1 and Step2 are runing paralleled, maybe in Step1, the localPerformers[0..n] have been deleted, so the if clause\n-------------------------------------------\nif (performer.counter === 0 && name !== '_')\n-------------------------------------------\nmay get the execution crashed.\n\nSo the checker should be added as following:\n---------------------------------------------------------\nif (performer && performer.counter === 0 && name !== '_')\n---------------------------------------------------------", "has_replies": false, "vote": false, "votable": true, "last_modified_by": null, "real_date": "2011-10-18_00:39:57", "date": "3 months ago", "message": "conductor.js may contain a bug.<br>At the last of performerEngine() function body. (Step1) First it dispatches the main function parameters to dependencies, thus some dependencies may be triggerd to run and may come to the end. (Step2) Second performerEngine() executing the following code snipet:<br>-----------------<br>localPerformers.forEach(function (performer, name) {<br>\u00a0\u00a0\u00a0\u00a0\u00a0 if (performer.counter === 0 &amp;&amp; name !== '_') <br>...});<br>-----------------<br><br>Since Step1 and Step2 are runing paralleled, maybe in Step1, the localPerformers[0..n] have been deleted, so the if clause<br>-------------------------------------------<br>if (performer.counter === 0 &amp;&amp; name !== '_')<br>-------------------------------------------<br>may get the execution crashed.<br><br>So the checker should be added as following:<br>---------------------------------------------------------<br>if (performer &amp;&amp; performer.counter === 0 &amp;&amp; name !== '_')<br>---------------------------------------------------------", "approved": true, "is_last_child": false, "author_is_founder": false, "can_reply": true, "likes": 1, "user_voted": null, "num_replies": 0, "down_voted": false, "is_first_child": false, "has_been_anonymized": false, "highlighted": false, "parent_post_id": null, "depth": 0, "points": 1, "user_key": "7b207507b7f9bb4879be498893d7e03f", "author_is_creator": false, "email": "", "killed": false, "is_realtime": false}, "54187481": {"edited": false, "author_is_moderator": false, "from_request_user": null, "up_voted": false, "can_edit": false, "ip": "", "last_modified_date": null, "dislikes": 0, "raw_message": "Creating state machines like this is complicated and tough to debug. I looked at this example and your code, and came up with a simpler method of multi-event dependency chaning:\n\nhttp://github.com/Nthalk/Lnmm/blob/master/test/test-observable.js\n\nThe source file for observable is here:\nhttp://github.com/Nthalk/Lnmm/blob/master/lib/Observable.js", "has_replies": false, "vote": false, "votable": true, "last_modified_by": null, "real_date": "2010-06-03_15:28:48", "date": "1 year ago", "message": "Creating state machines like this is complicated and tough to debug. I looked at this example and your code, and came up with a simpler method of multi-event dependency chaning:<br><br><a href=\"http://github.com/Nthalk/Lnmm/blob/master/test/test-observable.js\" rel=\"nofollow\">http://github.com/Nthalk/Lnmm/...</a><br><br>The source file for observable is here:<br><a href=\"http://github.com/Nthalk/Lnmm/blob/master/lib/Observable.js\" rel=\"nofollow\">http://github.com/Nthalk/Lnmm/...</a>", "approved": true, "is_last_child": false, "author_is_founder": false, "can_reply": true, "likes": 1, "user_voted": null, "num_replies": 0, "down_voted": false, "is_first_child": false, "has_been_anonymized": false, "highlighted": false, "parent_post_id": null, "depth": 0, "points": 1, "user_key": "ab303db1c31c208f5a496daa1d7a8ded", "author_is_creator": false, "email": "", "killed": false, "is_realtime": false}, "109741435": {"edited": false, "author_is_moderator": false, "from_request_user": null, "up_voted": false, "can_edit": false, "ip": "", "last_modified_date": null, "dislikes": 0, "raw_message": "I think I solved my last question. While a function that returns values can only go up to 1 those that utilise the callback can pass as many arguments as they want to.", "has_replies": false, "vote": false, "votable": true, "last_modified_by": null, "real_date": "2010-12-10_02:11:31", "date": "1 year ago", "message": "I think I solved my last question. While a function that returns values can only go up to 1 those that utilise the callback can pass as many arguments as they want to.", "approved": true, "is_last_child": true, "author_is_founder": false, "can_reply": true, "likes": 1, "user_voted": null, "num_replies": 0, "down_voted": false, "is_first_child": true, "has_been_anonymized": false, "highlighted": false, "parent_post_id": 108571712, "depth": 1, "points": 1, "user_key": "f75d67423cef716d02e258034d05c3ac", "author_is_creator": false, "email": "", "killed": false, "is_realtime": false}}, "ordered_posts": [337675570, 54187481, 48321097, 48330736, 48333553, 277574149, 108571712, 109741435, 63646759], "realtime_enabled": false, "ready": true, "mediaembed": [], "has_more_reactions": false, "realtime_paused": false, "integration": {"receiver_url": "", "hide_user_votes": false, "reply_position": false, "disqus_logo": false}, "highlighted": {}, "reactions_start": 0, "media_url": "http://mediacdn.disqus.com/1325906494", "users": {"google-cabd5da7746d2afcf7be055d72907e67": {"username": "google-cabd5da7746d2afcf7be055d72907e67", "tumblr": "", "about": "", "display_name": "Alex Fowler", "url": "http://disqus.com/google-cabd5da7746d2afcf7be055d72907e67/", "registered": true, "remote_id": "cabd5da7746d2afcf7be055d72907e67", "linkedin": "", "blog": "", "remote_domain": 6, "points": 1, "facebook": "", "avatar": "http://mediacdn.disqus.com/1325906494/images/noavatar32.png", "delicious": "", "is_remote": true, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": "Google"}, "f75d67423cef716d02e258034d05c3ac": {"username": "Arran Schlosberg", "tumblr": "", "about": "", "display_name": "Arran Schlosberg", "url": "http://disqus.com/guest/f75d67423cef716d02e258034d05c3ac/", "registered": false, "remote_id": null, "linkedin": "", "blog": "", "remote_domain": "", "points": null, "facebook": "", "avatar": "http://mediacdn.disqus.com/1325906494/images/noavatar32.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "creationix": {"username": "creationix", "tumblr": "", "about": "JavaScript Hacker", "display_name": "Tim Caswell", "url": "http://disqus.com/creationix/", "registered": true, "remote_id": null, "linkedin": "", "blog": "", "remote_domain": "", "points": 34, "facebook": "", "avatar": "http://mediacdn.disqus.com/uploads/users/134/854/avatar32.jpg?1270044011", "delicious": "", "is_remote": false, "verified": true, "flickr": "", "twitter": "", "remote_domain_name": ""}, "ab303db1c31c208f5a496daa1d7a8ded": {"username": "Nthalk", "tumblr": "", "about": "", "display_name": "Nthalk", "url": "http://disqus.com/guest/ab303db1c31c208f5a496daa1d7a8ded/", "registered": false, "remote_id": null, "linkedin": "", "blog": "", "remote_domain": "", "points": null, "facebook": "", "avatar": "http://mediacdn.disqus.com/1325906494/images/noavatar32.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "9b78826fc81ad3d3323fae1aab49f331": {"username": "newbie", "tumblr": "", "about": "", "display_name": "newbie", "url": "http://disqus.com/guest/9b78826fc81ad3d3323fae1aab49f331/", "registered": false, "remote_id": null, "linkedin": "", "blog": "", "remote_domain": "", "points": null, "facebook": "", "avatar": "http://mediacdn.disqus.com/1325906494/images/noavatar32.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "7b207507b7f9bb4879be498893d7e03f": {"username": "Tzl2000", "tumblr": "", "about": "", "display_name": "Tzl2000", "url": "http://disqus.com/guest/7b207507b7f9bb4879be498893d7e03f/", "registered": false, "remote_id": null, "linkedin": "", "blog": "", "remote_domain": "", "points": null, "facebook": "", "avatar": "http://mediacdn.disqus.com/1325906494/images/noavatar32.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "twitter-37840318": {"username": "twitter-37840318", "tumblr": "", "about": "", "display_name": "Jon Bomgardner", "url": "http://disqus.com/twitter-37840318/", "registered": true, "remote_id": "37840318", "linkedin": "", "blog": "http://twitter.com/jonlb01", "remote_domain": 2, "points": 1, "facebook": "", "avatar": "http://mediacdn.disqus.com/uploads/users/370/8300/avatar32.jpg?1279771282", "delicious": "", "is_remote": true, "verified": false, "flickr": "", "twitter": "http://twitter.com/jonlb01", "remote_domain_name": "Twitter"}}, "user_unapproved": {}, "messagesx": {"count": 0, "unread": []}, "thread": {"voters_count": 0, "offset_posts": 0, "slug": "the_step_of_the_conductor_how_to_node", "paginate": false, "num_pages": 1, "days_alive": 0, "moderate_none": false, "voters": {}, "total_posts": 9, "realtime_paused": true, "queued": false, "pagination_type": "append", "user_vote": null, "likes": 7, "num_posts": 9, "closed": false, "per_page": 0, "id": 85433260, "killed": false, "moderate_all": false}, "forum": {"use_media": true, "avatar_size": 32, "apiKey": "m648g2sxKcFXTyxGFnvJdqQNPhNEpGcFfGdshL81PVlzOhRDSn0zfDOddClWZWLt", "features": {}, "use_old_templates": false, "comment_max_words": 0, "mobile_theme_disabled": false, "linkbacks_enabled": true, "is_early_adopter": false, "allow_anon_votes": true, "revert_new_login_flow": false, "stylesUrl": "http://mediacdn.disqus.com/uploads/styles/27/5337/howtonodeorg.css", "login_buttons_enabled": false, "streaming_realtime": false, "show_avatar": true, "reactions_enabled": true, "reply_position": false, "id": 275337, "name": "HowToNode.org", "language": "en", "mentions_enabled": true, "url": "howtonodeorg", "allow_anon_post": true, "disqus_auth_disabled": false, "thread_votes_disabled": false, "default_avatar_url": "http://mediacdn.disqus.com/1325906494/images/noavatar32.png", "ranks_enabled": false, "template": {"url": "http://mediacdn.disqus.com/1325906494/build/themes/dsq7884a9652e94555c70f96b6be63be216.js?113", "mobile": {"url": "http://mediacdn.disqus.com/1325906494/build/themes/newmobile.js", "css": "http://mediacdn.disqus.com/1325906494/build/themes/newmobile.css"}, "api": "1.1", "name": "Houdini", "css": "http://mediacdn.disqus.com/1325906494/build/themes/dsq7884a9652e94555c70f96b6be63be216.css?113"}, "hasCustomStyles": false, "max_depth": 0, "lastUpdate": "", "moderate_all": false}, "settings": {"realtimeHost": "qq.disqus.com", "uploads_url": "http://media.disqus.com/uploads", "ssl_media_url": "https://securecdn.disqus.com/1325906494", "realtime_url": "http://rt.disqus.com/forums/realtime-cached.js", "facebook_app_id": "52254943976", "minify_js": true, "recaptcha_public_key": "6LdKMrwSAAAAAPPLVhQE9LPRW4LUSZb810_iaa8u", "read_only": false, "facebook_api_key": "52254943976", "realtimePort": "80", "debug": false, "disqus_url": "http://disqus.com", "media_url": "http://mediacdn.disqus.com/1325906494"}, "ranks": {}, "request": {"sort": "hot", "is_authenticated": false, "user_type": "anon", "subscribe_on_post": 0, "missing_perm": null, "user_id": null, "remote_domain_name": "", "remote_domain": "", "is_verified": false, "profile_url": "", "username": "", "is_global_moderator": false, "sharing": {}, "timestamp": "2012-01-17_12:19:36", "is_moderator": false, "ordered_unapproved_posts": [], "unapproved_posts": {}, "forum": "howtonodeorg", "is_initial_load": true, "display_username": "", "points": null, "has_email": false, "moderator_can_edit": false, "is_remote": false, "userkey": "", "page": 1}, "context": {"use_twitter_signin": true, "use_fb_connect": false, "show_reply": true, "active_switches": ["autocommitted_thread", "bespin", "community_icon", "embedapi", "google_auth", "mentions", "new_facebook_auth", "new_thread_create", "realtime_cached", "show_captcha_on_links", "ssl", "static_reply_frame", "static_styles", "statsd_created", "upload_media", "use_rs_paginator_60m"], "sigma_chance": 10, "use_google_signin": false, "switches": {"olark_admin_addons": true, "listactivity_replies": true, "es_index_threads": true, "use_master_for_api": true, "google_auth": true, "html_email": true, "statsd.timings": true, "community_icon": true, "show_captcha_on_links": true, "google_analytics": true, "olark_admin_packages": true, "static_styles": true, "firehose": true, "stats": true, "realtime": true, "realtime_cached": true, "statsd_created": true, "bespin": true, "olark_support": true, "firehose_gnip": true, "olark_addons": true, "new_facebook_auth": true, "limit_get_posts_days_30d": true, "use_impermium": true, "phoenix": true, "new_thread_create": true, "edits_to_spam": true, "upload_media": true, "vip_read_slave": true, "embedapi": true, "ssl": true, "autocommitted_thread": true, "send_to_impermium": true, "theme_editor_disabled": true, "train_impermium": true, "listactivity_replies_30d": true, "firehose_gnip_http": true, "moderate_ascending": true, "git_themes": true, "new_moderate": true, "use_rs_paginator_60m": true, "redis_threadcount": true, "mentions": true, "olark_install": true, "static_reply_frame": true}, "forum_facebook_key": "", "use_yahoo": true, "subscribed": false, "active_gargoyle_switches": ["edits_to_spam", "es_index_threads", "firehose", "firehose_gnip", "firehose_gnip_http", "git_themes", "google_analytics", "html_email", "limit_get_posts_days_30d", "listactivity_replies", "listactivity_replies_30d", "moderate_ascending", "new_moderate", "olark_addons", "olark_admin_addons", "olark_admin_packages", "olark_install", "olark_support", "phoenix", "realtime", "redis_threadcount", "send_to_impermium", "show_captcha_on_links", "stats", "statsd.timings", "theme_editor_disabled", "train_impermium", "use_impermium", "use_master_for_api", "vip_read_slave"], "realtime_speed": 15000, "use_openid": true}}; /* */
26
- /* */ cookieMessages = {"user_created": null, "post_has_profile": null, "post_twitter": null, "post_not_approved": null}; session = {"url": null, "name": null, "email": null}; /* */
27
-
28
- DISQUS.jsonData = jsonData;
29
- DISQUS.jsonData.cookie_messages = cookieMessages;
30
- DISQUS.jsonData.session = session;
31
-
32
- if (DISQUS.useSSL) {
33
- DISQUS.useSSL(DISQUS.jsonData.settings);
34
- }
35
-
36
- // The mappings below are for backwards compatibility--before we port all the code that
37
- // accesses jsonData.settings to DISQUS.settings
38
-
39
- var mappings = {
40
- debug: 'disqus.debug',
41
- minify_js: 'disqus.minified',
42
- read_only: 'disqus.readonly',
43
- recaptcha_public_key: 'disqus.recaptcha.key',
44
- facebook_app_id: 'disqus.facebook.appId',
45
- facebook_api_key: 'disqus.facebook.apiKey'
46
- };
47
-
48
- var urlMappings = {
49
- disqus_url: 'disqus.urls.main',
50
- media_url: 'disqus.urls.media',
51
- ssl_media_url: 'disqus.urls.sslMedia',
52
- realtime_url: 'disqus.urls.realtime',
53
- uploads_url: 'disqus.urls.uploads'
54
- };
55
-
56
- if (DISQUS.jsonData.context.switches.realtime_setting_change) {
57
- urlMappings.realtimeHost = 'realtime.host';
58
- urlMappings.realtimePort = 'realtime.port';
59
- }
60
- for (key in mappings) {
61
- if (mappings.hasOwnProperty(key)) {
62
- DISQUS.settings.set(mappings[key], DISQUS.jsonData.settings[key]);
63
- }
64
- }
65
-
66
- for (key in urlMappings) {
67
- if (urlMappings.hasOwnProperty(key)) {
68
- DISQUS.jsonData.settings[key] = DISQUS.settings.get(urlMappings[key]);
69
- }
70
- }
71
- }());
72
-
73
- DISQUS.jsonData.context.csrf_token = '21bc467119200cb06806902fa8e2f5b0';
74
-
75
- DISQUS.jsonData.urls = {
76
- login: 'http://disqus.com/profile/login/',
77
- logout: 'http://disqus.com/logout/',
78
- upload_remove: 'http://howtonodeorg.disqus.com/thread/the_step_of_the_conductor_how_to_node/async_media_remove/',
79
- request_user_profile: 'http://disqus.com/AnonymousUser/',
80
- request_user_avatar: 'http://mediacdn.disqus.com/1325906494/images/noavatar92.png',
81
- verify_email: 'http://disqus.com/verify/',
82
- remote_settings: 'http://howtonodeorg.disqus.com/_auth/embed/remote_settings/',
83
- edit_profile_window: 'http://disqus.com/embed/profile/edit/',
84
- embed_thread: 'http://howtonodeorg.disqus.com/thread.js',
85
- embed_vote: 'http://howtonodeorg.disqus.com/vote.js',
86
- embed_thread_vote: 'http://howtonodeorg.disqus.com/thread_vote.js',
87
- embed_thread_share: 'http://howtonodeorg.disqus.com/thread_share.js',
88
- embed_queueurl: 'http://howtonodeorg.disqus.com/queueurl.js',
89
- embed_hidereaction: 'http://howtonodeorg.disqus.com/hidereaction.js',
90
- embed_more_reactions: 'http://howtonodeorg.disqus.com/more_reactions.js',
91
- embed_subscribe: 'http://howtonodeorg.disqus.com/subscribe.js',
92
- embed_highlight: 'http://howtonodeorg.disqus.com/highlight.js',
93
- embed_block: 'http://howtonodeorg.disqus.com/block.js',
94
- update_moderate_all: 'http://howtonodeorg.disqus.com/update_moderate_all.js',
95
- update_days_alive: 'http://howtonodeorg.disqus.com/update_days_alive.js',
96
- show_user_votes: 'http://howtonodeorg.disqus.com/show_user_votes.js',
97
- forum_view: 'http://howtonodeorg.disqus.com/the_step_of_the_conductor_how_to_node',
98
- cnn_saml_try: 'http://disqus.com/saml/cnn/try/',
99
- realtime: DISQUS.jsonData.settings.realtime_url,
100
- thread_view: 'http://howtonodeorg.disqus.com/thread/the_step_of_the_conductor_how_to_node/',
101
- twitter_connect: DISQUS.jsonData.settings.disqus_url + '/_ax/twitter/begin/',
102
- yahoo_connect: DISQUS.jsonData.settings.disqus_url + '/_ax/yahoo/begin/',
103
- openid_connect: DISQUS.jsonData.settings.disqus_url + '/_ax/openid/begin/',
104
- googleConnect: DISQUS.jsonData.settings.disqus_url + '/_ax/google/begin/',
105
- community: 'http://howtonodeorg.disqus.com/community.html',
106
- admin: 'http://howtonodeorg.disqus.com/admin/moderate/',
107
- moderate: 'http://howtonodeorg.disqus.com/admin/moderate/',
108
- moderate_threads: 'http://howtonodeorg.disqus.com/admin/moderate-threads/',
109
- settings: 'http://howtonodeorg.disqus.com/admin/settings/',
110
- unmerged_profiles: 'http://disqus.com/embed/profile/unmerged_profiles/',
111
-
112
- channels: {
113
- def: 'http://disqus.com/default.html', /* default channel */
114
- auth: 'https://disqus.com/embed/login.html',
115
- tweetbox: 'http://disqus.com/forums/integrations/twitter/tweetbox.html?f=howtonodeorg',
116
- edit: 'http://howtonodeorg.disqus.com/embed/editcomment.html'
117
- }
118
- };
119
-
120
-
121
- //
122
- //
123
- DISQUS.jsonData.urls.channels.reply = 'http://mediacdn.disqus.com/1325906494/build/system/reply.html';
124
- DISQUS.jsonData.urls.channels.upload = 'http://mediacdn.disqus.com/1325906494/build/system/upload.html';
125
- DISQUS.jsonData.urls.channels.sso = 'http://mediacdn.disqus.com/1325906494/build/system/sso.html';
126
- DISQUS.jsonData.urls.channels.facebook = 'http://mediacdn.disqus.com/1325906494/build/system/facebook.html';
127
- //
128
- //
@@ -1,3 +0,0 @@
1
- <!DOCTYPE html>
2
- <!-- saved from url=(0369)http://platform.twitter.com/widgets/tweet_button.1326407570.html#_=1326820775873&_version=2&count=horizontal&enableNewSizing=false&id=twitter-widget-0&lang=en&original_referer=http%3A%2F%2Fhowtonode.org%2Fstep-of-conductor&size=m&text=The%20Step%20of%20the%20Conductor%20-%20How%20To%20Node%20-%20NodeJS&url=http%3A%2F%2Fhowtonode.org%2Fstep-of-conductor&via=creationix -->
3
- <html class=" regular" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><title>Tweet Button</title><style type="text/css">html{margin:0;padding:0;font:normal normal normal 11px/18px 'Helvetica Neue',Arial,sans-serif;color:#333;-webkit-user-select:none;-ms-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none;}body{margin:0;padding:0;background:transparent;visibility:hidden;}a{outline:none;text-decoration:none;}body.ready{visibility:visible;}#widget{white-space:nowrap;overflow:hidden;text-align:left;}.btn-o,.count-o,.btn,.btn .label,#count{display:-moz-inline-stack;display:inline-block;vertical-align:top;zoom:1;*display:inline;}.right #widget{text-align:right;}.meas-btn,.btn,.meas-bubble,.meas-vbubble,#count{white-space:nowrap;}.meas-btn,.btn{font-weight:bold;text-shadow:0 1px 0 rgba(255,255,255,.5);}.meas-vbubble,.vcount #count{font-size:16px;}.measure{position:absolute;visibility:hidden;}.btn-o{max-width:100%;}.btn{position:relative;background-color:#f8f8f8;background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#dedede));background-image:-moz-linear-gradient(top,#fff,#dedede);background-image:-o-linear-gradient(top,#fff,#dedede);background-image:-ms-linear-gradient(top,#fff,#dedede);background-image:linear-gradient(top,#fff,#dedede);border:#ccc solid 1px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;color:#333;-webkit-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none;cursor:pointer;height:18px;max-width:98%;overflow:hidden;}.btn:focus,.btn:hover,.btn:active{border-color:#bbb;background-color:#f8f8f8;background-image:-webkit-gradient(linear,left top,left bottom,from(#f8f8f8),to(#d9d9d9));background-image:-moz-linear-gradient(top,#f8f8f8,#d9d9d9);background-image:-o-linear-gradient(top,#f8f8f8,#d9d9d9);background-image:-ms-linear-gradient(top,#f8f8f8,#d9d9d9);background-image:linear-gradient(top,#f8f8f8,#d9d9d9);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}.btn:active{background-color:#efefef;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.1);-moz-box-shadow:inset 0 3px 5px rgba(0,0,0,0.1);box-shadow:inset 0 3px 5px rgba(0,0,0,0.1);}.xl .btn:active{-webkit-box-shadow:inset 0 3px 7px rgba(0,0,0,0.1);-moz-box-shadow:inset 0 3px 7px rgba(0,0,0,0.1);box-shadow:inset 0 3px 7px rgba(0,0,0,0.1);}.btn i{position:absolute;top:50%;left:2px;margin-top:-6px;width:16px;height:12px;background:transparent url(/widgets/images/btn.c5bcc9de085c51bf889f6a8f33128be2.png) 0 0 no-repeat;}.btn .label{padding:0 3px 0 19px;}.xl{font-size:13px;line-height:26px;}.xl .btn{-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;height:26px;}.xl .btn i{background-position:-24px 0;width:21px;height:14px;left:5px;margin-top:-7px;}.xl .btn .label{padding:0 7px 0 29px;}@media(-webkit-min-device-pixel-ratio:2){.btn i{background-image:url(/widgets/images/btn@2x.8e08113b02908daa2bd83afc93474f8a.png);background-size:45px 40px;}.xl .btn i{margin-top:-7px;left:5px;}.xl .btn .label{top:-1.5px;}}.aria{position:absolute;left:-999em;}.following .btn{color:#888;background:#eee;border:#ccc solid 1px;}.following .btn:active,.following .btn:hover{border:#bbb solid 1px;}.following .btn i{background-position:0 -20px;}.xl .following .btn i{background-position:-24px -25px;}.btn:focus,.following .btn:focus{border-color:#0089CB;}.count-o{position:relative;background:#fff;border:#bbb solid 1px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;visibility:hidden;min-height:18px;_height:18px;min-width:15px;_width:15px;}#count{text-align:center;color:#333;}#count:hover,#count:focus{color:#333;text-decoration:underline;}.ncount .count-o{display:none;}.count-ready .count-o{visibility:visible;}.count-o i,.count-o u{position:absolute;zoom:1;line-height:0;width:0;height:0;left:0;top:50%;margin:-4px 0 0 -4px;border:4px transparent solid;_border-color:pink;_filter:chroma(color=pink);border-right-color:#aaa;border-left:0;}.count-o u{margin-left:-3px;border-right-color:#fff;}.following .count-o i{border-right-color:#bbb;}.following .count-o{background:#f9f9f9;border-color:#ccc;}.following #count{color:#666;}.hcount .count-o{margin:0 0 0 5px;}.hcount #count{padding:0 3px;}.xl .count-o{-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;_line-height:26px;margin:0 0 0 6px;}.xl .count-o i,.xl .count-o u{margin:-5px 0 0 -5px;border-width:5px 5px 5px 0;}.xl .count-o u{margin-left:-4px;}.xl #count{padding:0 5px;*line-height:26px;}.vcount #widget{width:100%;_width:97%;padding-bottom:5px;}.vcount .btn-o{position:absolute;margin-top:42px;left:0;right:0;width:100%;}.vcount .btn{display:block;margin:0 auto;}.vcount .count-o{display:block;padding:0 5px;}.vcount .count-o i,.vcount .count-o u{line-height:0;top:auto;left:50%;bottom:0;margin:0 0 -4px -4px;border:4px transparent solid;_border-color:pink;border-top-color:#aaa;border-bottom:0;}.vcount .count-o u{margin-bottom:-3px;border-top-color:#fff;}.vcount #count{width:100%;height:34px;line-height:34px;}@media(min-width:0){.btn,.hcount .count-o{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;height:20px;max-width:100%;}.xl .btn,.xl .hcount .count-o{height:28px;}}#follow-button{white-space:normal;}</style><!--[if lte IE 9]><style type="text/css">.btn{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#dedede');-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#dedede')";}.btn:hover,.btn:focus{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8',endColorstr='#d9d9d9');-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8',endColorstr='#d9d9d9')";}.btn:active{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8',endColorstr='#d9d9d9');-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8',endColorstr='#d9d9d9')";}.btn span.label{letter-spacing:-0.5px;}.btn i{_background-image:url(/widgets/images/btn.1d63fc428e02b223cbd155785a85a723.gif);}</style><![endif]--></head><body class=" hcount ready count-ready"><div id="widget"><div class="btn-o"><a href="https://twitter.com/intent/tweet?original_referer=http%3A%2F%2Fhowtonode.org%2Fstep-of-conductor&source=tweetbutton&text=The%20Step%20of%20the%20Conductor%20-%20How%20To%20Node%20-%20NodeJS&url=http%3A%2F%2Fhowtonode.org%2Fstep-of-conductor&via=creationix" class="btn" id="b" target="_blank"><i></i><span class="label" id="l">Tweet</span></a></div><div class="count-o enabled" id="c"><i></i><u></u><a href="http://twitter.com/search?q=http%3A%2F%2Fhowtonode.org%2Fstep-of-conductor" id="count" target="_blank" title="This page has been shared 3 times. View these Tweets." aria-describedby="count-desc">3</a></div></div><script type="text/javascript" charset="utf-8">document.domain = 'twitter.com';</script><script type="text/javascript">window.twttr=window.twttr||{};var i18n={it:{"%{followers_count} followers":"%{followers_count} follower","%{name} on Twitter":"%{name} su Twitter",",":".",".":",","100K+":"100K+","10M+":"10M+","10k unit":"10k unit\u00e0",Follow:"Segui","Follow %{name} on Twitter":"Segui %{name} su Twitter",K:"K",M:"M","This page has been shared %{tweets} times. View these Tweets.":"Questa pagina \u00e8 stata condivisa %{tweets} volte. Visualizza questi Tweet.",Tweet:"Tweet","Tweet %{hashtag}":"Twitta %{hashtag}","Tweet to %{name}":"Twitta a %{name}","You are following %{name} on Twitter":"Stai seguendo %{name} su Twitter"},no:{"%{followers_count} followers":"%{followers_count} f\u00f8gere","%{name} on Twitter":"%{name} p\u00e5 Twitter",",":",",".":".","100K+":"100K+","10M+":"10M+","10k unit":"10k ",Follow:"F\u00f8lg","Follow %{name} on Twitter":"F\u00f8lg %{name} p\u00e5 Twitter",K:"K",M:"M","This page has been shared %{tweets} times. View these Tweets.":"Denne siden har blitt delt %{tweets} ganger. Se tweetene her.",Tweet:"Tweet","Tweet %{hashtag}":"Tweet %{hashtag}","Tweet to %{name}":"Send tweet til %{name}","You are following %{name} on Twitter":"Du f\u00f8lger %{name} p\u00e5 Twitter"},de:{"%{followers_count} followers":"%{followers_count} Follower","%{name} on Twitter":"%{name} auf Twitter",",":",",".":".","100K+":"100K+","10M+":"10M+","10k unit":"10k-Einheit",Follow:"Folgen","Follow %{name} on Twitter":"Folge %{name} auf Twitter.",K:"K",M:"M","This page has been shared %{tweets} times. View these Tweets.":"Diese Seite wurde bisher %{tweets} mal geteilt. Diese Tweets anzeigen.",Tweet:"Twittern","Tweet %{hashtag}":"Tweet %{hashtag}","Tweet to %{name}":"Tweet an %{name}","You are following %{name} on Twitter":"Du folgst %{name} auf Twitter."},ja:{"%{followers_count} followers":"%{followers_count}\u4eba\u306e\u30d5\u30a9\u30ed\u30ef\u30fc\n","%{name} on Twitter":"%{name}\u3055\u3093\u306fTwitter\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059",",":",",".":".","100K+":"10\u4e07\u4ee5\u4e0a","10M+":"1000\u4e07\u4ee5\u4e0a","10k unit":"\u4e07",Follow:"\u30d5\u30a9\u30ed\u30fc\u3059\u308b","Follow %{name} on Twitter":"Twitter\u3067%{name}\u3055\u3093\u3092\u30d5\u30a9\u30ed\u30fc\u3057\u307e\u3057\u3087\u3046",K:"K",M:"M","This page has been shared %{tweets} times. View these Tweets.":"\u3053\u306e\u30da\u30fc\u30b8\u306f%{tweets}\u56de\u5171\u6709\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u308c\u3089\u306e\u30c4\u30a4\u30fc\u30c8\u3092\u898b\u308b\u3002\n",Tweet:"\u30c4\u30a4\u30fc\u30c8","Tweet %{hashtag}":"%{hashtag} \u3092\u30c4\u30a4\u30fc\u30c8\u3059\u308b","Tweet to %{name}":"%{name}\u3078\u30c4\u30a4\u30fc\u30c8\u3059\u308b","You are following %{name} on Twitter":"Twitter\u3067%{name}\u3055\u3093\u3092\u30d5\u30a9\u30ed\u30fc\u3057\u3066\u3044\u307e\u3059"},fr:{"%{followers_count} followers":"%{followers_count} abonn\u00e9s","%{name} on Twitter":"%{name} sur Twitter",",":"\u00a0",".":",","100K+":"100K+","10M+":"10M+","10k unit":"unit\u00e9 de 10k",Follow:"Suivre","Follow %{name} on Twitter":"Suivre %{name} sur Twitter",K:"K",M:"M","This page has been shared %{tweets} times. View these Tweets.":"Cette page a \u00e9t\u00e9 partag\u00e9e %{tweets} fois. Voir ces Tweets.",Tweet:"Tweeter","Tweet %{hashtag}":"Tweeter %{hashtag}","Tweet to %{name}":"Tweeter \u00e0 %{name}","You are following %{name} on Twitter":"Vous suivez %{name} sur Twitter"},"zh-cn":{"%{followers_count} followers":"%{followers_count} \u5173\u6ce8\u8005","%{name} on Twitter":"%{name} \u7684 Twitter",",":",",".":".","100K+":"10\u4e07+","10M+":"1000\u4e07+","10k unit":"1\u4e07\u5355\u5143",Follow:"\u5173\u6ce8","Follow %{name} on Twitter":"\u5728 Twitter \u4e0a\u5173\u6ce8 %{name}",K:"\u5343",M:"\u767e\u4e07","This page has been shared %{tweets} times. View these Tweets.":"\u8be5\u9875\u9762\u5df2\u7ecf\u88ab\u5206\u4eab %{tweets} \u6b21\u3002\u67e5\u770b\u8fd9\u4e9b\u63a8\u6587\u3002",Tweet:"\u53d1\u63a8","Tweet %{hashtag}":"\u4ee5 %{hashtag} \u53d1\u63a8","Tweet to %{name}":"\u53d1\u63a8\u7ed9 %{name}","You are following %{name} on Twitter":"\u4f60\u6b63\u5728 Twitter \u4e0a\u5173\u6ce8 %{name}"},hi:{"%{followers_count} followers":"%{followers_count} \u092b\u093c\u0949\u0932\u094b\u0905\u0930\u094d\u0938",Follow:"\u092b\u093c\u0949\u0932\u094b","Follow %{name} on Twitter":"%{name} \u0915\u094b \u091f\u094d\u0935\u093f\u091f\u0930 \u092a\u0930 \u092b\u093c\u0949\u0932\u094b \u0915\u0930\u0947\u0902",K:"\u0939\u091c\u093e\u0930"},ru:{"%{followers_count} followers":"\u0427\u0438\u0442\u0430\u0442\u0435\u043b\u0438: %{followers_count} ","%{name} on Twitter":"%{name} \u0432 \u0422\u0432\u0438\u0442\u0442\u0435\u0440\u0435",",":"\u00a0",".":",","100K+":"100 \u0442\u044b\u0441+","10M+":"10 \u043c\u043b\u043d+","10k unit":"\u0431\u043b\u043e\u043a 10k",Follow:"\u0427\u0438\u0442\u0430\u0442\u044c","Follow %{name} on Twitter":"\u0427\u0438\u0442\u0430\u0442\u044c %{name} \u0432 \u0422\u0432\u0438\u0442\u0442\u0435\u0440\u0435 ",K:"\u0442\u044b\u0441.",M:"\u043c\u043b\u043d.","This page has been shared %{tweets} times. View these Tweets.":"\u042d\u0442\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435\u0439 \u043f\u043e\u0434\u0435\u043b\u0438\u043b\u0438\u0441\u044c %{tweets} \u0440\u0430\u0437(\u0430). \u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0442\u0432\u0438\u0442\u044b.",Tweet:"\u0422\u0432\u0438\u0442\u043d\u0443\u0442\u044c","Tweet %{hashtag}":"\u0422\u0432\u0438\u0442\u043d\u0443\u0442\u044c %{hashtag}","Tweet to %{name}":"\u0422\u0432\u0438\u0442\u043d\u0443\u0442\u044c %{name}","You are following %{name} on Twitter":"\u0412\u044b \u0447\u0438\u0442\u0430\u0435\u0442\u0435 %{name} \u0432 \u0422\u0432\u0438\u0442\u0442\u0435\u0440\u0435"},es:{"%{followers_count} followers":"%{followers_count} seguidores","%{name} on Twitter":"%{name} en Twitter",",":",",".":".","100K+":"100K+","10M+":"10M+","10k unit":"10k unidad",Follow:"Seguir","Follow %{name} on Twitter":"Sigue a %{name} en Twitter",K:"K",M:"M","This page has been shared %{tweets} times. View these Tweets.":"Esta p\u00e1gina ha sido compartida %{tweets} veces. Ver estos Tweets.",Tweet:"Twittear","Tweet %{hashtag}":"Twittear %{hashtag}","Tweet to %{name}":"Twittear a %{name}","You are following %{name} on Twitter":"Est\u00e1s siguiendo a %{name} en Twitter"},sv:{"%{followers_count} followers":"%{followers_count} f\u00f6ljare","%{name} on Twitter":"%{name} p\u00e5 Twitter",",":",",".":".","100K+":"100K+","10M+":"10M+","10k unit":"10k",Follow:"F\u00f6lj","Follow %{name} on Twitter":"F\u00f6lj %{name} p\u00e5 Twitter",K:"K",M:"M","This page has been shared %{tweets} times. View these Tweets.":"Den h\u00e4r sidan har delats %{tweets} g\u00e5nger. Visa dessa tweets.",Tweet:"Tweeta","Tweet %{hashtag}":"Tweeta %{hashtag}","Tweet to %{name}":"Tweeta till %{name}","You are following %{name} on Twitter":"Du f\u00f6ljer %{name} p\u00e5 Twitter"},fi:{"%{followers_count} followers":"%{followers_count} seuraajaa","%{name} on Twitter":"%{name} Twitteriss\u00e4",",":",",".":".","100K+":"100 000+","10M+":"10+ milj.","10k unit":"10 000 yksikk\u00f6\u00e4",Follow:"Seuraa","Follow %{name} on Twitter":"Seuraa k\u00e4ytt\u00e4j\u00e4\u00e4 %{name} Twitteriss\u00e4",K:"tuhatta",M:"milj.","This page has been shared %{tweets} times. View these Tweets.":"T\u00e4m\u00e4 sivu on jaettu %{tweets} kertaa. N\u00e4yt\u00e4 n\u00e4m\u00e4 twiitit.",Tweet:"Twiittaa","Tweet %{hashtag}":"Twiittaa %{hashtag}","Tweet to %{name}":"Twiittaa k\u00e4ytt\u00e4j\u00e4lle %{name}","You are following %{name} on Twitter":"Seuraat k\u00e4ytt\u00e4j\u00e4\u00e4 %{name} Twitteriss\u00e4"},pt:{"%{followers_count} followers":"%{followers_count} seguidores","%{name} on Twitter":"%{name} no Twitter",",":".",".":",","100K+":"+100 mil","10M+":"+10 milh\u00f5es","10k unit":"10 mil unidades",Follow:"Seguir","Follow %{name} on Twitter":"Siga %{name}no Twitter",K:"Mil",M:"M","This page has been shared %{tweets} times. View these Tweets.":"Est\u00e1 p\u00e1gina foi compartilhada %{tweets} vezes. Veja todos os Tweets.",Tweet:"Tweetar","Tweet %{hashtag}":"Tweetar %{hashtag}","Tweet to %{name}":"Tweetar para %{name}","You are following %{name} on Twitter":"Voc\u00ea est\u00e1 seguindo %{name} no Twitter"},ko:{"%{followers_count} followers":"%{followers_count}\uba85\uc758 \ud314\ub85c\uc6cc","%{name} on Twitter":"\ud2b8\uc704\ud130\uc5d0\uc11c %{name} \ub2d8",",":",",".":".","100K+":"100\ub9cc \uc774\uc0c1","10M+":"1000\ub9cc \uc774\uc0c1","10k unit":"\ub9cc \ub2e8\uc704",Follow:"\ud314\ub85c\uc6b0","Follow %{name} on Twitter":"\ud2b8\uc704\ud130\uc5d0\uc11c %{name} \ub2d8 \ud314\ub85c\uc6b0\ud558\uae30",K:"\ucc9c",M:"\ubc31\ub9cc","This page has been shared %{tweets} times. View these Tweets.":"\uc774 \ud398\uc774\uc9c0\ub294 %{tweets}\ubc88 \uacf5\uc720\ub418\uc5c8\uc2b5\ub2c8\ub2e4. \uc774 \ud2b8\uc717\ub4e4 \ubcf4\uae30.",Tweet:"\ud2b8\uc717","Tweet %{hashtag}":"%{hashtag} \uad00\ub828 \ud2b8\uc717\ud558\uae30","Tweet to %{name}":"%{name}\ub2d8\uc5d0\uac8c \ud2b8\uc717\ud558\uae30","You are following %{name} on Twitter":"\ud2b8\uc704\ud130\uc5d0\uc11c %{name}\ub2d8\uc744 \ud314\ub85c\uc6b0 \uc911\uc785\ub2c8\ub2e4."},"zh-tw":{"%{followers_count} followers":"%{followers_count} \u4f4d\u95dc\u6ce8\u8005","%{name} on Twitter":"%{name} \u5728 Twitter",",":"\uff0c",".":"\u3002","100K+":"\u8d85\u904e\u5341\u842c","10M+":"\u8d85\u904e\u5343\u842c","10k unit":"\u4e00\u842c\u55ae\u4f4d",Follow:"\u95dc\u6ce8","Follow %{name} on Twitter":"\u5728 Twitter \u4e0a\u95dc\u6ce8 %{name}\n",K:"\u5343",M:"\u767e\u842c","This page has been shared %{tweets} times. View these Tweets.":"\u6b64\u9801\u9762\u5df2\u88ab\u5206\u4eab %{tweets} \u6b21\uff0c\u700f\u89bd\u9019\u4e9b\u63a8\u6587\u3002",Tweet:"\u63a8\u6587","Tweet %{hashtag}":"\u63a8 %{hashtag}","Tweet to %{name}":"\u63a8\u6587\u7d66 %{name}","You are following %{name} on Twitter":"\u4f60\u6b63\u5728 Twitter \u4e0a\u95dc\u6ce8 %{name}\n"},id:{"%{followers_count} followers":"%{followers_count} pengikut","%{name} on Twitter":"%{name} di Twitter",",":".",".":",","100K+":"100 ribu+","10M+":"10 juta+","10k unit":"10 ribu unit",Follow:"Ikuti","Follow %{name} on Twitter":"Ikuti %{name} di Twitter",K:"\u0026nbsp;ribu",M:"\u0026nbsp;juta","This page has been shared %{tweets} times. View these Tweets.":"Halaman ini telah dibagikan %{tweets} kali. Lihat Tweet ini.",Tweet:"Tweet","Tweet %{hashtag}":"Tweet %{hashtag}","Tweet to %{name}":"Tweet ke %{name}","You are following %{name} on Twitter":"Anda mengikuti %{name} di Twitter"},msa:{"%{followers_count} followers":"%{followers_count} pengikut","%{name} on Twitter":"%{name} di Twitter",",":",",".":".","100K+":"100 ribu+","10M+":"10 juta+","10k unit":"10 ribu unit",Follow:"Ikut","Follow %{name} on Twitter":"Ikut %{name} di Twitter",K:"ribu",M:"juta","This page has been shared %{tweets} times. View these Tweets.":"Halaman ini telah dikongsi sebanyak %{tweets} kali. Lihat Tweet-tweet ini.",Tweet:"Tweet","Tweet %{hashtag}":"Tweet %{hashtag}","Tweet to %{name}":"Tweet kepada %{name}","You are following %{name} on Twitter":"Anda mengikuti %{name} di Twitter"},pl:{"%{followers_count} followers":"%{followers_count} obserwuj\u0105cych","%{name} on Twitter":"%{name} na Twitterze",",":",",".":".","100K+":"100 tys.+","10M+":"10 mln+","10k unit":"10 tys.",Follow:"Obserwuj","Follow %{name} on Twitter":"Obserwuj %{name} na Twitterze",K:"tys.",M:"mln","This page has been shared %{tweets} times. View these Tweets.":"Ta strona zosta\u0142a udost\u0119pniona %{tweets} razy. Zobacz te tweety.",Tweet:"Tweetnij","Tweet %{hashtag}":"Tweetnij %{hashtag}","Tweet to %{name}":"Tweetnij do %{name}","You are following %{name} on Twitter":"Obserwujesz %{name} na Twitterze"},da:{"%{followers_count} followers":"%{followers_count} f\u00f8lgere","%{name} on Twitter":"%{name} p\u00e5 Twitter",",":".",".":",","100K+":"100K+","10M+":"10M+","10k unit":"10k enhed",Follow:"F\u00f8lg","Follow %{name} on Twitter":"F\u00f8lg %{name} p\u00e5 Twitter",K:"K",M:"M","This page has been shared %{tweets} times. View these Tweets.":"Denne side er blevet delt %{tweets} gange. Vis disse tweets.",Tweet:"Tweet","Tweet %{hashtag}":"Tweet %{hashtag}","Tweet to %{name}":"Tweet til %{name}","You are following %{name} on Twitter":"Du f\u00f8lger %{name} p\u00e5 Twitter"},nl:{"%{followers_count} followers":"%{followers_count} volgers","%{name} on Twitter":"%{name} op Twitter",",":".",".":",","100K+":"100k+","10M+":"10 mln.+","10k unit":"10k-eenheid",Follow:"Volgen","Follow %{name} on Twitter":"%{name} volgen op Twitter",K:"k",M:" mln.","This page has been shared %{tweets} times. View these Tweets.":"Deze pagina is %{tweets} keer gedeeld. Deze tweets weergeven.",Tweet:"Tweeten","Tweet %{hashtag}":"%{hashtag} tweeten","Tweet to %{name}":"Tweeten naar %{name}","You are following %{name} on Twitter":"Je volgt %{name} op Twitter"},tr:{"%{followers_count} followers":"%{followers_count} takip\u00e7i","%{name} on Twitter":"%{name} Twitter'da",",":",",".":".","100K+":"100 binden fazla","10M+":"10 milyondan fazla","10k unit":"10 bin birim",Follow:"Takip Et","Follow %{name} on Twitter":"Twitter'da %{name} adl\u0131 ki\u015fiyi takip et",K:"bin",M:"milyon","This page has been shared %{tweets} times. View these Tweets.":"Bu sayfa %{tweets} defa payla\u015f\u0131ld\u0131. Bu Tweetleri g\u00f6r\u00fcnt\u00fcle.",Tweet:"Tweetle","Tweet %{hashtag}":"%{hashtag} etiketini Tweetle","Tweet to %{name}":"%{name} adl\u0131 ki\u015fiye Tweetle","You are following %{name} on Twitter":"Twitter'da %{name} adl\u0131 ki\u015fiyi takip ediyorsun"},fil:{"%{followers_count} followers":"%{followers_count} mga tagasunod","%{name} on Twitter":"%{name} sa Twitter",",":",",".":".","100K+":"100K+","10M+":"10M+","10k unit":"10k yunit",Follow:"Sundan","Follow %{name} on Twitter":"Sundan si %{name} sa Twitter",K:"K",M:"M","This page has been shared %{tweets} times. View these Tweets.":"Ang pahinang ito ay ibinahagi nang %{tweets} beses. Tingnan ang mga Tweet na ito.",Tweet:"I-tweet","Tweet %{hashtag}":"I-tweet ang %{hashtag}","Tweet to %{name}":"Mag-Tweet kay %{name}","You are following %{name} on Twitter":"Sinusundan mo si %{name} sa Twitter"}};function _(B,A){B=(twttr.lang&&i18n[twttr.lang]&&i18n[twttr.lang][B])||B;if(!A){return B}return B.replace(/\%\{([a-z0-9_]+)\}/gi,function(C,D){return A[D]||C})};</script><script type="text/javascript">(function(p,D){var Z=p.attachEvent&&!p.opera,K=D.getElementsByTagName("script"),I=0,g,n=D.createElement("script"),P={},V={},C,U,G={},R=p.using,E=p.provide,J=p.define,e=p.loadrunner;for(var o=0,k;k=K[o];o++){if(k.src.match(/loadrunner\.js(\?|#|$)/)){g=k;break}}function X(s){for(var r=1,t;t=arguments[r];r++){for(var q in t){s[q]=t[q]}}return s}function M(i){return Array.prototype.slice.call(i)}var W=Array.isArray||function(i){return i.constructor==Array};function Q(q,r){for(var s=0,t;t=q[s];s++){if(r==t){return s}}return -1}function l(){var s=M(arguments),t=[];for(var r=0,q=s.length;r<q;r++){if(s[r].length>0){t.push(s[r].replace(/\/$/,""))}}return t.join("/")}function j(t,s,q){var r=s.split("/"),u=t;while(r.length>1){var i=r.shift();u=u[i]=u[i]||{}}u[r[0]]=q}function f(){}f.prototype.then=function(i){var q=this;if(!this.started){this.started=true;this.start()}if(this.completed){i.apply(p,this.results)}else{this.callbacks=this.callbacks||[];this.callbacks.push(i)}return this};f.prototype.start=function(){};f.prototype.complete=function(){if(!this.completed){this.results=M(arguments);this.completed=true;if(this.callbacks){for(var r=0,q;q=this.callbacks[r];r++){q.apply(p,this.results)}}}};function c(q,i){this.id=this.path=q;this.force=!!i}c.loaded=[];c.prototype=new f;c.prototype.start=function(){var r=this,s,i,q;if(q=V[this.id]){q.then(function(){r.complete()});return this}if(s=P[this.id]){s.then(function(){r.loaded()})}else{if(!this.force&&Q(c.loaded,this.id)>-1){this.loaded()}else{if(i=b(this.id)){A(i,function(){r.loaded()})}else{this.load()}}}return this};c.prototype.load=function(){var q=this;P[this.id]=q;var i=n.cloneNode(false);this.scriptId=i.id="LR"+ ++I;i.type="text/javascript";i.async=true;i.onerror=function(){throw new Error(q.path+" not loaded")};i.onreadystatechange=i.onload=function(r){r=p.event||r;if(r.type=="load"||Q(["loaded","complete"],this.readyState)>-1){this.onreadystatechange=null;q.loaded()}};i.src=this.path;U=this;K[0].parentNode.insertBefore(i,K[0]);U=null;G[i.id]=this};c.prototype.loaded=function(){this.complete()};c.prototype.complete=function(){if(Q(c.loaded,this.id)==-1){c.loaded.push(this.id)}delete P[this.id];f.prototype.complete.apply(this,arguments)};function a(q,i){this.id=q;this.body=i;if(typeof i=="undefined"){this.path=this.resolvePath(q)}}a.exports={};a.prototype=new c;a.prototype.resolvePath=function(i){return l(A.path,i+".js")};a.prototype.start=function(){var i,q,r=this,s;if(this.body){this.execute()}else{if(i=a.exports[this.id]){this.exp(i)}else{if(q=V[this.id]){q.then(function(t){r.exp(t)})}else{if(bundle=b(this.id)){A(bundle,function(){r.start()})}else{V[this.id]=this;this.load()}}}}};a.prototype.loaded=function(){var q,i,r=this;if(!Z){q=C;C=null;q.id=q.id||this.id;q.then(function(s){r.exp(s)})}else{if(i=a.exports[this.id]){this.exp(i)}else{if(q=V[this.id]){q.then(function(s){r.exp(s)})}}}};a.prototype.complete=function(){delete V[this.id];c.prototype.complete.apply(this,arguments)};a.prototype.execute=function(){var i=this;if(typeof this.body=="object"){this.exp(this.body)}else{if(typeof this.body=="function"){this.body.apply(window,[function(q){i.exp(q)}])}}};a.prototype.exp=function(i){this.complete(this.exports=a.exports[this.id]=i||{})};function B(q,i){this.deps=q;this.collectResults=i;if(this.deps.length==0){this.complete()}}B.prototype=new f;B.prototype.start=function(){var s=this;function q(){var v=[];if(s.collectResults){v[0]={}}for(var u=0,w;w=s.deps[u];u++){if(!w.completed){return }if(w.results.length>0){if(s.collectResults){if(w instanceof S){X(v[0],w.results[0])}else{j(v[0],w.id,w.results[0])}}else{v=v.concat(w.results)}}}s.complete.apply(s,v)}for(var r=0,t;t=this.deps[r];r++){t.then(q)}return this};function S(q,i){this.deps=q;this.collectResults=i}S.prototype=new f;S.prototype.start=function(){var s=this,q=0,i=[];if(s.collectResults){i[0]={}}(function r(){var t=s.deps[q++];if(t){t.then(function(u){if(t.results.length>0){if(s.collectResults){if(t instanceof S){X(i[0],t.results[0])}else{j(i[0],t.id,t.results[0])}}else{i.push(t.results[0])}}r()})}else{s.complete.apply(s,i)}}());return this};function T(){for(var q in K){if(K[q].readyState=="interactive"){return G[K[q].id]}}}function L(q,i){var r;if(!q&&Z){r=U||T()}if(r){delete G[r.scriptId];r.body=i;r.execute()}else{C=r=new a(q,i);V[r.id]=r}return r}function N(){var r=M(arguments),q,i;if(typeof r[0]=="string"){q=r.shift()}i=r.shift();return L(q,i)}function h(t,q){var s=q.id||"";var r=s.split("/");r.pop();var i=r.join("/");return t.replace(/^\./,i)}function Y(t,v){var r=[];function s(i){return a.exports[h(i,v)]}for(var u=0,q=t.length;u<q;u++){if(t[u]=="require"){r.push(s);continue}if(t[u]=="exports"){v.exports=v.exports||{};r.push(v.exports);continue}r.push(s(t[u]))}return r}function O(){var q=M(arguments),r=[],s,i;if(typeof q[0]=="string"){s=q.shift()}if(W(q[0])){r=q.shift()}i=q.shift();return L(s,function(u){var y=this,x=[];function w(){var AA=Y(M(r),y),AB;if(typeof i=="function"){AB=i.apply(y,AA)}else{AB=i}if(typeof AB=="undefined"){AB=y.exports}u(AB)}for(var v=0,t=r.length;v<t;v++){var z=r[v];if(Q(["require","exports"],z)==-1){x.push(h(z,y))}}if(x.length>0){A.apply(this,x.concat(w))}else{w()}})}O.amd={};function A(){var r=M(arguments),s,q;if(typeof r[r.length-1]=="function"){s=r.pop()}if(typeof r[r.length-1]=="boolean"){q=r.pop()}var i=new B(F(r,q),q);if(s){i.then(s)}return i}function F(u,r){var q=[];for(var s=0,t;t=u[s];s++){if(typeof t=="string"){t=m(t)}if(W(t)){t=new S(F(t,r),r)}q.push(t)}return q}function m(w){var q,v;for(var s=0,u;u=A.matchers[s];s++){var t=u[0],r=u[1];if(q=w.match(t)){return r(w)}}throw new Error(w+" was not recognised by loader")}var d=function(i){return i(A,N,d,define)};function H(){p.using=R;p.provide=E;p.define=J;p.loadrunner=e;return d}d.Script=c;d.Module=a;d.Collection=B;d.Sequence=S;d.Dependency=f;d.noConflict=H;p.loadrunner=d;p.using=A;p.provide=N;p.define=O;A.path="";A.matchers=[];A.matchers.add=function(q,i){this.unshift([q,i])};A.matchers.add(/(^script!|\.js$)/,function(q){var i=new c(q.replace(/^\$/,A.path.replace(/\/$/,"")+"/").replace(/^script!/,""),false);i.id=q;return i});A.matchers.add(/^[a-zA-Z0-9_\-\/]+$/,function(i){return new a(i)});A.bundles=[];function b(r){for(var q=0;q<A.bundles.length;q++){for(var i in A.bundles[q]){if(i!=r&&Q(A.bundles[q][i],r)>-1){return i}}}}if(g){A.path=g.getAttribute("data-path")||g.src.split(/loadrunner\.js/)[0]||"";if(main=g.getAttribute("data-main")){A.apply(p,main.split(/\s*,\s*/)).then(function(){})}}}(this,document));;var __twttrlr = loadrunner.noConflict();__twttrlr(function(using, provide, loadrunner, define) {provide("i18n/languages",function(a){a(["it","no","de","ja","fr","zh-cn","hi","ru","es","sv","fi","pt","ko","zh-tw","id","msa","pl","da","nl","tr","fil"])});provide("dom/textsize",function(a){a(function(a,b){var c=document.createElement("div"),d={};return c.className=b+" measure",c.innerHTML=a,document.body.appendChild(c),d.width=c.clientWidth||c.offsetWidth,d.height=c.clientHeight||c.offsetHeight,document.body.removeChild(c),delete c,d})});provide("util/querystring",function(a){function b(a){return encodeURIComponent(a).replace(/\+/g,"%2B")}function c(a){return decodeURIComponent(a)}function d(a){var c=[];for(var d in a)a[d]!==null&&typeof a[d]!="undefined"&&c.push(b(d)+"="+b(a[d]));return c.sort().join("&")}function e(a){var b={},d,e,f,g;if(a){d=a.split("&");for(g=0;f=d[g];g++)e=f.split("="),e.length==2&&(b[c(e[0])]=c(e[1]))}return b}function f(a,b){var c=d(b);return c.length>0?a.indexOf("?")>=0?a+"&"+d(b):a+"?"+d(b):a}a({url:f,decode:e,encode:d,encodePart:b,decodePart:c})});provide("util/params",function(a){using("util/querystring",function(b){var c=function(a){var c=a.search.substr(1);return b.decode(c)},d=function(a){var c=a.href,d=c.indexOf("#"),e=d<0?"":c.substring(d+1);return b.decode(e)},e=function(a){var b={},e=c(a),f=d(a);for(var g in e)e.hasOwnProperty(g)&&(b[g]=e[g]);for(var g in f)f.hasOwnProperty(g)&&(b[g]=f[g]);return b};a({combined:e,fromQuery:c,fromFragment:d})})});provide("util/widgetrpc",function(a){using("util/params",function(b){function i(){if(!j())return;var a=0,b=parent.frames.length,e;if(d)return d;try{d=parent.frames[c];if(d)return d}catch(f){}for(;a<b;a++)try{e=parent.frames[a];if(e&&typeof e.openIntent=="function")return d=e}catch(f){}}function j(){var a=36e5;if(f!==undefined)return f;f=!1;var c=b.combined(document.location)._;return c?/^\d+$/.test(c)&&(f=+(new Date)-parseInt(c)<a):f=!1,f}function k(a,b,c){l(function(d){d.trigger("_resize",{width:b,height:c},a)})}function l(){var a={};(typeof arguments[0]).toLowerCase()==="function"?a.success=arguments[0]:a=arguments[0];var b=a.success||function(){},c=a.timeout||function(){},d=a.nohub||function(){},f=a.attempt!==undefined?a.attempt:h;if(!j()||e)return d(),!1;var k=i();f--;try{if(k&&k.trigger){b(k);return}}catch(m){}if(f<=0){e=!0,c();return}window.setTimeout(function(){l({success:b,timeout:c,nohub:d,attempt:f})},g)}var c="twttrHubFrame",d,e,f,g=100,h=20;a({resize:k,withHub:l,isDynamicWidget:j})})});provide("util/util",function(a){function b(a){for(var b=1,c;c=arguments[b];b++)for(var d in c)a[d]=c[d];return a}function c(a){return b([],a)}function d(a){for(var b in a)a.hasOwnProperty(b)&&!a[b]&&a[b]!==!1&&a[b]!==0&&delete a[b]}function e(a,b){for(var c=0,d;d=a[c];c++)if(b==d)return c;return-1}function f(a,b){if(!a)return null;var c=[];for(var d=0,e=a.length;d<e;d++)b(a[d])&&c.push(a[d]);return c}a({aug:b,array:c,indexOf:e,filter:f,compact:d})});provide("dom/cookie",function(a){using("util/util",function(b){a(function(a,c,d){var e=b.aug({},d);if(arguments.length>1&&String(c)!=="[object Object]"){if(c===null||c===undefined)e.expires=-1;if(typeof e.expires=="number"){var f=e.expires,g=new Date((new Date).getTime()+f*60*1e3);e.expires=g}return c=String(c),document.cookie=[encodeURIComponent(a),"=",e.raw?c:encodeURIComponent(c),e.expires?"; expires="+e.expires.toUTCString():"",e.path?"; path="+e.path:"",e.domain?"; domain="+e.domain:"",e.secure?"; secure":""].join("")}e=c||{};var h,i=e.raw?function(a){return a}:decodeURIComponent;return(h=(new RegExp("(?:^|; )"+encodeURIComponent(a)+"=([^;]*)")).exec(document.cookie))?i(h[1]):null})})});provide("util/donottrack",function(a){using("dom/cookie",function(b){a(function(){return b("dnt")?!0:document.navigator?document.navigator["doNotTrack"]==1:navigator?navigator["doNotTrack"]==1||navigator["msDoNotTrack"]==1:!1})})});provide("tfw/widget/guest_cookie",function(a){using("dom/cookie","util/donottrack",function(b,c){function f(){if(c())b(d)&&b(d,null,{domain:".twitter.com",path:"/"});else if(!b(d)){var a="v1:",f=(+(new Date)).toString()+Math.round(Math.random()*999999999);b(d,a+f,{domain:".twitter.com",path:"/",expires:e})}}var d="pid",e=1051897;a({set:f,guest_id_cookie:d,default_expire:e})})});provide("tfw/widget/tracking",function(a){using("dom/cookie","util/donottrack","tfw/widget/guest_cookie","util/widgetrpc",function(b,c,d,e){function i(a,b,c){var d=f+b;if(!a)return;return a[d]=c,a}function j(a,f,j,k,l){k||(k=!1),l||(l=!1),j=j||"tweetbutton",j=h[j]||h.tweetbutton;var m=a.ownerDocument.createElement("img"),n=[];k||(i(f,"referrer",document.referrer.toString()),i(f,"widget",+e.isDynamicWidget()),!l&&!c()?(i(f,"li",+!!b("twid")),i(f,d.guest_id_cookie,b(d.guest_id_cookie)||"")):i(f,"dnt","1"));for(var o in f)if(f.hasOwnProperty(o)){var p=encodeURIComponent(o),q=encodeURIComponent(f[o]);q=q.replace(/'/g,"%27"),n.push(p+"="+q)}m.src=g+j+"?"+n.join("&"),m.alt="",m.style.position="absolute",m.style.height="1px",m.style.width="1px",m.style.top="-9999px",m.style.left="-9999px",a.appendChild(m)}var f="twttr_",g="//platform.twitter.com/widgets/images/",h={tweetbutton:"t.gif",followbutton:"f.gif",tweetembed:"e.gif"};a({addPixel:j,addVar:i})})});provide("$vendor/domready/ready.js", function(exports) {!function(a){function k(){b=1;for(var a=0,d=c.length;a<d;a++)c[a]()}var b=0,c=[],d,e,f=!1,g=a.createElement("a"),h="DOMContentLoaded",i="addEventListener",j="onreadystatechange";/^loade|c/.test(a.readyState)&&(b=1),a[i]&&a[i](h,e=function(){a.removeEventListener(h,e,f),k()},f),g.doScroll&&a.attachEvent(j,d=function(){/^c/.test(a.readyState)&&(a.detachEvent(j,d),k())});var l=g.doScroll?function(a){self!=top?b?a():c.push(a):!function(){try{g.doScroll("left")}catch(b){return setTimeout(function(){l(a)},50)}a()}()}:function(a){b?a():c.push(a)};typeof module!="undefined"&&module.exports?module.exports={domReady:l}:window.domReady=l}(document);exports();loadrunner.Script.loaded.push("$vendor/domready/ready.js")});provide("util/domready",function(a){using("$vendor/domready/ready.js",function(){a(domReady)})});using("util/domready","util/util","util/querystring","util/params","tfw/widget/tracking","tfw/widget/guest_cookie","util/widgetrpc","dom/textsize","i18n/languages",function(a,b,c,d,e,f,g,h,i){function C(a){j=a,l.innerHTML=L(j),g.isDynamicWidget()&&I()}function D(){a(function(){if(o.url&&o.count!=="none"){var a=k.createElement("script");a.type="text/javascript",a.src=twttr.config.countURL+"?url="+c.encodePart(w)+"&callback=twttr.receiveCount",k.body.appendChild(a)}})}function E(){switch(o.type){case"hashtag":return _("Tweet %{hashtag}",{hashtag:"#"+o.button_hashtag});case"mention":return _("Tweet to %{name}",{name:"@"+o.screen_name});default:return _("Tweet")}}function F(){var a=k.getElementById("l");k.title=_("Tweet Button"),a.innerHTML=E()}function G(){return h(E(),"meas-btn").width+s[o.size].b}function H(){var a=s[o.size],b=G(),c=o.count=="horizontal"&&h(L(j),"meas-bubble").width+a.h,d=o.count=="vertical"&&h(L(j),"meas-vbubble").width+a.v;return d>b?d:c?b+c:b}function I(){var a;if(o.enableNewSizing=="false")return;o.count=="vertical"?(a="v",m.style.width=G()+"px"):a=o.size,g.resize(o.id,H(),r[a])}function J(a,b){var c=a.id+"-desc",d=document.createElement("p");d.id=c,d.className="aria",d.innerHTML=b,k.body.appendChild(d),a.setAttribute("aria-describedby",c)}function K(a){var b="scrollbars=yes,resizable=yes,toolbar=no,location=yes",c=550,d=420,e=screen.height,f=screen.width,g=Math.round(f/2-c/2),h=0;return e>d&&(h=Math.round(e/2-d/2)),window.open(a,null,b+",width="+c+",height="+d+",left="+g+",top="+h)}function L(a){var b,c,d=parseInt(a,10),e=new RegExp("^\\"+_(",")),f={ja:1,ko:1};return isNaN(d)?"":d<1e4?d.toString().split("").reverse().join("").replace(/(\d{3})/g,"$1"+_(",")).split("").reverse().join("").replace(e,""):d<1e5?f[o.lang]?(c=(Math.floor(d/100)/100).toString(),c+_("10k unit")):(b=(Math.round(d/100)/10).toString(),b.replace(/\./,_("."))+_("K")):_("100K+")}function M(a){return a=a||window.event,a&&a.preventDefault?a.preventDefault():a.returnValue=!1,a&&a.stopPropagation?a.stopPropagation():a.cancelBubble=!0,!1}function N(a){return a.replace(/(<)|(>)/g,function(a){var b;return a[0]==="<"?b="&lt;":b="&gt;",b})}function O(a){for(var b=0,c=a.length;b<c;b++)a[b]=N(a[b]);return a}function P(a,b){a.className+=" "+b}f.set(),twttr.config=b.aug({countURL:"//cdn.api.twitter.com/1/urls/count.json",intentURL:"https://twitter.com/intent/tweet"},twttr.config||{});var j=0,k=document,l=k.getElementById("count"),m=k.getElementById("b"),n,o=O(d.combined(k.location)),p={vertical:"vcount",horizontal:"hcount",none:"ncount"},q={l:"xl",m:"regular"},r={m:20,l:28,v:62},s={m:{v:8,h:14,b:24},l:{h:18,b:38}},t={share:1,mention:1,hashtag:1},u=[],v,w,x,y,z,A,B;twttr.receiveCount=function(a){typeof a.count=="number"&&(C(a.count),P(k.body,"count-ready"),a.count>0&&(l.title=_("This page has been shared %{tweets} times. View these Tweets.",{tweets:a.count}),J(l,l.title)))},o.type=t[o.type]?o.type:"share",o.size=s[o.size]?o.size:"m",P(k.documentElement,q[o.size]||""),o.align=="right"&&P(k.body,"right"),o.enableNewSizing=="false"&&/Win/.test(navigator.userAgent)&&!/MSIE/.test(navigator.userAgent)&&(m.style.letterSpacing="-1px"),o.screen_name&&((B=o.screen_name.match(/^\s*@?([\w_]{1,20})\s*$/i))?o.screen_name=B[1]:(delete o.screen_name,o.type=="mention"&&(o.type="share",o.count="none"))),o.button_hashtag?((A=o.button_hashtag.match(/^\s*#?([^.,<>!\s\/#\-\(\)\'\"]+)\s*$/i))?(o.button_hashtag=A[1],o.hashtags=o.button_hashtag+","+(o.hashtags||"")):(delete o.button_hashtag,o.type="share"),o.count="none"):o.type=="share"?(o.url=o.url||k.referrer,w=o.counturl||o.url,x=w&&"http://twitter.com/search?q="+c.encodePart(w),o.size=="l"&&o.count=="vertical"&&(o.count="none"),u.push(p[o.count]||"hcount"),D()):o.count="none",o.lang=o.lang&&o.lang.toLowerCase(),k.body.parentNode.lang=twttr.lang=o.lang=~b.indexOf(i,o.lang)?o.lang:"en",P(k.body,u.join(" ")),g.withHub({nohub:function(){F(),P(k.body,"ready")},success:function(){F(),I(),P(k.body,"ready")},timeout:function(){P(k.body,"ready")}}),v={text:o.text,screen_name:o.screen_name,hashtags:o.hashtags,url:o.url,via:o.via,related:o.related,placeid:o.placeid,original_referer:k.referrer,source:"tweetbutton"},y=twttr.config.intentURL+"?"+c.encode(v),z=o.dnt&&o.dnt.toLowerCase()==="true",e.addPixel(document.body,o,"tweetbutton",!1,z),l.href=x,m.href=y,m.onclick=function(a){return g.withHub({nohub:function(){K(y)},success:function(a){a.openIntent(y,o.id),a.trigger("click",{region:"tweet"},o.id)},timeout:function(){K(y)}}),M(a)},o.searchlink!="disabled"?(P(l.parentNode,"enabled"),l.onclick=function(a){return window.open(x),g.withHub(function(a){a.trigger("click",{region:"tweetcount"},o.id)}),M(a)}):l.onclick=function(a){M(a)}})});;</script><img src="t.gif" alt="" style="position: absolute; height: 1px; width: 1px; top: -9999px; left: -9999px; "><script type="text/javascript" src="count.json"></script><p id="count-desc" class="aria">This page has been shared 3 times. View these Tweets.</p></body></html>
@@ -1,2 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>8936A25B9ABFC1F0</RequestId><HostId>msmeBEW7iEya+RgLVtorQ9nNbDwdmnTpNnSDVyK9t/eYz+UQHAtnwQ8Bmm34mmHH</HostId></Error>
@@ -1,91 +0,0 @@
1
-
2
- <!-- saved from url=(0176)http://mediacdn.disqus.com/1325906494/build/system/upload.html#xdm_e=http%3A%2F%2Fhowtonode.org&xdm_c=default7107&xdm_p=1&f=howtonodeorg&t=the_step_of_the_conductor_how_to_node -->
3
- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4
- <meta charset="utf-8">
5
- <title></title>
6
- <script>document.domain = 'disqus.com';</script>
7
-
8
-
9
- <style type="text/css">
10
- html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;line-height:inherit}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal}form legend{display:none}blockquote:before,blockquote:after,q:before,q:after{content:""}blockquote,q{quotes:"" ""}ol,ul{list-style:none}hr{display:none;visibility:hidden}:focus{outline:0}html{margin:0;padding:0;height:100%}body{font-size:13px;height:100%;background-color:transparent;margin:0;padding:0}div#comment,textarea{font-size:13px;background:transparent}div#comment.placeholder,textarea.placeholder{color:#666}span.disqus{font-family:Trebuchet MS,Trebuchet,Verdana,Arial,sans-serif;font-size:90%;text-transform:uppercase;font-weight:bold}form{margin:0;padding:0}a.forgot-password{margin-left:15px;font-size:95%;-moz-opacity:.8;opacity:.80;filter:alpha(opacity=80)}.form-text-label{font-weight:bold}.input-block{float:left}.input-block label{display:block}label img{margin-bottom:-1px;margin-left:3px}input{margin:0;padding:0}input.form-text{padding:2px;margin-right:10px;margin-bottom:7px;font-size:100%;display:block}input.placeholder{-moz-opacity:.6;opacity:.60;filter:alpha(opacity=60)}input.submit{margin-right:5px}input#custom-submit{border:0;display:none;cursor:pointer}.submit-footer{margin:10px 0 0 0;clear:left}label span.error{color:#c03000;font-weight:bold}ul.errorlist{margin:0;padding:0}ul.errorlist li{font-size:90%;color:#c03000;list-style:none}#post-choices{padding:5px 0;width:99%}#post-choices input{vertical-align:top}#post-choices label{vertical-align:baseline;margin-right:12px}#post-choices span.help{margin-left:10px;font-size:.85em}#post-choices span.help a{cursor:help;text-decoration:none;border-style:dotted;border-width:0 0 1px 0}.login-register-copy{margin:5px 0 20px 0;font-size:14px;color:#333}.login-register-copy span.copy{background-color:#E8F0F7;border:1px solid #cdd6dd;-moz-border-radius:5px;-webkit-border-radius:5px;-webkit-border-radius:5px;padding:5px}.form-login-register{font-size:14px}.form-login-register input{font-size:16px}.form-login-register .form-field{margin-bottom:10px}.form-login-register .form-text-label{color:#333;display:block;margin-bottom:3px;-moz-opacity:.8;opacity:.80;filter:alpha(opacity=80)}.login-register-toggle{display:block;margin-top:20px}.login-register-toggle span{border-width:0 0 1px 0;border-style:dotted;cursor:pointer;color:#333}.overlay{display:block;position:absolute;top:0;left:0;width:100%;height:100%;z-index:5000;background-color:#000;-moz-opacity:.8;opacity:.80;filter:alpha(opacity=80)}.overlay[id]{position:fixed}.lightbox{display:block;position:fixed;background-color:#fff;color:#333;z-index:9999;padding:10px;-moz-border-radius:5px;-webkit-border-radius:5px;-webkit-border-radius:5px}.lightbox a{color:#333}.lightbox .lightbox-status{margin-bottom:10px;padding:4px}.lightbox .lightbox-status .lightbox-status-text{vertical-align:bottom}.lightbox .lightbox-status .lightbox-status-text strong{vertical-align:bottom}.lightbox .lightbox-status .lightbox-avatar{width:24px;height:24px;margin-right:5px;vertical-align:middle}.lightbox span.dsq-badge{font-size:10px;margin-right:10px}span.dsq-badge{font-family:Optima,Lucida Grande,Lucida Sans,Helvetica,Arial,sans-serif;padding:2px 4px;-moz-border-radius:0 5px 0 5px;-webkit-border-top-right-radius:5px;-webkit-border-bottom-left-radius:5px;vertical-align:middle}span.dsq-badge.dsq-badge-verified{background-color:#92C72A;border:1px solid #6ca300;color:#fff}span.dsq-badge.dsq-badge-registered{background-color:#fffe98;border:1px solid #eae800;color:#000}span.badge-facebook,span.badge-twitter{padding:2px;color:#fff}span.badge-facebook{background-color:#46639d}span.badge-twitter{background-color:#31ceff}.dsq-popup .dsq-profile-services span.dsq-profile-badge.dsq-badge-guest{background-color:#ddd;border:1px solid #ccc}.lightbox .lightbox-form,.lightbox .lightbox-learnmore{margin:10px;padding:10px;background-color:#E8F0F7;border:1px solid #cdd6dd;-moz-border-radius:5px;-webkit-border-radius:5px;-webkit-border-radius:5px}.lightbox .lightbox-copy{margin-bottom:10px;padding-bottom:5px;border-bottom:1px solid #CDD6DD}.lightbox .lightbox-copy a.why{cursor:help;white-space:nowrap;text-decoration:none;border-bottom-width:1px;border-bottom-style:dotted}.lightbox .lightbox-learnmore ul{padding:0 15px}.lightbox .lightbox-learnmore ul li{list-style:none inside url('../../images/tick.png');margin:5px 0}.lightbox .lightbox-fields{width:200px;margin:0 auto}.lightbox .lightbox-field input.text{font-size:110%;padding:2px;width:100%}.lightbox .lightbox-field label.text{margin:0 0 3px 0;display:block;font-size:95%;-moz-opacity:.8;opacity:.80;filter:alpha(opacity=80)}.lightbox .error{color:#c03000;font-weight:bold}.lightbox .ok{color:#92C72A;font-weight:bold}.lightbox .lightbox-field{margin-bottom:8px}.lightbox a.lightbox-email-block{display:block;-moz-opacity:.8;opacity:.80;filter:alpha(opacity=80);font-size:90%;text-align:right;color:inherit;text-decoration:none;position:relative}.lightbox .lightbox-email-block .lightbox-email-change{font-style:italic;font-weight:bold;display:none}.lightbox a.lightbox-email-block:hover .lightbox-email-change{background-color:#E8F0F7;display:inline;position:absolute;top:0;left:0}.lightbox .lightbox-email-field{font-size:90%}.lightbox .lightbox-submit{text-align:center}.lightbox .lightbox-submit input.button{font-size:100%}.lightbox .lightbox-footer{text-align:center;-moz-opacity:.8;opacity:.80;filter:alpha(opacity=80)}#choose-subscription{-moz-opacity:.8;opacity:.80;filter:alpha(opacity=80);border:0;margin:10px 0 0 0;padding-left:5px;background:transparent url(../../images/small-tick.png) no-repeat 0 2px}#choose-subscription.no-subscribe{background:transparent url(../../images/small-off.png) no-repeat 0 2px}#choose-subscription:hover{-moz-opacity:1.0;opacity:1.0;filter:alpha(opacity=100)}button{position:relative;border:0;padding:0;cursor:pointer;overflow:visible}button::-moz-focus-inner{border:0}button span{position:relative;display:block;white-space:nowrap}@media screen and (-webkit-min-device-pixel-ratio:0){button span{margin-top:-1px}}button.button{padding:0 8px 0 0;font-size:13px;text-align:center;background:transparent url('../../images/v3/btn/button-large.gif') no-repeat right -104px}button.button span{padding:9px 0 0 8px;height:23px;background:transparent url('../../images/v3/btn/button-large.gif') no-repeat left top;color:#333;font-family:Arial,Helvetica,Calibri,sans-serif;font-weight:bold;text-shadow:0 1px 0 #fff}button.button img{vertical-align:middle;position:relative;top:-2px}button.button:hover{background-position:right -156px}button.button:hover span{background-position:0 -52px}button.button.small{padding:0 5px 0 0;font-size:11px;background:transparent url('../../images/v3/btn/button-small.gif') no-repeat right -84px}button.button.small span{float:none;padding:5px 0 0 6px;height:17px;width:auto;background:transparent url('../../images/v3/btn/button-small.gif') no-repeat left top;font-weight:normal}button.button.small:hover{background-position:right -126px}button.button.small:hover span{background-position:0 -42px}#remote-settings form div{margin-bottom:20px}#remote-settings label{display:block}#remote-settings ul{margin:0;padding:0;margin-bottom:20px}#remote-settings h3{font-size:14px;margin:0;margin-bottom:15px}#remote-settings li{list-style:none;margin:0;margin-bottom:3px}textarea{margin:0;padding:2px 0;font-size:13px;width:99%;height:120px}.form-info{margin-top:10px;width:190px}.form-block{position:relative}span.tooltip{position:absolute;display:block;margin:0 0 0 3px}span.tooltip .tt-arrow{color:#5b87a5;font-size:14px;vertical-align:middle}span.tooltip .tt-message{background-color:#5b87a5;color:#fff;margin:0 0 0 -3px;padding:5px;-moz-border-radius:3px;-webkit-border-radius:3px;vertical-align:middle}#form-block-username{display:none}#form-block-password{display:none}.dsq-post-avatar{width:24px;height:24px;margin-bottom:-6px;border:0}#dsq-post-retweet{margin:0 3px 0 5px;vertical-align:text-bottom;-webkit-vertical-align:baseline}@media screen and (-webkit-min-device-pixel-ratio:0){#dsq-post-retweet{vertical-align:baseline}}#dsq-label-retweet{font-size:90%;vertical-align:text-bottom}#dsq-label-retweet a{color:inherit}div#loader{text-align:right;padding:3px 1px}div#loader span{background-color:#f00;color:#fff;padding:2px 3px;-webkit-border-radius:2px;-moz-border-radius:3px;border-radius:3px}span.mention{color:inherit;opacity:.9;filter:alpha(opacity=90);background-image:url(../../images/themes/houdini/backgrounds-sprite.png);background-repeat:repeat-x;border-width:1px;border-style:solid;border-color:rgba(0,0,0,.15);border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;padding-top:0;padding-right:4px;padding-bottom:0;padding-left:4px;text-shadow:0 1px 0 rgba(255,255,255,.9);-webkit-box-shadow:0 1px 1px rgba(0,0,0,.1),inset 0 1px 0 rgba(255,255,255,.9);-moz-box-shadow:0 1px 1px rgba(0,0,0,.1),inset 0 1px 0 rgba(255,255,255,.9)}
11
- </style>
12
-
13
-
14
- <style type="text/css">
15
- *, html, body, form, textarea {
16
- outline: 0;
17
- margin: 0;
18
- padding: 0;
19
- border: 0;
20
- vertical-align: baseline;
21
- font-size: 100%;
22
- font: inherit;
23
- }
24
- body {
25
- background-color: transparent;
26
- }
27
- form {
28
- /* HACK to overcome padding */
29
- margin: -4px 0 0 -4px;
30
- }
31
- form input {
32
- opacity: 0;
33
- -moz-opacity: 0;
34
- filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);
35
- filter:alpha(opacity=0);
36
- margin-left: -190px;
37
- cursor: pointer;
38
- /* cursor pointer doesn't work */
39
- }
40
- iframe {
41
- display: none;
42
- }
43
- </style>
44
-
45
-
46
- <script src="lib.js"></script>
47
-
48
-
49
-
50
-
51
- <script>
52
- DISQUS.extend(DISQUS.host,{parseQuery:function(a){var a=(a||window.location.search||"").replace(/^\?/,""),b={};DISQUS.each(a.split("&"),function(c){c=c.split("=");b.hasOwnProperty(c[0])?b[c[0]].constructor.toString().indexOf("Array")==-1?b[c[0]]=[b[c[0]],c[1]]:b[c[0]].push(c[1]):b[c[0]]=c[1]});return b}});
53
- var equal=function(a,b){function c(b,c){for(var a in b)if(b.hasOwnProperty(a)&&c.hasOwnProperty(a)){if(b[a]!=c[a])switch(b[a].constructor){case Object:return equal(b[a],c[a]);case Function:if(b[a].toString()!=c[a].toString())return!1;break;default:return!1}}else return!1;return!0}return c(a,b)&&c(b,a)},MediaUploadCache=function(a,b,c){this.key=["disqus.media",a,b,c].join(".");this.store=DISQUS.storage;if(DISQUS.storage.disabled)this.store=function(){var b={};return{get:function(a){return b[a]},set:function(a,
54
- c){b[a]=c}}}()};MediaUploadCache.prototype.all=function(){return this.store.get(this.key)||[]};MediaUploadCache.prototype.set=function(a,b){return this.store.set(this.key,b)};MediaUploadCache.prototype.add=function(a){var b=this.all();b.push(a);return this.store.set(this.key,b)};MediaUploadCache.prototype.remove=function(a){for(var b=this.all(),c=[],d;d=b.shift();)equal(a,d)||c.push(d);this.set(this.key,c)};
55
- MediaUploadCache.prototype.has=function(a){return function(b,a){for(var d=a.length-1;d>=0;--d)if(equal(b,a[d]))return!0;return!1}(a,this.all())};MediaUploadCache.prototype.clear=function(){try{this.store.clear()}catch(a){this.store.set(this.key,null)}};
56
- DISQUS.extend(DISQUS.host,{setupMediaUploadBox:function(a){var b={};a.urls.upload&&document.getElementsByTagName("form")[0].setAttribute("action",a.urls.upload);var c=null;return c=DISQUS.net.rpc({local:a.urls.helper,swf:a.urls.swf,hash:!a.debug,onReady:function(){}},{local:{setupUpload:function(a,e,f){b.id=document.forms[0].id.value=a;b.cache=new MediaUploadCache(e,f,a);c.onUpload(b.cache.all())},media:function(a,c){switch(a){case "set":b.cache.has(c.media)||b.cache.add(c.media);break;case "remove":b.cache.remove(c.media);
57
- break;case "clear":b.cache.clear()}}},remote:{onUploadStart:{},onUpload:{}}})}});
58
- </script>
59
-
60
-
61
- </head>
62
- <body>
63
- <!-- upload input, basically a big clickable area -->
64
- <form enctype="multipart/form-data" target="iframe_async_upload" method="POST" action="http://howtonodeorg.disqus.com/thread/the_step_of_the_conductor_how_to_node/async_media_upload/">
65
- <!-- dynamic -->
66
- <input type="file" name="attachment" onchange="mediaUploadRpc.onUploadStart();this.parentNode.submit();">
67
- <input type="hidden" name="id" value="">
68
- </form>
69
- <!-- iframe for the asynchronously post -->
70
- <iframe name="iframe_async_upload" src="about:blank"></iframe>
71
-
72
- <script>
73
- var args = DISQUS.host.parseQuery(window.location.href.replace(/^.*#/, ''));
74
- var options = {
75
- debug: false,
76
- urls: {
77
- swf: "http://mediacdn.disqus.com/1325906494/xdm.swf",
78
- helper: 'http://mediacdn.disqus.com/1325906494/html/xdm.html',
79
- upload: "http://_FORUM_.disqus.com/thread/_THREAD_/async_media_upload/"
80
- }
81
- };
82
-
83
- options.urls.upload = options.urls.upload
84
- .replace(/_FORUM_/, args.f)
85
- .replace(/_THREAD_/, args.t);
86
-
87
- var mediaUploadRpc = DISQUS.host.setupMediaUploadBox(options);
88
- </script>
89
-
90
-
91
- </body></html>
@@ -1,40 +0,0 @@
1
- (function(a,b){function s(a){for(var b=1,c;c=arguments[b];b++)for(var d in c)a[d]=c[d];return a}function t(a){return Array.prototype.slice.call(a)}function v(a,b){for(var c=0,d;d=a[c];c++)if(b==d)return c;return-1}function w(){var a=t(arguments),b=[];for(var c=0,d=a.length;c<d;c++)a[c].length>0&&b.push(a[c].replace(/\/$/,""));return b.join("/")}function x(a,b,c){var d=b.split("/"),e=a;while(d.length>1){var f=d.shift();e=e[f]=e[f]||{}}e[d[0]]=c}function y(){}function z(a,b){this.id=this.path=a,this.force=!!b}function A(a,b){this.id=a,this.body=b,typeof b=="undefined"&&(this.path=this.resolvePath(a))}function B(a,b){this.deps=a,this.collectResults=b,this.deps.length==0&&this.complete()}function C(a,b){this.deps=a,this.collectResults=b}function D(){for(var a in d)if(d[a].readyState=="interactive")return l[d[a].id]}function E(a,b){var d;return!a&&c&&(d=k||D()),d?(delete l[d.scriptId],d.body=b,d.execute()):(j=d=new A(a,b),i[d.id]=d),d}function F(){var a=t(arguments),b,c;return typeof a[0]=="string"&&(b=a.shift()),c=a.shift(),E(b,c)}function G(a,b){var c=b.id||"",d=c.split("/");d.pop();var e=d.join("/");return a.replace(/^\./,e)}function H(a,b){function d(a){return A.exports[G(a,b)]}var c=[];for(var e=0,f=a.length;e<f;e++){if(a[e]=="require"){c.push(d);continue}if(a[e]=="exports"){b.exports=b.exports||{},c.push(b.exports);continue}c.push(d(a[e]))}return c}function I(){var a=t(arguments),b=[],c,d;return typeof a[0]=="string"&&(c=a.shift()),u(a[0])&&(b=a.shift()),d=a.shift(),E(c,function(a){function f(){var e=H(t(b),c),f;typeof d=="function"?f=d.apply(c,e):f=d,typeof f=="undefined"&&(f=c.exports),a(f)}var c=this,e=[];for(var g=0,h=b.length;g<h;g++){var i=b[g];v(["require","exports"],i)==-1&&e.push(G(i,c))}e.length>0?J.apply(this,e.concat(f)):f()})}function J(){var a=t(arguments),b,c;typeof a[a.length-1]=="function"&&(b=a.pop()),typeof a[a.length-1]=="boolean"&&(c=a.pop());var d=new B(K(a,c),c);return b&&d.then(b),d}function K(a,b){var c=[];for(var d=0,e;e=a[d];d++)typeof e=="string"&&(e=L(e)),u(e)&&(e=new C(K(e,b),b)),c.push(e);return c}function L(a){var b,c;for(var d=0,e;e=J.matchers[d];d++){var f=e[0],g=e[1];if(b=a.match(f))return g(a)}throw new Error(a+" was not recognised by loader")}function N(){return a.using=m,a.provide=n,a.define=o,a.loadrunner=p,M}function O(a){for(var b=0;b<J.bundles.length;b++)for(var c in J.bundles[b])if(c!=a&&v(J.bundles[b][c],a)>-1)return c}var c=a.attachEvent&&!a.opera,d=b.getElementsByTagName("script"),e=0,f,g=b.createElement("script"),h={},i={},j,k,l={},m=a.using,n=a.provide,o=a.define,p=a.loadrunner;for(var q=0,r;r=d[q];q++)if(r.src.match(/loadrunner\.js(\?|#|$)/)){f=r;break}var u=Array.isArray||function(a){return a.constructor==Array};y.prototype.then=function(b){var c=this;return this.started||(this.started=!0,this.start()),this.completed?b.apply(a,this.results):(this.callbacks=this.callbacks||[],this.callbacks.push(b)),this},y.prototype.start=function(){},y.prototype.complete=function(){if(!this.completed){this.results=t(arguments),this.completed=!0;if(this.callbacks)for(var b=0,c;c=this.callbacks[b];b++)c.apply(a,this.results)}},z.loaded=[],z.prototype=new y,z.prototype.start=function(){var a=this,b,c,d;return(d=i[this.id])?(d.then(function(){a.complete()}),this):((b=h[this.id])?b.then(function(){a.loaded()}):!this.force&&v(z.loaded,this.id)>-1?this.loaded():(c=O(this.id))?J(c,function(){a.loaded()}):this.load(),this)},z.prototype.load=function(){var b=this;h[this.id]=b;var c=g.cloneNode(!1);this.scriptId=c.id="LR"+ ++e,c.type="text/javascript",c.async=!0,c.onerror=function(){throw new Error(b.path+" not loaded")},c.onreadystatechange=c.onload=function(c){c=a.event||c;if(c.type=="load"||v(["loaded","complete"],this.readyState)>-1)this.onreadystatechange=null,b.loaded()},c.src=this.path,k=this,d[0].parentNode.insertBefore(c,d[0]),k=null,l[c.id]=this},z.prototype.loaded=function(){this.complete()},z.prototype.complete=function(){v(z.loaded,this.id)==-1&&z.loaded.push(this.id),delete h[this.id],y.prototype.complete.apply(this,arguments)},A.exports={},A.prototype=new z,A.prototype.resolvePath=function(a){return w(J.path,a+".js")},A.prototype.start=function(){var a,b,c=this,d;this.body?this.execute():(a=A.exports[this.id])?this.exp(a):(b=i[this.id])?b.then(function(a){c.exp(a)}):(bundle=O(this.id))?J(bundle,function(){c.start()}):(i[this.id]=this,this.load())},A.prototype.loaded=function(){var a,b,d=this;c?(b=A.exports[this.id])?this.exp(b):(a=i[this.id])&&a.then(function(a){d.exp(a)}):(a=j,j=null,a.id=a.id||this.id,a.then(function(a){d.exp(a)}))},A.prototype.complete=function(){delete i[this.id],z.prototype.complete.apply(this,arguments)},A.prototype.execute=function(){var a=this;typeof this.body=="object"?this.exp(this.body):typeof this.body=="function"&&this.body.apply(window,[function(b){a.exp(b)}])},A.prototype.exp=function(a){this.complete(this.exports=A.exports[this.id]=a||{})},B.prototype=new y,B.prototype.start=function(){function b(){var b=[];a.collectResults&&(b[0]={});for(var c=0,d;d=a.deps[c];c++){if(!d.completed)return;d.results.length>0&&(a.collectResults?d instanceof C?s(b[0],d.results[0]):x(b[0],d.id,d.results[0]):b=b.concat(d.results))}a.complete.apply(a,b)}var a=this;for(var c=0,d;d=this.deps[c];c++)d.then(b);return this},C.prototype=new y,C.prototype.start=function(){var a=this,b=0,c=[];return a.collectResults&&(c[0]={}),function d(){var e=a.deps[b++];e?e.then(function(b){e.results.length>0&&(a.collectResults?e instanceof C?s(c[0],e.results[0]):x(c[0],e.id,e.results[0]):c.push(e.results[0])),d()}):a.complete.apply(a,c)}(),this},I.amd={};var M=function(a){return a(J,F,M,define)};M.Script=z,M.Module=A,M.Collection=B,M.Sequence=C,M.Dependency=y,M.noConflict=N,a.loadrunner=M,a.using=J,a.provide=F,a.define=I,J.path="",J.matchers=[],J.matchers.add=function(a,b){this.unshift([a,b])},J.matchers.add(/(^script!|\.js$)/,function(a){var b=new z(a.replace(/^\$/,J.path.replace(/\/$/,"")+"/").replace(/^script!/,""),!1);return b.id=a,b}),J.matchers.add(/^[a-zA-Z0-9_\-\/]+$/,function(a){return new A(a)}),J.bundles=[],f&&(J.path=f.getAttribute("data-path")||f.src.split(/loadrunner\.js/)[0]||"",(main=f.getAttribute("data-main"))&&J.apply(a,main.split(/\s*,\s*/)).then(function(){}))})(this,document);window.__twttrlr = loadrunner.noConflict();__twttrlr(function(using, provide, loadrunner, define) {provide("$xd/json2.js", function(exports) {window.JSON||(window.JSON={}),function(){function f(a){return a<10?"0"+a:a}function quote(a){return escapable.lastIndex=0,escapable.test(a)?'"'+a.replace(escapable,function(a){var b=meta[a];return typeof b=="string"?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}function str(a,b){var c,d,e,f,g=gap,h,i=b[a];i&&typeof i=="object"&&typeof i.toJSON=="function"&&(i=i.toJSON(a)),typeof rep=="function"&&(i=rep.call(b,a,i));switch(typeof i){case"string":return quote(i);case"number":return isFinite(i)?String(i):"null";case"boolean":case"null":return String(i);case"object":if(!i)return"null";gap+=indent,h=[];if(Object.prototype.toString.apply(i)==="[object Array]"){f=i.length;for(c=0;c<f;c+=1)h[c]=str(c,i)||"null";return e=h.length===0?"[]":gap?"[\n"+gap+h.join(",\n"+gap)+"\n"+g+"]":"["+h.join(",")+"]",gap=g,e}if(rep&&typeof rep=="object"){f=rep.length;for(c=0;c<f;c+=1)d=rep[c],typeof d=="string"&&(e=str(d,i),e&&h.push(quote(d)+(gap?": ":":")+e))}else for(d in i)Object.hasOwnProperty.call(i,d)&&(e=str(d,i),e&&h.push(quote(d)+(gap?": ":":")+e));return e=h.length===0?"{}":gap?"{\n"+gap+h.join(",\n"+gap)+"\n"+g+"}":"{"+h.join(",")+"}",gap=g,e}}typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(a){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(a){return this.valueOf()});var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;typeof JSON.stringify!="function"&&(JSON.stringify=function(a,b,c){var d;gap="",indent="";if(typeof c=="number")for(d=0;d<c;d+=1)indent+=" ";else typeof c=="string"&&(indent=c);rep=b;if(!b||typeof b=="function"||typeof b=="object"&&typeof b.length=="number")return str("",{"":a});throw new Error("JSON.stringify")}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){function walk(a,b){var c,d,e=a[b];if(e&&typeof e=="object")for(c in e)Object.hasOwnProperty.call(e,c)&&(d=walk(e,c),d!==undefined?e[c]=d:delete e[c]);return reviver.call(a,b,e)}var j;cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),typeof reviver=="function"?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}();exports();loadrunner.Script.loaded.push("$xd/json2.js")});
2
- provide("util/util",function(a){function b(a){for(var b=1,c;c=arguments[b];b++)for(var d in c)a[d]=c[d];return a}function c(a){return b([],a)}function d(a){for(var b in a)a.hasOwnProperty(b)&&!a[b]&&a[b]!==!1&&a[b]!==0&&delete a[b]}function e(a,b){for(var c=0,d;d=a[c];c++)if(b==d)return c;return-1}function f(a,b){if(!a)return null;var c=[];for(var d=0,e=a.length;d<e;d++)b(a[d])&&c.push(a[d]);return c}a({aug:b,array:c,indexOf:e,filter:f,compact:d})});
3
- provide("util/events",function(a){using("util/util",function(b){function d(){this.completed=!1,this.callbacks=[]}var c={bind:function(a,b){return this._handlers=this._handlers||{},this._handlers[a]=this._handlers[a]||[],this._handlers[a].push(b)},unbind:function(a,c){if(!this._handlers[a])return;if(c){var d=b.indexOf(this._handlers[a],c);d>=0&&this._handlers[a].splice(d,1)}else this._handlers[a]=[]},trigger:function(a,b){var c=this._handlers&&this._handlers[a];b.type=a;if(c)for(var d=0,e;e=c[d];d++)e.call(this,b)}};d.prototype.addCallback=function(a){this.completed?a.apply(this,this.results):this.callbacks.push(a)},d.prototype.complete=function(){this.results=makeArray(arguments),this.completed=!0;for(var a=0,b;b=this.callbacks[a];a++)b.apply(this,this.results)},a({Emitter:c,Promise:d})})});
4
- provide("xd/jsonrpc",function(a){using("util/util","util/events",function(b,c){function d(a){this.con=a}function e(){this.id=e.id++}function f(){a(function(a){return new d(a)})}b.aug(d.prototype,{expose:function(a){this.con.bind("message",this._handleRequest(a))},call:function(a){var b,c=this;b||(b={},this.con.bind("message",function(a){var c;try{a=JSON.parse(a)}catch(d){return}typeof a.id=="number"&&(c=b[a.id])&&(a.error?c.trigger("error",a):c.trigger("success",a),delete b[a.id])}));var d=new e;return b[d.id]=d,d.send(this.con,a,Array.prototype.slice.call(arguments,1))},_handleRequest:function(a){var b=this;return function c(c){var d,e;try{c=JSON&&JSON.parse?JSON.parse(c):JSON&&JSON.decode?JSON.decode(c):(new Function("return "+c))()}catch(f){return}typeof c.id=="number"&&typeof a[c.method]=="function"&&(e=b._responseCallbacks(c.id),d=a[c.method].apply(a,c.params.concat(e)),typeof d!="undefined"&&e[0](d))}},_responseCallbacks:function(a){var b=this.con;return[function c(c){b.send(JSON.stringify({id:a,result:c}))},function d(d){b.send(JSON.stringify({id:a,error:d}))}]}}),e.id=0,b.aug(e.prototype,c.Emitter,{send:function(a,b,c){return a.send(JSON.stringify({id:this.id,method:b,params:c})),this},success:function(a){return this.bind("success",a),this},error:function(a){return this.bind("error",a),this}}),typeof JSON=="undefined"?using("$xd/json2.js",function(){f()}):f()})});
5
- provide("xd/flash",function(a){function b(a,b){var c=b||Math.floor(Math.random()*100),d=['<object id="xdflashshim'+c+'" name="xdflashshim'+c+'"','type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"','width="1" height="1" style="position:absolute;left:-9999px;top:-9999px;">','<param name="movie" value="'+a+"&debug="+window.__XDDEBUG__+'"/>','<param name="wmode" value="window"/>','<param name="allowscriptaccess" value="always"/>',"</object>"].join(" ");return d}a({object:b})});
6
- provide("xd/detection",function(a){function b(){try{return!!navigator.plugins["Shockwave Flash"]||!!(new ActiveXObject("ShockwaveFlash.ShockwaveFlash"))}catch(a){return!1}}a({getFlashEnabled:b,hasPostMessage:!!window.postMessage,isIE:!!navigator.userAgent.match("MSIE")})});
7
- provide("xd/base",function(a){using("util/util","util/events",function(b,c){function d(){}b.aug(d.prototype,c.Emitter,{transportMethod:"",init:function(){},send:function(a){var b;this._ready?this._performSend(a):b=this.bind("ready",function(){this.unbind("ready",b),this._performSend(a)})},ready:function(){this.trigger("ready",this),this._ready=!0},isReady:function(){return!!this._ready},receive:function(a){this.trigger("message",a)}}),a({Connection:d})})});
8
- provide("xd/parent",function(a){using("xd/base","util/util","xd/detection",function(b,c,d){function h(a){var b=[];for(var c in a)b.push(c+"="+a[c]);return b.join(",")}function i(){}var e="__ready__",f=0,g;i.prototype=new b.Connection,c.aug(i.prototype,{_createChild:function(){this.options.window?this._createWindow():this._createIframe()},_createIframe:function(){var a={allowTransparency:!0,frameBorder:"0",scrolling:"no",tabIndex:"0",name:this._name()},b,e,f,h=c.aug(c.aug({},a),this.options.iframe);window.postMessage?(g||(g=document.createElement("iframe")),b=g.cloneNode(!1)):b=document.createElement('<iframe name="'+h.name+'">'),b.id=h.name;for(var i in h)i!="style"&&b.setAttribute(i,h[i]);var j=b.getAttribute("style");j&&typeof j.cssText!="undefined"?j.cssText=h.style:b.style.cssText=h.style;var k=this,l=function(){k.child=b.contentWindow,k._ready||k.init()};if(!b.addEventListener){var m=!1;b.attachEvent("onload",function(){if(m)return;m=!0,l()})}else b.addEventListener("load",l,!1);b.src=this._source(),(e=this.options.appendTo)?e.appendChild(b):(f=this.options.replace)?(e=f.parentNode,e&&e.replaceChild(b,f)):document.body.insertBefore(b,document.body.firstChild),d.isIE&&this.transportMethod&&this.transportMethod==="Flash"&&(b.src=b.src)},_createWindow:function(){var a={width:550,height:450,personalbar:"0",toolbar:"0",scrollbars:"1",resizable:"1"},b,d,e,f=c.aug(c.aug({},a),this.options.window),g=screen.width,i=screen.height;f.left=f.left||Math.round(g/2-f.width/2),f.top=f.top||Math.round(i/2-f.height/2),i<f.height&&(f.top=0,f.height=i);var j=this._name();b=window.open(this._source(),j,h(f)),b&&b.focus(),this.child=b,this.init()},_source:function(){return this.options.src},_name:function(){var a="_xd_"+f++;return window.parent&&window.parent!=window&&window.name&&(a=window.name+a),a}});var j=function(a){this.transportMethod="PostMessage",this.options=a,this._createChild()};j.prototype=new i,c.aug(j.prototype,{init:function(){function b(b){b.source===a.child&&(!a._ready&&b.data===e?a.ready():a.receive(b.data))}var a=this;window.addEventListener?window.addEventListener("message",b,!1):window.attachEvent("onmessage",b)},_performSend:function(a){this.child.postMessage(a,this.options.src)}});var k=function(a){this.transportMethod="Flash",this.options=a,this.token=Math.random().toString(16).substring(2),this._setup()};k.prototype=new i,c.aug(k.prototype,{_setup:function(){var a=this;using("xd/flash",function(b){window["__xdcb"+a.token]={receive:function(b){!a._ready&&b===e?a.ready():a.receive(b)},loaded:function(){}};var c=document.createElement("div");c.innerHTML=b.object("https://tfw-current.s3.amazonaws.com/xd/ft.swf?&token="+a.token+"&parent=true&callback=__xdcb"+a.token+"&xdomain="+a._host(),a.token),document.body.insertBefore(c,document.body.firstChild),a.proxy=c.firstChild,a._createChild()})},init:function(){},_performSend:function(a){this.proxy.send(a)},_host:function(){return this.options.src.replace(/https?:\/\//,"").split(/(:|\/)/)[0]},_source:function(){return this.options.src+(this.options.src.match(/\?/)?"&":"?")+"xd_token="+escape(this.token)}});var l=function(a){this.transportMethod="Fallback",this.options=a,this._createChild()};l.prototype=new i,c.aug(l.prototype,{init:function(){},_performSend:function(a){}}),a({connect:function(a){var b;return d.hasPostMessage?d.isIE&&a.window?d.getFlashEnabled()&&(b=new k(a)):b=new j(a):d.isIE&&d.getFlashEnabled()&&(b=new k(a)),b||(b=new l(a)),b}})})});
9
- provide("i18n/languages",function(a){a(["it","no","de","ja","fr","zh-cn","hi","ru","es","sv","fi","pt","ko","zh-tw","id","msa","pl","da","nl","tr","fil"])});
10
- provide("util/iframe",function(a){a(function(a){var b=document.createElement("div"),c;b.innerHTML="<iframe allowtransparency='true' frameborder='0' scrolling='no'></iframe>",c=b.firstChild,c.src=a.url,c.className=a.className||"";if(a.css)for(var d in a.css)c.style[d]=a.css[d];if(a.attributes)for(var e in a.attributes)c.setAttribute(e,a.attributes[e]);return a.replace?a.replace.parentNode.replaceChild(c,a.replace):document.body.insertBefore(c,document.body.firstChild),c})});
11
- provide("util/querystring",function(a){function b(a){return encodeURIComponent(a).replace(/\+/g,"%2B")}function c(a){return decodeURIComponent(a)}function d(a){var c=[];for(var d in a)a[d]!==null&&typeof a[d]!="undefined"&&c.push(b(d)+"="+b(a[d]));return c.sort().join("&")}function e(a){var b={},d,e,f,g;if(a){d=a.split("&");for(g=0;f=d[g];g++)e=f.split("="),e.length==2&&(b[c(e[0])]=c(e[1]))}return b}function f(a,b){var c=d(b);return c.length>0?a.indexOf("?")>=0?a+"&"+d(b):a+"?"+d(b):a}a({url:f,decode:e,encode:d,encodePart:b,decodePart:c})});
12
- provide("util/nodeselect",function(a){var b=document,c="querySelectorAll"in b?function(a,c){return b.querySelectorAll(a+"."+c)}:"getElementsByClassName"in b?function(a,c){var d=b.getElementsByClassName(c),e,f=[];for(i=0;e=d[i];i++)e.tagName.toLowerCase()==a&&f.push(e);return f}:function(a,c){var d=b.getElementsByTagName(a),e,f=new RegExp("(?:^|\\s+)"+c+"(?:\\s+|$)"),g=[];for(i=0;e=d[i];i++)f.test(e.className)&&g.push(e);return g};a(c)});
13
- provide("$vendor/domready/ready.js", function(exports) {!function(a){function k(){b=1;for(var a=0,d=c.length;a<d;a++)c[a]()}var b=0,c=[],d,e,f=!1,g=a.createElement("a"),h="DOMContentLoaded",i="addEventListener",j="onreadystatechange";/^loade|c/.test(a.readyState)&&(b=1),a[i]&&a[i](h,e=function(){a.removeEventListener(h,e,f),k()},f),g.doScroll&&a.attachEvent(j,d=function(){/^c/.test(a.readyState)&&(a.detachEvent(j,d),k())});var l=g.doScroll?function(a){self!=top?b?a():c.push(a):!function(){try{g.doScroll("left")}catch(b){return setTimeout(function(){l(a)},50)}a()}()}:function(a){b?a():c.push(a)};typeof module!="undefined"&&module.exports?module.exports={domReady:l}:window.domReady=l}(document);exports();loadrunner.Script.loaded.push("$vendor/domready/ready.js")});
14
- provide("util/domready",function(a){using("$vendor/domready/ready.js",function(){a(domReady)})});
15
- provide("tfw/widget/base",function(a){using("util/util","util/domready","util/nodeselect","util/querystring","util/iframe","i18n/languages",function(b,c,d,e,f,g){function n(){return window.location.href&&!!window.location.href.match("twitter-test-autosize")}function o(a){var b;if(!a)return;return(b=a.lang)?b:o(a.parentNode)}function p(){var a=j.widgets,b,c;for(var e in a){e.match(/\./)?b=d.apply(this,e.split(".")):b=document.getElementsByTagName(e);for(var f=0,g;g=b[f];f++){if(g.getAttribute("data-rendering"))continue;g.setAttribute("data-rendering","true"),c=new a[e](g),k.list.push(c),k.byId[c.id]=c,c.render(j)}}}function q(a){j=a}function r(){p()}function s(a){return a&&k.byId[a]?k.byId[a].element:null}var h=0,i,j,k={list:[],byId:{}},l=2,m=function(){};b.aug(m.prototype,{setLanguage:function(a){var c;a||(a=this.params().lang||this.originElement.getAttribute("data-lang")||o(this.originElement)),a=a&&a.toLowerCase();if(!a)return this.lang="en";if(~b.indexOf(g,a))return this.lang=a;c=a.replace(/[-_].*/,"");if(~b.indexOf(g,c))return this.lang=c;this.lang="en"},_:function(a,b){var c=this.lang;b=b||{};if(this.langs){if(!c||!this.langs.hasOwnProperty(c))c="en";a=this.langs[c][a]||a}return this.ringo(a,b)},ringo:function(a,b){return a.replace(/\{\{([\w_]+)\}\}/g,function(a,c){return b[c]!==undefined?b[c]:a})},add:function(a){k.list.push(this),k.byId[this.id]=a},create:function(a,b,c,d){return this.id=this.generateId(),f({url:a,css:{width:c[0]+(typeof c[0]!="string"?"px":""),height:c[1]+(typeof c[1]!="string"?"px":"")},className:b,id:this.id,attributes:d,replace:this.originElement})},params:function(){var a=this.originElement.href&&this.originElement.href.split("?")[1],b=a?e.decode(a):{};return b.enableNewSizing=n(),(this.params=function(){return b})()},generateId:function(){return this.originElement.id||"twitter-widget-"+h++},wjsVersion:function(){return l}}),a({Base:m,init:q,embed:r,find:s,TWITTER_PROFILE_URL:/^https?\:\/\/(?:www\.)?twitter\.com\/(?:#!?\/)?([\w_]{1,20})\/?$/})})});
16
- provide("util/uri",function(a){using("util/querystring","util/util",function(b,c){function d(a){var b;return a.match(/^https?:\/\//)?a:(b=location.host,location.port.length>0&&(b+=":"+location.port),[location.protocol,"//",b,a].join(""))}function e(){var a=document.getElementsByTagName("link");for(var b=0,c;c=a[b];b++)if(c.getAttribute("rel")=="canonical")return d(c.getAttribute("href"));return null}function f(){var a=document.getElementsByTagName("a"),b=document.getElementsByTagName("link"),d=/\bme\b/,e=/^https?\:\/\/(www\.)?twitter.com\/([a-zA-Z0-9_]+)$/,f=c.array(a).concat(c.array(b)),g,h,i;for(var j=0,k;k=f[j];j++){h=k.getAttribute("rel"),i=k.getAttribute("href");if(h&&i&&h.match(d)&&(g=i.match(e)))return g[2]}}a({absolutize:d,getCanonicalURL:e,getScreenNameFromPage:f})})});
17
- provide("tfw/widget/intent",function(a){using("util/util","tfw/widget/base","util/querystring","util/uri",function(b,c,d,e){function m(a){var b=Math.round(k/2-h/2),c=0;j>i&&(c=Math.round(j/2-i/2)),window.open(a,"intent",g+",width="+h+",height="+i+",left="+b+",top="+c)}function n(a,b){using("xd/parent","xd/jsonrpc",function(c,d){var e=c.connect({window:{width:550,height:450},src:a});d(e).expose({trigger:function(a,c){twttr.events.trigger(a,{target:b,region:"intent",type:a,data:c})}})})}function o(a){var b="original_referer="+location.href;return[a,b].join(a.indexOf("?")==-1?"?":"&")}function q(a){a=a||window.event;var b=a.target||a.srcElement,c,d;while(b&&b.nodeName.toLowerCase()!=="a")b=b.parentNode;if(b&&b.nodeName.toLowerCase()==="a"&&b.href){c=b.href.match(f);if(c){var e=o(b.href);e=e.replace(/^http[:]/,"https:"),e=e.replace(/^\/\//,"https://"),twttr.events.hub?(d=new p(l.generateId(),b),l.add(d),n(e,b),twttr.events.trigger("click",{target:b,region:"intent",type:"click",data:{}})):m(e),a.returnValue=!1,a.preventDefault&&a.preventDefault()}}}var f=/twitter\.com(\:\d{2,4})?\/intent\/(\w+)/,g="scrollbars=yes,resizable=yes,toolbar=no,location=yes",h=550,i=520,j=screen.height,k=screen.width,l,p=function(a,b){this.id=a,this.element=this.originElement=b},r=function(a){this.originElement=[],this.element=a};r.prototype=new c.Base,b.aug(r.prototype,{render:function(a){l=this,window.__twitterIntentHandler||(document.addEventListener?document.addEventListener("click",q,!1):document.attachEvent&&document.attachEvent("onclick",q),window.__twitterIntentHandler=!0)}}),a({Listener:r})})});
18
- provide("lib/twt",function(a){a(function(a,b){var c=a!="en"?a+".":"";using("$vendor/twt/dist/twt."+c+"min.js",function(){twt.settings.lang=a,b(twt)})})});
19
- provide("util/params",function(a){using("util/querystring",function(b){var c=function(a){var c=a.search.substr(1);return b.decode(c)},d=function(a){var c=a.href,d=c.indexOf("#"),e=d<0?"":c.substring(d+1);return b.decode(e)},e=function(a){var b={},e=c(a),f=d(a);for(var g in e)e.hasOwnProperty(g)&&(b[g]=e[g]);for(var g in f)f.hasOwnProperty(g)&&(b[g]=f[g]);return b};a({combined:e,fromQuery:c,fromFragment:d})})});
20
- provide("util/widgetrpc",function(a){using("util/params",function(b){function i(){if(!j())return;var a=0,b=parent.frames.length,e;if(d)return d;try{d=parent.frames[c];if(d)return d}catch(f){}for(;a<b;a++)try{e=parent.frames[a];if(e&&typeof e.openIntent=="function")return d=e}catch(f){}}function j(){var a=36e5;if(f!==undefined)return f;f=!1;var c=b.combined(document.location)._;return c?/^\d+$/.test(c)&&(f=+(new Date)-parseInt(c)<a):f=!1,f}function k(a,b,c){l(function(d){d.trigger("_resize",{width:b,height:c},a)})}function l(){var a={};(typeof arguments[0]).toLowerCase()==="function"?a.success=arguments[0]:a=arguments[0];var b=a.success||function(){},c=a.timeout||function(){},d=a.nohub||function(){},f=a.attempt!==undefined?a.attempt:h;if(!j()||e)return d(),!1;var k=i();f--;try{if(k&&k.trigger){b(k);return}}catch(m){}if(f<=0){e=!0,c();return}window.setTimeout(function(){l({success:b,timeout:c,nohub:d,attempt:f})},g)}var c="twttrHubFrame",d,e,f,g=100,h=20;a({resize:k,withHub:l,isDynamicWidget:j})})});
21
- provide("dom/cookie",function(a){using("util/util",function(b){a(function(a,c,d){var e=b.aug({},d);if(arguments.length>1&&String(c)!=="[object Object]"){if(c===null||c===undefined)e.expires=-1;if(typeof e.expires=="number"){var f=e.expires,g=new Date((new Date).getTime()+f*60*1e3);e.expires=g}return c=String(c),document.cookie=[encodeURIComponent(a),"=",e.raw?c:encodeURIComponent(c),e.expires?"; expires="+e.expires.toUTCString():"",e.path?"; path="+e.path:"",e.domain?"; domain="+e.domain:"",e.secure?"; secure":""].join("")}e=c||{};var h,i=e.raw?function(a){return a}:decodeURIComponent;return(h=(new RegExp("(?:^|; )"+encodeURIComponent(a)+"=([^;]*)")).exec(document.cookie))?i(h[1]):null})})});
22
- provide("util/donottrack",function(a){using("dom/cookie",function(b){a(function(){return b("dnt")?!0:document.navigator?document.navigator["doNotTrack"]==1:navigator?navigator["doNotTrack"]==1||navigator["msDoNotTrack"]==1:!1})})});
23
- provide("tfw/widget/guest_cookie",function(a){using("dom/cookie","util/donottrack",function(b,c){function f(){if(c())b(d)&&b(d,null,{domain:".twitter.com",path:"/"});else if(!b(d)){var a="v1:",f=(+(new Date)).toString()+Math.round(Math.random()*999999999);b(d,a+f,{domain:".twitter.com",path:"/",expires:e})}}var d="pid",e=1051897;a({set:f,guest_id_cookie:d,default_expire:e})})});
24
- provide("tfw/widget/tracking",function(a){using("dom/cookie","util/donottrack","tfw/widget/guest_cookie","util/widgetrpc",function(b,c,d,e){function i(a,b,c){var d=f+b;if(!a)return;return a[d]=c,a}function j(a,f,j,k,l){k||(k=!1),l||(l=!1),j=j||"tweetbutton",j=h[j]||h.tweetbutton;var m=a.ownerDocument.createElement("img"),n=[];k||(i(f,"referrer",document.referrer.toString()),i(f,"widget",+e.isDynamicWidget()),!l&&!c()?(i(f,"li",+!!b("twid")),i(f,d.guest_id_cookie,b(d.guest_id_cookie)||"")):i(f,"dnt","1"));for(var o in f)if(f.hasOwnProperty(o)){var p=encodeURIComponent(o),q=encodeURIComponent(f[o]);q=q.replace(/'/g,"%27"),n.push(p+"="+q)}m.src=g+j+"?"+n.join("&"),m.alt="",m.style.position="absolute",m.style.height="1px",m.style.width="1px",m.style.top="-9999px",m.style.left="-9999px",a.appendChild(m)}var f="twttr_",g="//platform.twitter.com/widgets/images/",h={tweetbutton:"t.gif",followbutton:"f.gif",tweetembed:"e.gif"};a({addPixel:j,addVar:i})})});
25
- provide("$vendor/qwery/qwery.js", function(exports) {/*!
26
- * qwery.js - copyright @dedfat
27
- * https://github.com/ded/qwery
28
- * Follow our software http://twitter.com/dedfat
29
- * MIT License
30
- */!function(a,b){function G(a){k=[];for(d=0,o=a.length;d<o;d++)k[d]=a[d];return k}function M(a){return a.match(F)}function N(a,b,c,e,f,g,h){var j,k,l;if(b&&this.tagName.toLowerCase()!==b)return!1;if(c&&(j=c.match(v))&&j[1]!==this.id)return!1;if(c&&(q=c.match(w)))for(d=q.length;d--;){k=q[d].slice(1);if(!(I.g(k)||I.s(k,new RegExp("(^|\\s+)"+k+"(\\s+|$)"))).test(this.className))return!1}if(e&&!h){i=this.attributes;for(l in i)if(Object.prototype.hasOwnProperty.call(i,l)&&(i[l].name||l)==f)return this}return e&&!Q(g,this.getAttribute(f)||"",h)?!1:this}function O(a){var c=[],d=a.pop(),e=M(d),f=e[1]||"*",g,i,j,k=a.length&&(h=a[0].match(x))?b.getElementById(h[1]):b;if(!k)return c;j=k.getElementsByTagName(f);for(g=0,i=j.length;g<i;g++)m=j[g],(r=N.apply(m,e))&&c.push(r);return c}function P(a){return J.g(a)||J.s(a,a.replace(/([.*+?\^=!:${}()|\[\]\/\\])/g,"\\$1"))}function Q(a,b,c){switch(a){case"=":return b==c;case"^=":return b.match(K.g("^="+c)||K.s("^="+c,new RegExp("^"+P(c))));case"$=":return b.match(K.g("$="+c)||K.s("$="+c,new RegExp(P(c)+"$")));case"*=":return b.match(K.g(c)||K.s(c,new RegExp(P(c))));case"~=":return b.match(K.g("~="+c)||K.s("~="+c,new RegExp("(?:^|\\s+)"+P(c)+"(?:\\s+|$)")));case"|=":return b.match(K.g("|="+c)||K.s("|="+c,new RegExp("^"+P(c)+"(-|$)")))}return!1}function R(a){var b=[],c=[],d,g,h=L.g(a)||L.s(a,a.split(C));h=h.slice(0);if(!h.length)return b;b=O(h);if(!h.length)return b;for(e=0,g=b.length,f=0;e<g;e++){n=b[e],j=n;for(d=h.length;d--;)i:while(j!==B&&(j=j.parentNode))if(p=N.apply(j,M(h[d])))break i;p&&(c[f++]=n)}return c}function T(a,c,d){var e=typeof c=="string"?d(c)[0]:c||b;return U(a)?!c||U(e)&&S(a,e)?[a]:[]:a&&typeof a=="object"&&a.length&&isFinite(a.length)?G(a):(h=a.match(x))?(m=b.getElementById(h[1]))?[m]:[]:(h=a.match(z))?G(e.getElementsByTagName(h[1])):!1}function U(a){return a===window||a&&a.nodeType&&a.nodeType.toString().match(/[19]/)}function V(a,c){var d=typeof c=="string"?V(c)[0]:c||b;return d?(h=T(a,c,V))?h:b.getElementsByClassName&&(h=a.match(y))?G(d.getElementsByClassName(h[1])):G(d.querySelectorAll(a)):[]}function W(a){var b=[],c,d;e:for(c=0;c<a.length;c++){for(d=0;d<b.length;d++)if(b[d]==a[c])continue e;b[b.length]=a[c]}return b}var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v=/#([\w\-]+)/,w=/\.[\w\-]+/g,x=/^#([\w\-]+$)/,y=/^\.([\w\-]+)$/,z=/^([\w\-]+)$/,A=/^([\w]+)?\.([\w\-]+)$/,B=b.documentElement,C=/\s(?![\s\w\-\/\?\&\=\:\.\(\)\!,@#%<>\{\}\$\*\^'"]*\])/,D=/^([a-z0-9]+)?(?:([\.\#]+[\w\-\.#]+)?)/,E=/\[([\w\-]+)(?:([\|\^\$\*\~]?\=)['"]?([ \w\-\/\?\&\=\:\.\(\)\!,@#%<>\{\}\$\*\^]+)["']?)?\]/,F=new RegExp(D.source+"("+E.source+")?"),H=function(){this.c={}};H.prototype={g:function(a){return this.c[a]||undefined},s:function(a,b){return this.c[a]=b,b}};var I=new H,J=new H,K=new H,L=new H,S="compareDocumentPosition"in B?function(a,b){return(b.compareDocumentPosition(a)&16)==16}:"contains"in B?function(a,b){return b!==a&&b.contains(a)}:function(a,b){while(a=a.parentNode)if(a===b)return 1;return 0},X=function(){return b.querySelector&&b.querySelectorAll?V:function(a,c){var d=typeof c=="string"?X(c)[0]:c||b;if(!d)return[];var f,g,i=[],j=[],l;if(h=T(a,c,X))return h;if(h=a.match(A)){s=d.getElementsByTagName(h[1]||"*"),k=I.g(h[2])||I.s(h[2],new RegExp("(^|\\s+)"+h[2]+"(\\s+|$)"));for(f=0,g=s.length,e=0;f<g;f++)k.test(s[f].className)&&(i[e++]=s[f]);return i}for(f=0,s=a.split(","),g=s.length;f<g;f++)j[f]=R(s[f]);for(f=0,g=j.length;f<g&&(u=j[f]);f++){var m=u;if(d!==b){m=[];for(e=0,h=u.length;e<h&&(l=u[e]);e++)S(l,d)&&m.push(l)}i=i.concat(m)}return W(i)}}(),Y=a.qwery;X.noConflict=function(){return a.qwery=Y,this},a.qwery=X}(this,document);exports();loadrunner.Script.loaded.push("$vendor/qwery/qwery.js")});
31
- provide("lib/qwery",function(a){using("$vendor/qwery/qwery.js",function(){a(qwery)})});
32
- provide("util/qweryutil",function(a){using("lib/qwery",function(b){function c(a,c,d,e){var f=b(a,c);if(f.length){f=f[0];if(d)switch(d){case"textContent":return f.textContent||f.innerText||e||!1;case"innerHTML":return f.innerHTML;default:return f.getAttribute(d)}return f}return e||!1}a({qwery:b,qwprop:c})})});
33
- provide("util/tweetparser",function(a){using("util/qweryutil",function(b){function g(a){return a&&c.test(a)&&RegExp.$1}function h(a){if(!a||!a.nodeName||!/blockquote/i.test(a.nodeName))return;var c={},d=b.qwery("p",a).shift(),e=b.qwery("a",a).pop();return d&&(c.text=d.textContent||d.innerText||"",c.rendered_text=d.innerHTML||""),e&&(e.getAttribute("data-datetime")?c.created_at=e.getAttribute("data-datetime"):c.time=e.textContent||e.innerText),c.user=i(a),c.id=c.id_str=g(e.href),c.id_str&&c.text&&c.user&&c}function i(a){var c={},d=0,g=a.childNodes.length,h,i;for(;d<g;d++){h=a.childNodes[d];if(h.nodeType===3&&e.test(h.nodeValue)||h.nodeType===1&&/^[p]$/i.test(h.nodeName)&&e.test(h.innerText)){c.name=RegExp.$1.split(" ").slice(1).join(" "),c.screen_name=RegExp.$2;break}}if(c.screen_name)return c;i=b.qwery("a",a).pop();if(f.test(i.href))return c.name="",c.screen_name=RegExp.$2,c}var c=/\/(\d+)\/?$/,d=/^https?:\/\/(?:www\.)?twitter\.com\/(?:#!\/)?[\w_]+\/status(?:es)?\/(\d+)\/?/,e=/^\s*(.+)\s+\(@([\w_]{1,20})\)\s*$/,f=/^https?:\/\/(?:www\.)?twitter\.com\/(#!\/)?([\w_]{1,20})/;a({parseTweet:h,parseId:g,parseAuthor:i})})});
34
- provide("i18n/i18n",function(a){function b(){twttr.i18n_missing_interval||(twttr.i18n_missing_interval=window.setInterval(function(){twttr.i18n_missing&&twttr.i18n_missing.length>0&&($.ajax({type:"POST",data:$.param({authenticity_token:twttr.form_authenticity_token,location:window.location.href,"strings[]":twttr.i18n_missing}),url:"/translate/untranslated_javascript"}),twttr.i18n_missing=new Array)},1e4))}function c(a){twttr.i18n_missing||(twttr.i18n_missing=new Array),twttr.i18n_missing_reported||(twttr.i18n_missing_reported={}),twttr.i18n_missing_reported[a]||(twttr.i18n_missing.push(encodeURIComponent(a)),twttr.i18n_missing_reported[a]=!0)}function d(a,b){if(b)for(var c in b)a=a.replace(new RegExp("\\%\\{"+c+"\\}","gi"),b[c]);return a}window.setupTranslationCallback=b,a({_:function(a,b){if(twttr.i18n){var e=twttr.i18n[a];e?a=e:c(a)}return d(a,b)},setupTranslationCallback:b})});
35
- provide("tfw/data",function(a){using("util/querystring",function(b){window.twttr=window.twttr||{},window.twttr.tfw=window.twttr.tfw||{},window.twttr.tfw.callbacks=window.twttr.tfw.callbacks||{};var c="twttr.tfw.callbacks",d=twttr.tfw.callbacks,e="cb",f=0,g=!1,h=function(a,b){return a=={}.toString.call(b).match(/\s([a-zA-Z]+)/)[1].toLowerCase()},i=function(a){return function(b){b.error?a.error&&a.error(b):a.success&&a.success(b),a.complete&&a.complete(b),j(a)}},j=function(a){var b=a.script;b&&(b.onload=b.onreadystatechange=null,b.parentNode&&b.parentNode.removeChild(b),a.script=undefined,b=undefined),a.callbackName&&twttr.tfw.callbacks[a.callbackName]&&delete twttr.tfw.callbacks[a.callbackName]},k=function(a){var b={};return a.success&&h("function",a.success)&&(b.success=a.success),a.error&&h("function",a.error)&&(b.error=a.error),a.complete&&h("function",a.complete)&&(b.complete=a.complete),b},l=function(a,h){g&&(a=a.replace(/^\/\//,"https://"));var j=e+f,k=c+"."+j;d[j]=i(h);var l=document.createElement("script"),m={callback:k,suppress_response_codes:!0};l.src=b.url(a,m),l.async="async";var n=document.head||document.getElementsByTagName("head")[0]||document.documentElement;n.appendChild(l),h.script=l,h.callbackName=j,f++},m=function(a,b,c){var d=a.length,e=[],f={},g=0;return function(e){var h;h=c(e),f[h]=e;if(++g===d){var i=[],j=[],k=[];for(var l=0;l<d;l++){var e=f[a[l]];i.push(e),e.error?k.push(e):j.push(e)}b.error&&k.length>0&&b.error(k),b.success&&j.length>0&&b.success(j),b.complete&&b.complete(i)}}},n={};n.config=function(a){if(a.forceSSL===!0||a.forceSSL===!1)g=a.forceSSL},n.user=function(){var a="//api.twitter.com/1/users/lookup.json",c="//cdn.api.twitter.com/1/users/show.json";return function(){var d,e={};arguments.length===1?(d=arguments[0].screenName,e=k(arguments[0])):(d=arguments[0],e.success=arguments[1]);var f=h("array",d)?a:c;d=h("array",d)?d.join(","):d;var g={screen_name:d},i=b.url(f,g);l(i,e)}}(),n.status=function(){var a="//cdn.api.twitter.com/1/statuses/show.json";return function(){var c,d={};arguments.length===1?(c=arguments[0].id,d=k(arguments[0])):(c=arguments[0],d.success=arguments[1]);if(!h("array",c)){var e={id:c,include_entities:!0},f=b.url(a,e);l(f,d)}else{var g=m(c,d,function(a){var b;return a.error?b=a.request.split("id=")[1].split("&")[0]:b=a.id_str,b});for(var i=0;i<c.length;i++){var e={id:c[i],include_entities:!0},f=b.url(a,e);l(f,{success:g,error:g})}}}}(),n.tweet=n.status,n.count=function(){var a="//cdn.api.twitter.com/1/urls/count.json";return function(){var c="",d={};arguments.length===1?(c=arguments[0].url,d=k(arguments[0])):arguments.length===2&&(c=arguments[0],d.success=arguments[1]);var e={url:c},f=b.url(a,e);l(f,d)}}(),n.friendshipExists=function(){var a="//cdn.api.twitter.com/1/friendships/exists.json";return function(c){var d=arguments[0],e=k(arguments[0]),f={screen_name_a:c.screenNameA,screen_name_b:c.screenNameB},g=b.url(a,f);l(g,e)}}(),a(n)})});
36
- provide("util/insert",function(a){a(function(a,b){if(b){if(!b.parentNode)return b;b.parentNode.replaceChild(a,b),delete b}else document.body.insertBefore(a,document.body.firstChild);return a})});
37
- provide("tfw/widget/tweet",function(a){using("util/util","tfw/widget/base","util/querystring","util/uri",function(b,c,d,e){var f=document.title,g=encodeURI(location.href),h=function(a){this.originElement=a,this.id=this.generateId(),this.version=this.wjsVersion();var b=this.params(),c=b.count||a.getAttribute("data-count"),d=b.size||a.getAttribute("data-size"),h=e.getScreenNameFromPage();this.setLanguage(),~a.className.indexOf("twitter-hashtag-button")?this.type="hashtag":~a.className.indexOf("twitter-mention-button")&&(this.type="mention"),this.text=b.text||a.getAttribute("data-text"),this.align=b.align||a.getAttribute("data-align")||"",this.via=b.via||a.getAttribute("data-via"),this.related=b.related||a.getAttribute("data-related"),this.counturl=b.counturl||a.getAttribute("data-counturl"),this.searchlink=b.searchlink||a.getAttribute("data-searchlink"),this.placeid=b.placeid||a.getAttribute("data-placeid"),this.hashtags=b.hashtags||a.getAttribute("data-hashtags"),this.screen_name=b.screen_name||a.getAttribute("data-button-screen-name"),this.button_hashtag=b.button_hashtag||a.getAttribute("data-button-hashtag"),this.url=b.url||a.getAttribute("data-url"),this.size=d=="large"?"l":"m",this.dnt=b.dnt||a.getAttribute("data-dnt")||"",this.enableNewSizing=b.enableNewSizing||a.getAttribute("data-enable-new-sizing"),this.enableNewSizing=this.enableNewSizing||!this.langDimensions[this.lang]||this.size!="m"||!!this.type,this.type?(this.count="none",h&&(this.related=this.related?h+","+this.related:h)):(this.text=this.text||f,this.url=this.url||e.getCanonicalURL()||g,this.count=this.supportCount[c]?c:"horizontal",this.count=this.count=="vertical"&&this.size=="l"?"none":this.count,this.via=this.via||h)};h.prototype=new c.Base,b.aug(h.prototype,{supportCount:{vertical:1,horizontal:1,none:1},titles:{en:"Twitter Tweet Button"},langDimensions:{en:{vertical:55,horizontal:110,none:55},de:{vertical:67,horizontal:122,none:67},es:{vertical:64,horizontal:118,none:64},fr:{vertical:65,horizontal:118,none:65},id:{vertical:55,horizontal:110,none:55},it:{vertical:55,horizontal:110,none:55},ko:{vertical:55,horizontal:110,none:55},ja:{vertical:80,horizontal:130,none:80},nl:{vertical:55,horizontal:110,none:55},pt:{vertical:66,horizontal:120,none:66},ru:{vertical:68,horizontal:120,none:68},tr:{vertical:66,horizontal:120,none:66}},dimensions:{x:{m:{normal:85,horizontal:130},l:{normal:104,horizontal:162}},y:{m:{normal:20,vertical:62},l:{normal:28,vertical:28}}},parameters:function(){var a={text:this.text,url:this.url,via:this.via,related:this.related,count:this.count,lang:this.lang,counturl:this.counturl,searchlink:this.searchlink,placeid:this.placeid,original_referer:location.href,id:this.id,size:this.size,type:this.type,screen_name:this.screen_name,button_hashtag:this.button_hashtag,hashtags:this.hashtags,align:this.align,dnt:this.dnt,enableNewSizing:!!this.enableNewSizing,_:+(new Date),_version:this.version};return b.compact(a),d.encode(a)},render:function(a){var b=a.assetUrl()+"/widgets/tweet_button.1326407570.html#"+this.parameters(),c=this.enableNewSizing?this.dimensions.x[this.size]["horizontal"==this.count?"horizontal":"normal"]:this.langDimensions[this.lang][this.count],d=this.dimensions.y[this.size]["vertical"==this.count?"vertical":"normal"],e=this.titles.en,f=this;this.originElement.className+=this.count?" twitter-count-"+this.count:"",this.element=this.create(b,this.originElement.className,[this.enableNewSizing?1:c,d],{title:e}),window.setTimeout(function(){f.element.getAttribute("data-resized")||(f.element.style.width=c+(typeof c!="string"?"px":""))},15e3)}}),a({Embeddable:h})})});
38
- provide("tfw/widget/tweetembed",function(a){using("util/util","tfw/widget/base","tfw/widget/tweet","util/uri","util/insert","tfw/data","i18n/i18n","util/params","util/qweryutil","util/tweetparser","tfw/widget/tracking",function(b,c,d,e,f,g,h,i,j,k,l){function s(a){var b=document.createElement("link");b.rel="stylesheet",b.type="text/css",b.href=twttr.widgets.config.assetUrl()+"/"+a,document.getElementsByTagName("head")[0].appendChild(b)}function t(){if(o)return;s("embed/embed.css"),o=!0}function u(a,b){var c={};c.status_id=a.id_str,c.context=q,l.addVar(c,"variant",m),l.addVar(c,"referrer",document.location.href),l.addPixel(document.body,c,"tweetembed",!0),b&&a._wjs_reply&&(c.status_id=a._wjs_reply.id_str,c.context=r,l.addPixel(document.body,c,"tweetembed",!0))}var m="1.0",n=i.fromQuery(document.location),o,p=/^([0-9]+)( ?px)?$/,q="subject",r="thread",v=function(a){var c,d,e=a.getAttribute("width")||"";this.originElement=a,this.id=this.generateId(),c=this.params(),this.setLanguage(),this.related=c.related||a.getAttribute("data-related"),this.partner=c.partner||a.getAttribute("data-partner"),this.classNames=b.filter(a.className.split(" "),function(a){return a!="twitter-tweet"}),this.classNames.push(["twitter-tweet-rendered"]),this.styleAttr=[],this.styleAttr.push(a.getAttribute("style")||""),p.test(e)?this.width=RegExp.$1:a.className.match(/(?:\b|^)tw-align-[lr]/i)&&(this.width="350"),this.width&&this.styleAttr.push("width:"+this.width+"px!important"),this.showThread=!~b.indexOf(this.classNames,"tw-hide-thread"),this.showMedia=!~b.indexOf(this.classNames,"tw-hide-media"),this.data=k.parseTweet(this.originElement),this.inReplyTo=a.getAttribute("data-in-reply-to")||""};v.prototype=new c.Base,b.aug(v.prototype,{create:function(a,b){var c=this,d,e=!!a._wjs_stub_data;return!e&&u(a,c.showThread),using("lib/twt",function(g){g(c.lang,function(g){var h=document.createElement("div"),i=g.autoFormat(c.width||c.element),j=g(a,{format:i,popupWebIntents:!1,tweetElement:"blockquote",showMedia:c.showMedia,showErrors:!1,showFollowButton:!e,renderActions:!e,product:"tweetembed",partner:c.partner,related:c.related}),k='<div id="{{id}}" class="{{classNames}}" lang="{{lang}}" style="{{style}}">{{twt}}</div>',l={id:c.id,classNames:b||"",style:c.styleAttr.join(";"),lang:c.lang,twt:c.data._wjs_reply?j.inReplyTo(a._wjs_reply).html():j.html()};h.innerHTML=c.ringo(k,l),d=f(h.firstChild,c.element)})}),d},render:function(a){var b=this,c,d;if(!b.data)return;t(),using("lib/twt",function(a){a(b.lang,function(){c=b.classNames.join(" "),b.data._wjs_stub_data=!0,b.element=b.originElement,b.element=b.create(b.data,c),d=[b.data.id_str],b.inReplyTo&&b.showThread&&d.push(b.inReplyTo),g.status({id:d,complete:function(a){var d=a[0],e=a[1];if(d.error)return;b.data=d;if(b.showThread&&d.in_reply_to_status_id_str&&(!e||d.in_reply_to_status_id_str!=e.id_str)){g.status({id:d.in_reply_to_status_id_str,complete:function(a){a&&!a.error&&(b.data._wjs_reply=a),b.element=b.create(b.data,c)}});return}d.in_reply_to_status_id_str&&e&&!e.error&&(b.data._wjs_reply=e),b.element=b.create(b.data,c)}})})})}}),a({Embeddable:v})})});
39
- provide("tfw/widget/follow",function(a){using("util/util","tfw/widget/base","util/querystring","util/uri",function(b,c,d,e){var f=function(a){this.originElement=a;var b=this.params(),c=b.size||a.getAttribute("data-size");this.id=this.generateId(),this.version=this.wjsVersion(),this.setLanguage(),this.showScreenName=b.show_screen_name||a.getAttribute("data-show-screen-name")||"",this.showCount=b.show_count||a.getAttribute("data-show-count")||"",this.width=b.width||a.getAttribute("data-width")||"",this.screenName=this.screenNameFromHref(),this.preview=b.preview||a.getAttribute("data-preview")||"",this.align=b.align||a.getAttribute("data-align")||"",this.dnt=b.dnt||a.getAttribute("data-dnt")||"",this.size=c=="large"?"l":"m",this.enableNewSizing=b.enableNewSizing||a.getAttribute("data-enable-new-sizing")};f.prototype=new c.Base,b.aug(f.prototype,{titles:{en:"Twitter Follow Button"},dimensions:{x:{m:300,l:350},y:{m:20,l:28}},parameters:function(){var a={screen_name:this.screenName,lang:this.lang,show_count:this.showCount,show_screen_name:this.showScreenName,align:this.align,id:this.id,preview:this.preview,size:this.size,dnt:this.dnt,enableNewSizing:!!this.enableNewSizing,_:+(new Date),_version:this.version};return b.compact(a),d.encode(a)},screenNameFromHref:function(){var a=this.originElement.href,b;if(b=a.match(c.TWITTER_PROFILE_URL))return b[1]},render:function(a){if(!this.screenName)return;var b=a.assetUrl()+"/widgets/follow_button.1326407570.html#"+this.parameters(),c=this.width||this.dimensions.x[this.size],d=this.dimensions.y[this.size],e=this.titles.en,f=this;this.element=this.create(b,"twitter-follow-button",[this.enableNewSizing?1:c,d],{title:e}),window.setTimeout(function(){f.element.getAttribute("data-resized")||(f.element.style.width=c+(typeof c!="string"?"px":""))},15e3)}}),a({Embeddable:f})})});
40
- (function(){window.twttr=window.twttr||{};if(twttr.widgets)return twttr.widgets.loaded&&twttr.widgets.load(),!1;if(twttr.init)return!1;twttr.init=!0,function(){twttr._e=twttr._e||[],twttr.ready=twttr.ready||function(a){twttr.widgets&&twttr.widgets.loaded?a(twttr):twttr._e.push(a)}}(),twttr.host=twttr.host||"platform.twitter.com",using.path.length===0&&(using.path="//"+twttr.host+"/js"),typeof twttr.ignoreSSL=="undefined"&&(twttr.ignoreSSL=!1);var a=[];twttr.events={bind:function(b,c){return a.push([b,c])}},using("util/domready",function(b){b(function(){using("util/util","tfw/widget/follow","tfw/widget/tweet","tfw/widget/tweetembed","tfw/widget/intent","util/events","tfw/widget/base",function(b,c,d,e,f,g,h){function j(a){return(window.location.protocol.match(/s\:$/)||a)&&!twttr.ignoreSSL?"https":"http"}var i={};i.widgets={"a.twitter-share-button":d.Embeddable,"a.twitter-mention-button":d.Embeddable,"a.twitter-hashtag-button":d.Embeddable,"a.twitter-follow-button":c.Embeddable,"blockquote.twitter-tweet":e.Embeddable,body:f.Listener},i.assetUrl=function(a){return j(a)+"://"+twttr.host},using("xd/parent","xd/jsonrpc",function(a,b){var c="twttrHubFrame",d=i.assetUrl()+"/widgets/hub.1326407570.html";if(window.location&&window.location.href.match(/LinkedIn\.app/))return!1;if(document.getElementById(c))return;twttr.events.hub=a.connect({src:d,iframe:{name:c,style:"position:absolute;top:-9999em;width:10px;height:10px"}}),b(twttr.events.hub).expose({trigger:function(a,b,c){b=b||{};var d=b.region;delete b.region,twttr.events.trigger(a,{target:h.find(c),data:b,region:d,type:a})}})});var k=twttr.events&&twttr.events.hub?twttr.events:{};twttr.events=b.aug(k,g.Emitter),twttr.events.bind("_resize",function(a){a.target&&a.target.style&&(a.target.style.width=a.data.width+"px",a.target.style.height=a.data.height+"px",a.target.setAttribute("data-resized","true"))}),twttr.widgets={load:function(){h.init(i),h.embed(),twttr.widgets.loaded=!0},config:i};var l,m;for(l=0;m=a[l];l++)twttr.events.bind(m[0],m[1]);for(l=0;m=twttr._e[l];l++)m(twttr);twttr.ready=function(a){a(twttr)},twttr.widgets.load()})})})})()});