From 290a5e8393bedcf34ef15a9055e71efc83915fa7 Mon Sep 17 00:00:00 2001 From: Ishan Chatterjee Date: Sun, 12 Jul 2015 17:31:21 -0400 Subject: [PATCH 1/2] Replace external links with their HTML equivalent --- index.html | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/index.html b/index.html index faf739b2..8f662710 100644 --- a/index.html +++ b/index.html @@ -13,6 +13,7 @@ + @@ -199,7 +200,7 @@

Layouts and Lifecycle

}) layout.setView(view);

Server Side Rendering

-

Thorax allows for rendering outside of the normal browser context using environments such as [Fruit Loops][fruit-loops] or [PhantomJS][phantomjs] to render content in the initial server response and then restore the view hierarchy on the client render. Rendering in such a manner allows for Thorax applications to expose their content for SEO purposes as well as speed up the perceived initial page load. +

Thorax allows for rendering outside of the normal browser context using environments such as Fruit Loops or PhantomJS to render content in the initial server response and then restore the view hierarchy on the client render. Rendering in such a manner allows for Thorax applications to expose their content for SEO purposes as well as speed up the perceived initial page load.

The restore process is well suited for handling distinctions between user and public data, allowing for the server response to include only public, long cache-able, content. The client can then augment this data with any user specific data on restoration. @@ -208,27 +209,27 @@

Server Side Rendering

@@ -264,6 +265,6 @@

Quick Start

var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); - + From ce693093ca6e5b7c68be140bba60e7179cd1595e Mon Sep 17 00:00:00 2001 From: Ishan Chatterjee Date: Sun, 12 Jul 2015 17:34:36 -0400 Subject: [PATCH 2/2] Do not promote usage of (potentially) old versions of Thorax MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removes the hardcoded version in favor of cdnjs’ UI which defaults to the latest version --- index.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.html b/index.html index 8f662710..9305d7a6 100644 --- a/index.html +++ b/index.html @@ -12,7 +12,6 @@ - @@ -239,7 +238,7 @@

Quick Start

  • Generate your application using the Thorax Yeoman Generator
  • Read about how Thorax works in the new Backbone Fundamentals Book.
  • Install the Thorax Inspector Chrome extension.
  • -
  • Building something smaller? Just link the core library as a single file from cdnjs compiled with all of its dependencies and use it anywhere or play with our Hello World fiddle or Todos fiddle.
  • +
  • Building something smaller? Just link the core library as a single file from cdnjs compiled with all of its dependencies and use it anywhere or play with our Hello World fiddle or Todos fiddle.