Brent Tubbs avatar Brent Tubbs committed dd563cb

renaming test.html to index.html

Comments (0)

Files changed (2)

+<html>
+<head>
+  <meta http-equiv="content-type" content="text/html; charset=utf-8">
+  <title>Javascript Templates Examples</title>
+  <link href='http://fonts.googleapis.com/css?family=Lora|Oswald&v2' rel='stylesheet' type='text/css'>
+  <link rel="stylesheet" href="style.css" type="text/css" media="screen" charset="utf-8">
+  <script type="text/javascript" charset="utf-8" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
+  <script type="text/javascript" charset="utf-8" src="jquery.tmpl.js"></script>
+  <script type="text/javascript" charset="utf-8" src="goatee.js"></script>
+  <script type="text/javascript" charset="utf-8" src="resig.js"></script>
+<script type="text/javascript" charset="utf-8">
+
+var testData = {
+    username: 'Joebob',
+    todo: [
+      {
+        name: 'Laundry',
+        desc: 'All my clothes are dirty.  Wash them.',
+        due: '2011-07-19'
+      }, {
+        name: 'Dentist Appointment (@ Bump)',
+        desc: 'Umm.. getting my teeth cleaned.  Wear a tie.',
+        due: '2011-07-22'
+      }, {
+        name: 'Fix G',
+        desc: 'Someone said our software has a bug.  Fix it.',
+        due: '2007-01-01'
+      }, {
+        name: 'World Domination',
+        desc: "Time permitting, let's take over."
+      }
+    ]
+};
+</script>
+</head>
+<body>
+<div id="content">
+  <h1>Your Mission</h1>
+  <h2>Should you choose to accept it...</h2>
+  <p>... is to reproduce the To Do list below using the 'testData' object in this document's
+  script tag, and several Javascript templating approaches:
+  <ol>
+    <li>John Resig's <a href="http://ejohn.org/blog/javascript-micro-templating/">Micro Templates</a></li>
+    <li><a href="http://api.jquery.com/category/plugins/templates/">jQuery Templates</a></li>
+    <li><a href="https://bitbucket.org/btubbs/js_template_sandbox/src/eed8084edaa9/goatee.js">Goatee</a> Templates (a variant of <a href="http://mustache.github.com/">Mustache</a>)</li>
+  </ol>
+  </p>
+  <p>All of the necessary Javascript files have been linked into this file already.  jQuery 1.6.2
+    is available.</p>
+
+  <h1>Sample</h1>
+  This is just one ToDo item, for a style example.  The real testData object has three.
+  <div class="todo_wrapper">
+    <h2>To Do</h2>
+    <h3>Deworm the Cat<h3>
+
+  </div>
+</div>
+</body>
+</html>

test.html

-<html>
-<head>
-  <meta http-equiv="content-type" content="text/html; charset=utf-8">
-  <title>Javascript Templates Examples</title>
-  <link href='http://fonts.googleapis.com/css?family=Lora|Oswald&v2' rel='stylesheet' type='text/css'>
-  <link rel="stylesheet" href="style.css" type="text/css" media="screen" charset="utf-8">
-  <script type="text/javascript" charset="utf-8" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
-  <script type="text/javascript" charset="utf-8" src="jquery.tmpl.js"></script>
-  <script type="text/javascript" charset="utf-8" src="goatee.js"></script>
-  <script type="text/javascript" charset="utf-8" src="resig.js"></script>
-<script type="text/javascript" charset="utf-8">
-
-var testData = {
-    username: 'Joebob',
-    todo: [
-      {
-        name: 'Laundry',
-        desc: 'All my clothes are dirty.  Wash them.',
-        due: '2011-07-19'
-      }, {
-        name: 'Dentist Appointment (@ Bump)',
-        desc: 'Umm.. getting my teeth cleaned.  Wear a tie.',
-        due: '2011-07-22'
-      }, {
-        name: 'Fix G',
-        desc: 'Someone said our software has a bug.  Fix it.',
-        due: '2007-01-01'
-      }, {
-        name: 'World Domination',
-        desc: "Time permitting, let's take over."
-      }
-    ]
-};
-</script>
-</head>
-<body>
-<div id="content">
-  <h1>Your Mission</h1>
-  <h2>Should you choose to accept it...</h2>
-  <p>... is to reproduce the To Do list below using the 'testData' object in this document's
-  script tag, and several Javascript templating approaches:
-  <ol>
-    <li>John Resig's <a href="http://ejohn.org/blog/javascript-micro-templating/">Micro Templates</a></li>
-    <li><a href="http://api.jquery.com/category/plugins/templates/">jQuery Templates</a></li>
-    <li><a href="https://bitbucket.org/btubbs/js_template_sandbox/src/eed8084edaa9/goatee.js">Goatee</a> Templates (a variant of <a href="http://mustache.github.com/">Mustache</a>)</li>
-  </ol>
-  </p>
-  <p>All of the necessary Javascript files have been linked into this file already.  jQuery 1.6.2
-    is available.</p>
-
-  <h1>Sample</h1>
-  This is just one ToDo item, for a style example.  The real testData object has three.
-  <div class="todo_wrapper">
-    <h2>To Do</h2>
-    <h3>Deworm the Cat<h3>
-
-  </div>
-</div>
-</body>
-</html>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.