예제 #1
0
        /// <summary>
        /// This is a javascript application.
        /// </summary>
        /// <param name="page">HTML document rendered by the web server which can now be enhanced.</param>
        public Application(IApp page)
        {
            var a = new[] { 9 };
            var b = new[] { "hello world" };

            a.Zip(b, (x, y) => new { x, y }).FirstOrDefault().With(
                z =>
                {
                    new IHTMLPre { z }.AttachToDocument();
                }
            );
        }