incubator-isis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danhayw...@apache.org
Subject svn commit: r1231722 [2/2] - in /incubator/isis/trunk/examples/onlinedemo/webapp/src/main/webapp: generic/ jquery.tmpl/ mobile/
Date Sun, 15 Jan 2012 18:35:24 GMT
Modified: incubator/isis/trunk/examples/onlinedemo/webapp/src/main/webapp/jquery.tmpl/jquery.tmpl-vBeta1.0.0.min.js
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/examples/onlinedemo/webapp/src/main/webapp/jquery.tmpl/jquery.tmpl-vBeta1.0.0.min.js?rev=1231722&r1=1231721&r2=1231722&view=diff
==============================================================================
--- incubator/isis/trunk/examples/onlinedemo/webapp/src/main/webapp/jquery.tmpl/jquery.tmpl-vBeta1.0.0.min.js (original)
+++ incubator/isis/trunk/examples/onlinedemo/webapp/src/main/webapp/jquery.tmpl/jquery.tmpl-vBeta1.0.0.min.js Sun Jan 15 18:35:24 2012
@@ -1,762 +1,10 @@
-
-
-
-<!DOCTYPE html>
-<html>
-  <head>
-    <meta charset='utf-8'>
-    <meta http-equiv="X-UA-Compatible" content="chrome=1">
-        <title>jquery.tmpl.min.js at master from jquery/jquery-tmpl - GitHub</title>
-    <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub" />
-    <link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub" />
-
-    
-    
-
-    <meta content="authenticity_token" name="csrf-param" />
-<meta content="QcSoMAbLBOEGQzq5iMFhEa5wh9zuaQqLbwvmSg5xFFw=" name="csrf-token" />
-
-    <link href="https://a248.e.akamai.net/assets.github.com/stylesheets/bundles/github-182944099c59274f5fb79ea97c47f923a5864f79.css" media="screen" rel="stylesheet" type="text/css" />
-    
-
-    <script src="https://a248.e.akamai.net/assets.github.com/javascripts/bundles/jquery-2bdf48207f435863de9c5786265d27d992c7f6c0.js" type="text/javascript"></script>
-    <script src="https://a248.e.akamai.net/assets.github.com/javascripts/bundles/github-68d680d89cf702cc67c2ebb0b261548622d05ce3.js" type="text/javascript"></script>
-    
-
-      <link rel='permalink' href='/jquery/jquery-tmpl/blob/04b5af07a579b0928d93cd018cda056097e58180/jquery.tmpl.min.js'>
-
-    <meta name="description" content="jquery-tmpl - A templating plugin for jQuery. BETA. NO LONGER IN ACTIVE DEVELOPMENT OR MAINTENANCE. Issues remain open but are not being worked." />
-  <link href="https://github.com/jquery/jquery-tmpl/commits/master.atom" rel="alternate" title="Recent Commits to jquery-tmpl:master" type="application/atom+xml" />
-
-  </head>
-
-
-  <body class="logged_out page-blob windows  env-production ">
-    
-
-
-    
-
-      <div id="header" class="true clearfix">
-        <div class="container clearfix">
-          <a class="site-logo" href="https://github.com">
-            <!--[if IE]>
-            <img alt="GitHub" class="github-logo" src="https://a248.e.akamai.net/assets.github.com/images/modules/header/logov7.png?1323882717" />
-            <img alt="GitHub" class="github-logo-hover" src="https://a248.e.akamai.net/assets.github.com/images/modules/header/logov7-hover.png?1324325376" />
-            <![endif]-->
-            <img alt="GitHub" class="github-logo-4x" height="30" src="https://a248.e.akamai.net/assets.github.com/images/modules/header/logov7@4x.png?1323882717" />
-            <img alt="GitHub" class="github-logo-4x-hover" height="30" src="https://a248.e.akamai.net/assets.github.com/images/modules/header/logov7@4x-hover.png?1324325376" />
-          </a>
-
-                  <!--
-      make sure to use fully qualified URLs here since this nav
-      is used on error pages on other domains
-    -->
-    <ul class="top-nav logged_out">
-        <li class="pricing"><a href="https://github.com/plans">Signup and Pricing</a></li>
-        <li class="explore"><a href="https://github.com/explore">Explore GitHub</a></li>
-      <li class="features"><a href="https://github.com/features">Features</a></li>
-        <li class="blog"><a href="https://github.com/blog">Blog</a></li>
-      <li class="login"><a href="https://github.com/login?return_to=%2Fjquery%2Fjquery-tmpl%2Fblob%2Fmaster%2Fjquery.tmpl.min.js">Login</a></li>
-    </ul>
-
-
-
-          
-        </div>
-      </div>
-
-      
-
-            <div class="site">
-      <div class="container">
-        <div class="pagehead repohead instapaper_ignore readability-menu">
-
-
-        <div class="title-actions-bar">
-          <h1>
-            <a href="/jquery">jquery</a> /
-            <strong><a href="/jquery/jquery-tmpl" class="js-current-repository">jquery-tmpl</a></strong>
-          </h1>
-          
-
-
-
-              <ul class="pagehead-actions">
-
-
-          <li><a href="/login?return_to=%2Fjquery%2Fjquery-tmpl" class="minibutton btn-watch watch-button entice tooltipped leftwards" rel="nofollow" title="You must be logged in to use this feature"><span><span class="icon"></span>Watch</span></a></li>
-          <li><a href="/login?return_to=%2Fjquery%2Fjquery-tmpl" class="minibutton btn-fork fork-button entice tooltipped leftwards" rel="nofollow" title="You must be logged in to use this feature"><span><span class="icon"></span>Fork</span></a></li>
-
-
-      <li class="repostats">
-        <ul class="repo-stats">
-          <li class="watchers ">
-            <a href="/jquery/jquery-tmpl/watchers" title="Watchers" class="tooltipped downwards">
-              1,777
-            </a>
-          </li>
-          <li class="forks">
-            <a href="/jquery/jquery-tmpl/network" title="Forks" class="tooltipped downwards">
-              181
-            </a>
-          </li>
-        </ul>
-      </li>
-    </ul>
-
-        </div>
-
-          
-
-  <ul class="tabs">
-    <li><a href="/jquery/jquery-tmpl" class="selected" highlight="repo_sourcerepo_downloadsrepo_commitsrepo_tagsrepo_branches">Code</a></li>
-    <li><a href="/jquery/jquery-tmpl/network" highlight="repo_networkrepo_fork_queue">Network</a>
-    <li><a href="/jquery/jquery-tmpl/pulls" highlight="repo_pulls">Pull Requests <span class='counter'>0</span></a></li>
-
-      <li><a href="/jquery/jquery-tmpl/issues" highlight="repo_issues">Issues <span class='counter'>54</span></a></li>
-
-
-    <li><a href="/jquery/jquery-tmpl/graphs" highlight="repo_graphsrepo_contributors">Stats &amp; Graphs</a></li>
-
-  </ul>
-
-  
-<div class="frame frame-center tree-finder" style="display:none"
-      data-tree-list-url="/jquery/jquery-tmpl/tree-list/04b5af07a579b0928d93cd018cda056097e58180"
-      data-blob-url-prefix="/jquery/jquery-tmpl/blob/04b5af07a579b0928d93cd018cda056097e58180"
-    >
-
-  <div class="breadcrumb">
-    <b><a href="/jquery/jquery-tmpl">jquery-tmpl</a></b> /
-    <input class="tree-finder-input js-navigation-enable" type="text" name="query" autocomplete="off" spellcheck="false">
-  </div>
-
-    <div class="octotip">
-      <p>
-        <a href="/jquery/jquery-tmpl/dismiss-tree-finder-help" class="dismiss js-dismiss-tree-list-help" title="Hide this notice forever" rel="nofollow">Dismiss</a>
-        <strong>Octotip:</strong> You've activated the <em>file finder</em>
-        by pressing <span class="kbd">t</span> Start typing to filter the
-        file list. Use <span class="kbd badmono">↑</span> and
-        <span class="kbd badmono">↓</span> to navigate,
-        <span class="kbd">enter</span> to view files.
-      </p>
-    </div>
-
-  <table class="tree-browser" cellpadding="0" cellspacing="0">
-    <tr class="js-header"><th>&nbsp;</th><th>name</th></tr>
-    <tr class="js-no-results no-results" style="display: none">
-      <th colspan="2">No matching files</th>
-    </tr>
-    <tbody class="js-results-list js-navigation-container" data-navigation-enable-mouse>
-    </tbody>
-  </table>
-</div>
-
-<div id="jump-to-line" style="display:none">
-  <h2>Jump to Line</h2>
-  <form>
-    <input class="textfield" type="text">
-    <div class="full-button">
-      <button type="submit" class="classy">
-        <span>Go</span>
-      </button>
-    </div>
-  </form>
-</div>
-
-
-<div class="subnav-bar">
-
-  <ul class="actions">
-    
-      <li class="switcher">
-
-        <div class="context-menu-container js-menu-container">
-          <span class="text">Current branch:</span>
-          <a href="#"
-             class="minibutton bigger switcher context-menu-button js-menu-target js-commitish-button btn-branch repo-tree"
-             data-master-branch="master"
-             data-ref="master">
-            <span><span class="icon"></span>master</span>
-          </a>
-
-          <div class="context-pane commitish-context js-menu-content">
-            <a href="javascript:;" class="close js-menu-close"></a>
-            <div class="context-title">Switch Branches/Tags</div>
-            <div class="context-body pane-selector commitish-selector js-filterable-commitishes">
-              <div class="filterbar">
-                <div class="placeholder-field js-placeholder-field">
-                  <label class="placeholder" for="context-commitish-filter-field" data-placeholder-mode="sticky">Filter branches/tags</label>
-                  <input type="text" id="context-commitish-filter-field" class="commitish-filter" />
-                </div>
-
-                <ul class="tabs">
-                  <li><a href="#" data-filter="branches" class="selected">Branches</a></li>
-                  <li><a href="#" data-filter="tags">Tags</a></li>
-                </ul>
-              </div>
-
-                <div class="commitish-item branch-commitish selector-item">
-                  <h4>
-                      <a href="/jquery/jquery-tmpl/blob/gh-pages/jquery.tmpl.min.js" data-name="gh-pages" rel="nofollow">gh-pages</a>
-                  </h4>
-                </div>
-                <div class="commitish-item branch-commitish selector-item">
-                  <h4>
-                      <a href="/jquery/jquery-tmpl/blob/master/jquery.tmpl.min.js" data-name="master" rel="nofollow">master</a>
-                  </h4>
-                </div>
-
-                <div class="commitish-item tag-commitish selector-item">
-                  <h4>
-                      <a href="/jquery/jquery-tmpl/blob/vBeta1.0.0/jquery.tmpl.min.js" data-name="vBeta1.0.0" rel="nofollow">vBeta1.0.0</a>
-                  </h4>
-                </div>
-
-              <div class="no-results" style="display:none">Nothing to show</div>
-            </div>
-          </div><!-- /.commitish-context-context -->
-        </div>
-
-      </li>
-  </ul>
-
-  <ul class="subnav">
-    <li><a href="/jquery/jquery-tmpl" class="selected" highlight="repo_source">Files</a></li>
-    <li><a href="/jquery/jquery-tmpl/commits/master" highlight="repo_commits">Commits</a></li>
-    <li><a href="/jquery/jquery-tmpl/branches" class="" highlight="repo_branches" rel="nofollow">Branches <span class="counter">2</span></a></li>
-    <li><a href="/jquery/jquery-tmpl/tags" class="" highlight="repo_tags">Tags <span class="counter">1</span></a></li>
-    <li><a href="/jquery/jquery-tmpl/downloads" class="blank" highlight="repo_downloads">Downloads <span class="counter">0</span></a></li>
-  </ul>
-
-</div>
-
-  
-  
-  
-
-
-          
-
-        </div><!-- /.repohead -->
-
-        
-
-
-
-
-  
-  <p class="last-commit">Latest commit to the <strong>master</strong> branch</p>
-
-<div class="commit commit-tease js-details-container">
-  <p class="commit-title ">
-      <a href="/jquery/jquery-tmpl/commit/04b5af07a579b0928d93cd018cda056097e58180" class="message">README: Added link to jsRender/jsView blog post by Boris Moore</a>
-      
-  </p>
-  <div class="commit-meta">
-    <a href="/jquery/jquery-tmpl/commit/04b5af07a579b0928d93cd018cda056097e58180" class="sha-block">commit <span class="sha">04b5af07a5</span></a>
-
-    <div class="authorship">
-      <img class="gravatar" height="20" src="https://secure.gravatar.com/avatar/d92ea7772f465256ad836de1ce642b37?s=140&amp;d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png" width="20" />
-      <span class="author-name"><a href="/rdworth">rdworth</a></span>
-      authored <time class="js-relative-date" datetime="2011-10-27T03:28:17-07:00" title="2011-10-27 03:28:17">October 27, 2011</time>
-
-    </div>
-  </div>
-</div>
-
-
-<!-- block_view_fragment_key: views4/v8/blob:v15:547820:jquery/jquery-tmpl:7438b2ca545162b5794cd1b6b195d330da02ae50:db4e21aac9f3862e5483f70c3661ec8d -->
-  <div id="slider">
-
-    <div class="breadcrumb" data-path="jquery.tmpl.min.js/">
-      <b><a href="/jquery/jquery-tmpl/tree/04b5af07a579b0928d93cd018cda056097e58180" class="js-rewrite-sha">jquery-tmpl</a></b> / jquery.tmpl.min.js       <span style="display:none" id="clippy_1576" class="clippy-text">jquery.tmpl.min.js</span>
-      
-      <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
-              width="110"
-              height="14"
-              class="clippy"
-              id="clippy" >
-      <param name="movie" value="https://a248.e.akamai.net/assets.github.com/flash/clippy.swf?1310086001?v5"/>
-      <param name="allowScriptAccess" value="always" />
-      <param name="quality" value="high" />
-      <param name="scale" value="noscale" />
-      <param NAME="FlashVars" value="id=clippy_1576&amp;copied=copied!&amp;copyto=copy to clipboard">
-      <param name="bgcolor" value="#FFFFFF">
-      <param name="wmode" value="opaque">
-      <embed src="https://a248.e.akamai.net/assets.github.com/flash/clippy.swf?1310086001?v5"
-             width="110"
-             height="14"
-             name="clippy"
-             quality="high"
-             allowScriptAccess="always"
-             type="application/x-shockwave-flash"
-             pluginspage="http://www.macromedia.com/go/getflashplayer"
-             FlashVars="id=clippy_1576&amp;copied=copied!&amp;copyto=copy to clipboard"
-             bgcolor="#FFFFFF"
-             wmode="opaque"
-      />
-      </object>
-      
-
-    </div>
-
-    <div class="frames">
-      <div class="frame frame-center" data-path="jquery.tmpl.min.js/" data-permalink-url="/jquery/jquery-tmpl/blob/04b5af07a579b0928d93cd018cda056097e58180/jquery.tmpl.min.js" data-title="jquery.tmpl.min.js at master from jquery/jquery-tmpl - GitHub" data-type="blob">
-          <ul class="big-actions">
-            <li><a class="file-edit-link minibutton js-rewrite-sha" href="/jquery/jquery-tmpl/edit/04b5af07a579b0928d93cd018cda056097e58180/jquery.tmpl.min.js" data-method="post" rel="nofollow"><span>Edit this file</span></a></li>
-          </ul>
-
-        <div id="files">
-          <div class="file">
-            <div class="meta">
-              <div class="info">
-                <span class="icon"><img alt="Txt" height="16" src="https://a248.e.akamai.net/assets.github.com/images/icons/txt.png?1310086001" width="16" /></span>
-                <span class="mode" title="File Mode">100644</span>
-                  <span>10 lines (10 sloc)</span>
-                <span>6.115 kb</span>
-              </div>
-              <ul class="actions">
-                <li><a href="/jquery/jquery-tmpl/raw/master/jquery.tmpl.min.js" id="raw-url">raw</a></li>
-                  <li><a href="/jquery/jquery-tmpl/blame/master/jquery.tmpl.min.js">blame</a></li>
-                <li><a href="/jquery/jquery-tmpl/commits/master/jquery.tmpl.min.js" rel="nofollow">history</a></li>
-              </ul>
-            </div>
-              <div class="data type-javascript">
-      <table cellpadding="0" cellspacing="0" class="lines">
-        <tr>
-          <td>
-            <pre class="line_numbers"><span id="L1" rel="#L1">1</span>
-<span id="L2" rel="#L2">2</span>
-<span id="L3" rel="#L3">3</span>
-<span id="L4" rel="#L4">4</span>
-<span id="L5" rel="#L5">5</span>
-<span id="L6" rel="#L6">6</span>
-<span id="L7" rel="#L7">7</span>
-<span id="L8" rel="#L8">8</span>
-<span id="L9" rel="#L9">9</span>
-<span id="L10" rel="#L10">10</span>
-</pre>
-          </td>
-          <td width="100%">
-                <div class="highlight"><pre><div class='line' id='LC1'>/*</div><div class='line' id='LC2'>&nbsp;* jQuery Templates Plugin 1.0.0pre</div><div class='line' id='LC3'>&nbsp;* http://github.com/jquery/jquery-tmpl</div><div class='line' id='LC4'>&nbsp;* Requires jQuery 1.4.2</div><div class='line' id='LC5'>&nbsp;*</div><div class='line' id='LC6'>&nbsp;* Copyright Software Freedom Conservancy, Inc.</div><div class='line' id='LC7'>&nbsp;* Dual licensed under the MIT or GPL Version 2 licenses.</div><div class='line' id='LC8'>&nbsp;* http://jquery.org/license</div><div class='line' id='LC9'>&nbsp;*/</div><div class='line' id='LC10'>(function(a){var r=a.fn.domManip,d=&quot;_tmplitem&quot;,q=/^[^&lt;]*(&lt;[\w\W]+&gt;)[^&gt;]*$|\{\{\! /,b={},f={},e,p={key:0,data:{}},i=0,c=0,l=[];function g(g,d,h,e){var c={data:e||(e===0||e===false)?e:d?d.data:{},_wrap:d?d._wrap:null,tmpl:null,parent:d||null,nodes:[],calls:u,nest:w,wrap:x,html:v,update:t};g&amp;&amp;a.extend(c,g,{nodes:[]
 ,parent:d});if(h){c.tmpl=h;c._ctnt=c._ctnt||c.tmpl(a,c);c.key=++i;(l.length?f:b)[i]=c}return c}a.each({appendTo:&quot;append&quot;,prependTo:&quot;prepend&quot;,insertBefore:&quot;before&quot;,insertAfter:&quot;after&quot;,replaceAll:&quot;replaceWith&quot;},function(f,d){a.fn[f]=function(n){var g=[],i=a(n),k,h,m,l,j=this.length===1&amp;&amp;this[0].parentNode;e=b||{};if(j&amp;&amp;j.nodeType===11&amp;&amp;j.childNodes.length===1&amp;&amp;i.length===1){i[d](this[0]);g=this}else{for(h=0,m=i.length;h&lt;m;h++){c=h;k=(h&gt;0?this.clone(true):this).get();a(i[h])[d](k);g=g.concat(k)}c=0;g=this.pushStack(g,f,i.selector)}l=e;e=null;a.tmpl.complete(l);return g}});a.fn.extend({tmpl:function(d,c,b){return a.tmpl(this[0],d,c,b)},tmplItem:function(){return a.tmplItem(this[0])},template:function(b){return a.template(b,this[0])},domManip:function(d,m,k){if(d[0]&amp;&amp;a.isArray(d[0])){var g=a.makeArray(arguments),h=d[0],j=h.length,i=0,f;while(i&lt;j&amp;&amp;!(f=a.data(h[i++],&quot;tmpl
 Item&quot;)));if(f&amp;&amp;c)g[2]=function(b){a.tmpl.afterManip(this,b,k)};r.apply(this,g)}else r.apply(this,arguments);c=0;!e&amp;&amp;a.tmpl.complete(b);return this}});a.extend({tmpl:function(d,h,e,c){var i,k=!c;if(k){c=p;d=a.template[d]||a.template(null,d);f={}}else if(!d){d=c.tmpl;b[c.key]=c;c.nodes=[];c.wrapped&amp;&amp;n(c,c.wrapped);return a(j(c,null,c.tmpl(a,c)))}if(!d)return[];if(typeof h===&quot;function&quot;)h=h.call(c||{});e&amp;&amp;e.wrapped&amp;&amp;n(e,e.wrapped);i=a.isArray(h)?a.map(h,function(a){return a?g(e,c,d,a):null}):[g(e,c,d,h)];return k?a(j(c,null,i)):i},tmplItem:function(b){var c;if(b instanceof a)b=b[0];while(b&amp;&amp;b.nodeType===1&amp;&amp;!(c=a.data(b,&quot;tmplItem&quot;))&amp;&amp;(b=b.parentNode));return c||p},template:function(c,b){if(b){if(typeof b===&quot;string&quot;)b=o(b);else if(b instanceof a)b=b[0]||{};if(b.nodeType)b=a.data(b,&quot;tmpl&quot;)||a.data(b,&quot;tmpl&quot;,o(b.innerHTML));return typeof c===&quot;string&quot;?(a.tem
 plate[c]=b):b}return c?typeof c!==&quot;string&quot;?a.template(null,c):a.template[c]||a.template(null,q.test(c)?c:a(c)):null},encode:function(a){return(&quot;&quot;+a).split(&quot;&lt;&quot;).join(&quot;&amp;lt;&quot;).split(&quot;&gt;&quot;).join(&quot;&amp;gt;&quot;).split('&quot;').join(&quot;&amp;#34;&quot;).split(&quot;'&quot;).join(&quot;&amp;#39;&quot;)}});a.extend(a.tmpl,{tag:{tmpl:{_default:{$2:&quot;null&quot;},open:&quot;if($notnull_1){__=__.concat($item.nest($1,$2));}&quot;},wrap:{_default:{$2:&quot;null&quot;},open:&quot;$item.calls(__,$1,$2);__=[];&quot;,close:&quot;call=$item.calls();__=call._.concat($item.wrap(call,__));&quot;},each:{_default:{$2:&quot;$index, $value&quot;},open:&quot;if($notnull_1){$.each($1a,function($2){with(this){&quot;,close:&quot;}});}&quot;},&quot;if&quot;:{open:&quot;if(($notnull_1) &amp;&amp; $1a){&quot;,close:&quot;}&quot;},&quot;else&quot;:{_default:{$1:&quot;true&quot;},open:&quot;}else if(($notnull_1) &amp;&amp; $1a){&quot;},htm
 l:{open:&quot;if($notnull_1){__.push($1a);}&quot;},&quot;=&quot;:{_default:{$1:&quot;$data&quot;},open:&quot;if($notnull_1){__.push($.encode($1a));}&quot;},&quot;!&quot;:{open:&quot;&quot;}},complete:function(){b={}},afterManip:function(f,b,d){var e=b.nodeType===11?a.makeArray(b.childNodes):b.nodeType===1?[b]:[];d.call(f,b);m(e);c++}});function j(e,g,f){var b,c=f?a.map(f,function(a){return typeof a===&quot;string&quot;?e.key?a.replace(/(&lt;\w+)(?=[\s&gt;])(?![^&gt;]*_tmplitem)([^&gt;]*)/g,&quot;$1 &quot;+d+'=&quot;'+e.key+'&quot; $2'):a:j(a,e,a._ctnt)}):e;if(g)return c;c=c.join(&quot;&quot;);c.replace(/^\s*([^&lt;\s][^&lt;]*)?(&lt;[\w\W]+&gt;)([^&gt;]*[^&gt;\s])?\s*$/,function(f,c,e,d){b=a(e).get();m(b);if(c)b=k(c).concat(b);if(d)b=b.concat(k(d))});return b?b:k(c)}function k(c){var b=document.createElement(&quot;div&quot;);b.innerHTML=c;return a.makeArray(b.childNodes)}function o(b){return new Function(&quot;jQuery&quot;,&quot;$item&quot;,&quot;var $=jQuery,call,__=[],$data
 =$item.data;with($data){__.push('&quot;+a.trim(b).replace(/([\\'])/g,&quot;\\$1&quot;).replace(/[\r\t\n]/g,&quot; &quot;).replace(/\$\{([^\}]*)\}/g,&quot;{{= $1}}&quot;).replace(/\{\{(\/?)(\w+|.)(?:\(((?:[^\}]|\}(?!\}))*?)?\))?(?:\s+(.*?)?)?(\(((?:[^\}]|\}(?!\}))*?)\))?\s*\}\}/g,function(m,l,k,g,b,c,d){var j=a.tmpl.tag[k],i,e,f;if(!j)throw&quot;Unknown template tag: &quot;+k;i=j._default||[];if(c&amp;&amp;!/\w$/.test(b)){b+=c;c=&quot;&quot;}if(b){b=h(b);d=d?&quot;,&quot;+h(d)+&quot;)&quot;:c?&quot;)&quot;:&quot;&quot;;e=c?b.indexOf(&quot;.&quot;)&gt;-1?b+h(c):&quot;(&quot;+b+&quot;).call($item&quot;+d:b;f=c?e:&quot;(typeof(&quot;+b+&quot;)==='function'?(&quot;+b+&quot;).call($item):(&quot;+b+&quot;))&quot;}else f=e=i.$1||&quot;null&quot;;g=h(g);return&quot;');&quot;+j[l?&quot;close&quot;:&quot;open&quot;].split(&quot;$notnull_1&quot;).join(b?&quot;typeof(&quot;+b+&quot;)!=='undefined' &amp;&amp; (&quot;+b+&quot;)!=null&quot;:&quot;true&quot;).split(&quot;$1a&quot;).join(f).s
 plit(&quot;$1&quot;).join(e).split(&quot;$2&quot;).join(g||i.$2||&quot;&quot;)+&quot;__.push('&quot;})+&quot;');}return __;&quot;)}function n(c,b){c._wrap=j(c,true,a.isArray(b)?b:[q.test(b)?b:a(b).html()]).join(&quot;&quot;)}function h(a){return a?a.replace(/\\'/g,&quot;'&quot;).replace(/\\\\/g,&quot;\\&quot;):null}function s(b){var a=document.createElement(&quot;div&quot;);a.appendChild(b.cloneNode(true));return a.innerHTML}function m(o){var n=&quot;_&quot;+c,k,j,l={},e,p,h;for(e=0,p=o.length;e&lt;p;e++){if((k=o[e]).nodeType!==1)continue;j=k.getElementsByTagName(&quot;*&quot;);for(h=j.length-1;h&gt;=0;h--)m(j[h]);m(k)}function m(j){var p,h=j,k,e,m;if(m=j.getAttribute(d)){while(h.parentNode&amp;&amp;(h=h.parentNode).nodeType===1&amp;&amp;!(p=h.getAttribute(d)));if(p!==m){h=h.parentNode?h.nodeType===11?0:h.getAttribute(d)||0:0;if(!(e=b[m])){e=f[m];e=g(e,b[h]||f[h]);e.key=++i;b[i]=e}c&amp;&amp;o(m)}j.removeAttribute(d)}else if(c&amp;&amp;(e=a.data(j,&quot;tmplItem&quot;))){o(e
 .key);b[e.key]=e;h=a.data(j.parentNode,&quot;tmplItem&quot;);h=h?h.key:0}if(e){k=e;while(k&amp;&amp;k.key!=h){k.nodes.push(j);k=k.parent}delete e._ctnt;delete e._wrap;a.data(j,&quot;tmplItem&quot;,e)}function o(a){a=a+n;e=l[a]=l[a]||g(e,b[e.parent.key+n]||e.parent)}}}function u(a,d,c,b){if(!a)return l.pop();l.push({_:a,tmpl:d,item:this,data:c,options:b})}function w(d,c,b){return a.tmpl(a.template(d),c,b,this)}function x(b,d){var c=b.options||{};c.wrapped=d;return a.tmpl(a.template(b.tmpl),b.data,c,b.item)}function v(d,c){var b=this._wrap;return a.map(a(a.isArray(b)?b.join(&quot;&quot;):b).filter(d||&quot;*&quot;),function(a){return c?a.innerText||a.textContent:a.outerHTML||s(a)})}function t(){var b=this.nodes;a.tmpl(null,null,null,this).insertBefore(b[0]);a(b).remove()}})(jQuery);</div></pre></div>
-          </td>
-        </tr>
-      </table>
-  </div>
-
-          </div>
-        </div>
-      </div>
-    </div>
-
-  </div>
-
-<div class="frame frame-loading" style="display:none;" data-tree-list-url="/jquery/jquery-tmpl/tree-list/04b5af07a579b0928d93cd018cda056097e58180" data-blob-url-prefix="/jquery/jquery-tmpl/blob/04b5af07a579b0928d93cd018cda056097e58180">
-  <img src="https://a248.e.akamai.net/assets.github.com/images/modules/ajax/big_spinner_336699.gif?1315928456" height="32" width="32">
-</div>
-
-      </div>
-      <div class="context-overlay"></div>
-    </div>
-
-
-      <!-- footer -->
-      <div id="footer" >
-        
-  <div class="upper_footer">
-     <div class="container clearfix">
-
-       <!--[if IE]><h4 id="blacktocat_ie">GitHub Links</h4><![endif]-->
-       <![if !IE]><h4 id="blacktocat">GitHub Links</h4><![endif]>
-
-       <ul class="footer_nav">
-         <h4>GitHub</h4>
-         <li><a href="https://github.com/about">About</a></li>
-         <li><a href="https://github.com/blog">Blog</a></li>
-         <li><a href="https://github.com/features">Features</a></li>
-         <li><a href="https://github.com/contact">Contact &amp; Support</a></li>
-         <li><a href="https://github.com/training">Training</a></li>
-         <li><a href="http://enterprise.github.com/">GitHub Enterprise</a></li>
-         <li><a href="http://status.github.com/">Site Status</a></li>
-       </ul>
-
-       <ul class="footer_nav">
-         <h4>Tools</h4>
-         <li><a href="http://get.gaug.es/">Gauges: Analyze web traffic</a></li>
-         <li><a href="http://speakerdeck.com">Speaker Deck: Presentations</a></li>
-         <li><a href="https://gist.github.com">Gist: Code snippets</a></li>
-         <li><a href="http://mac.github.com/">GitHub for Mac</a></li>
-         <li><a href="http://mobile.github.com/">Issues for iPhone</a></li>
-         <li><a href="http://jobs.github.com/">Job Board</a></li>
-       </ul>
-
-       <ul class="footer_nav">
-         <h4>Extras</h4>
-         <li><a href="http://shop.github.com/">GitHub Shop</a></li>
-         <li><a href="http://octodex.github.com/">The Octodex</a></li>
-       </ul>
-
-       <ul class="footer_nav">
-         <h4>Documentation</h4>
-         <li><a href="http://help.github.com/">GitHub Help</a></li>
-         <li><a href="http://developer.github.com/">Developer API</a></li>
-         <li><a href="http://github.github.com/github-flavored-markdown/">GitHub Flavored Markdown</a></li>
-         <li><a href="http://pages.github.com/">GitHub Pages</a></li>
-       </ul>
-
-     </div><!-- /.site -->
-  </div><!-- /.upper_footer -->
-
-<div class="lower_footer">
-  <div class="container clearfix">
-    <!--[if IE]><div id="legal_ie"><![endif]-->
-    <![if !IE]><div id="legal"><![endif]>
-      <ul>
-          <li><a href="https://github.com/site/terms">Terms of Service</a></li>
-          <li><a href="https://github.com/site/privacy">Privacy</a></li>
-          <li><a href="https://github.com/security">Security</a></li>
-      </ul>
-
-      <p>&copy; 2012 <span id="_rrt" title="0.05380s from fe11.rs.github.com">GitHub</span> Inc. All rights reserved.</p>
-    </div><!-- /#legal or /#legal_ie-->
-
-      <div class="sponsor">
-        <a href="http://www.rackspace.com" class="logo">
-          <img alt="Dedicated Server" height="36" src="https://a248.e.akamai.net/assets.github.com/images/modules/footer/rackspace_logo.png?v2" width="38" />
-        </a>
-        Powered by the <a href="http://www.rackspace.com ">Dedicated
-        Servers</a> and<br/> <a href="http://www.rackspacecloud.com">Cloud
-        Computing</a> of Rackspace Hosting<span>&reg;</span>
-      </div>
-  </div><!-- /.site -->
-</div><!-- /.lower_footer -->
-
-      </div><!-- /#footer -->
-
-    
-
-<div id="keyboard_shortcuts_pane" class="instapaper_ignore readability-extra" style="display:none">
-  <h2>Keyboard Shortcuts <small><a href="#" class="js-see-all-keyboard-shortcuts">(see all)</a></small></h2>
-
-  <div class="columns threecols">
-    <div class="column first">
-      <h3>Site wide shortcuts</h3>
-      <dl class="keyboard-mappings">
-        <dt>s</dt>
-        <dd>Focus site search</dd>
-      </dl>
-      <dl class="keyboard-mappings">
-        <dt>?</dt>
-        <dd>Bring up this help dialog</dd>
-      </dl>
-    </div><!-- /.column.first -->
-
-    <div class="column middle" style='display:none'>
-      <h3>Commit list</h3>
-      <dl class="keyboard-mappings">
-        <dt>j</dt>
-        <dd>Move selection down</dd>
-      </dl>
-      <dl class="keyboard-mappings">
-        <dt>k</dt>
-        <dd>Move selection up</dd>
-      </dl>
-      <dl class="keyboard-mappings">
-        <dt>c <em>or</em> o <em>or</em> enter</dt>
-        <dd>Open commit</dd>
-      </dl>
-      <dl class="keyboard-mappings">
-        <dt>y</dt>
-        <dd>Expand URL to its canonical form</dd>
-      </dl>
-    </div><!-- /.column.first -->
-
-    <div class="column last" style='display:none'>
-      <h3>Pull request list</h3>
-      <dl class="keyboard-mappings">
-        <dt>j</dt>
-        <dd>Move selection down</dd>
-      </dl>
-      <dl class="keyboard-mappings">
-        <dt>k</dt>
-        <dd>Move selection up</dd>
-      </dl>
-      <dl class="keyboard-mappings">
-        <dt>o <em>or</em> enter</dt>
-        <dd>Open issue</dd>
-      </dl>
-    </div><!-- /.columns.last -->
-
-  </div><!-- /.columns.equacols -->
-
-  <div style='display:none'>
-    <div class="rule"></div>
-
-    <h3>Issues</h3>
-
-    <div class="columns threecols">
-      <div class="column first">
-        <dl class="keyboard-mappings">
-          <dt>j</dt>
-          <dd>Move selection down</dd>
-        </dl>
-        <dl class="keyboard-mappings">
-          <dt>k</dt>
-          <dd>Move selection up</dd>
-        </dl>
-        <dl class="keyboard-mappings">
-          <dt>x</dt>
-          <dd>Toggle selection</dd>
-        </dl>
-        <dl class="keyboard-mappings">
-          <dt>o <em>or</em> enter</dt>
-          <dd>Open issue</dd>
-        </dl>
-      </div><!-- /.column.first -->
-      <div class="column middle">
-        <dl class="keyboard-mappings">
-          <dt>I</dt>
-          <dd>Mark selection as read</dd>
-        </dl>
-        <dl class="keyboard-mappings">
-          <dt>U</dt>
-          <dd>Mark selection as unread</dd>
-        </dl>
-        <dl class="keyboard-mappings">
-          <dt>e</dt>
-          <dd>Close selection</dd>
-        </dl>
-        <dl class="keyboard-mappings">
-          <dt>y</dt>
-          <dd>Remove selection from view</dd>
-        </dl>
-      </div><!-- /.column.middle -->
-      <div class="column last">
-        <dl class="keyboard-mappings">
-          <dt>c</dt>
-          <dd>Create issue</dd>
-        </dl>
-        <dl class="keyboard-mappings">
-          <dt>l</dt>
-          <dd>Create label</dd>
-        </dl>
-        <dl class="keyboard-mappings">
-          <dt>i</dt>
-          <dd>Back to inbox</dd>
-        </dl>
-        <dl class="keyboard-mappings">
-          <dt>u</dt>
-          <dd>Back to issues</dd>
-        </dl>
-        <dl class="keyboard-mappings">
-          <dt>/</dt>
-          <dd>Focus issues search</dd>
-        </dl>
-      </div>
-    </div>
-  </div>
-
-  <div style='display:none'>
-    <div class="rule"></div>
-
-    <h3>Issues Dashboard</h3>
-
-    <div class="columns threecols">
-      <div class="column first">
-        <dl class="keyboard-mappings">
-          <dt>j</dt>
-          <dd>Move selection down</dd>
-        </dl>
-        <dl class="keyboard-mappings">
-          <dt>k</dt>
-          <dd>Move selection up</dd>
-        </dl>
-        <dl class="keyboard-mappings">
-          <dt>o <em>or</em> enter</dt>
-          <dd>Open issue</dd>
-        </dl>
-      </div><!-- /.column.first -->
-    </div>
-  </div>
-
-  <div style='display:none'>
-    <div class="rule"></div>
-
-    <h3>Network Graph</h3>
-    <div class="columns equacols">
-      <div class="column first">
-        <dl class="keyboard-mappings">
-          <dt><span class="badmono">←</span> <em>or</em> h</dt>
-          <dd>Scroll left</dd>
-        </dl>
-        <dl class="keyboard-mappings">
-          <dt><span class="badmono">→</span> <em>or</em> l</dt>
-          <dd>Scroll right</dd>
-        </dl>
-        <dl class="keyboard-mappings">
-          <dt><span class="badmono">↑</span> <em>or</em> k</dt>
-          <dd>Scroll up</dd>
-        </dl>
-        <dl class="keyboard-mappings">
-          <dt><span class="badmono">↓</span> <em>or</em> j</dt>
-          <dd>Scroll down</dd>
-        </dl>
-        <dl class="keyboard-mappings">
-          <dt>t</dt>
-          <dd>Toggle visibility of head labels</dd>
-        </dl>
-      </div><!-- /.column.first -->
-      <div class="column last">
-        <dl class="keyboard-mappings">
-          <dt>shift <span class="badmono">←</span> <em>or</em> shift h</dt>
-          <dd>Scroll all the way left</dd>
-        </dl>
-        <dl class="keyboard-mappings">
-          <dt>shift <span class="badmono">→</span> <em>or</em> shift l</dt>
-          <dd>Scroll all the way right</dd>
-        </dl>
-        <dl class="keyboard-mappings">
-          <dt>shift <span class="badmono">↑</span> <em>or</em> shift k</dt>
-          <dd>Scroll all the way up</dd>
-        </dl>
-        <dl class="keyboard-mappings">
-          <dt>shift <span class="badmono">↓</span> <em>or</em> shift j</dt>
-          <dd>Scroll all the way down</dd>
-        </dl>
-      </div><!-- /.column.last -->
-    </div>
-  </div>
-
-  <div >
-    <div class="rule"></div>
-    <div class="columns threecols">
-      <div class="column first" >
-        <h3>Source Code Browsing</h3>
-        <dl class="keyboard-mappings">
-          <dt>t</dt>
-          <dd>Activates the file finder</dd>
-        </dl>
-        <dl class="keyboard-mappings">
-          <dt>l</dt>
-          <dd>Jump to line</dd>
-        </dl>
-        <dl class="keyboard-mappings">
-          <dt>w</dt>
-          <dd>Switch branch/tag</dd>
-        </dl>
-        <dl class="keyboard-mappings">
-          <dt>y</dt>
-          <dd>Expand URL to its canonical form</dd>
-        </dl>
-      </div>
-    </div>
-  </div>
-</div>
-
-    <div id="markdown-help" class="instapaper_ignore readability-extra">
-  <h2>Markdown Cheat Sheet</h2>
-
-  <div class="cheatsheet-content">
-
-  <div class="mod">
-    <div class="col">
-      <h3>Format Text</h3>
-      <p>Headers</p>
-      <pre>
-# This is an &lt;h1&gt; tag
-## This is an &lt;h2&gt; tag
-###### This is an &lt;h6&gt; tag</pre>
-     <p>Text styles</p>
-     <pre>
-*This text will be italic*
-_This will also be italic_
-**This text will be bold**
-__This will also be bold__
-
-*You **can** combine them*
-</pre>
-    </div>
-    <div class="col">
-      <h3>Lists</h3>
-      <p>Unordered</p>
-      <pre>
-* Item 1
-* Item 2
-  * Item 2a
-  * Item 2b</pre>
-     <p>Ordered</p>
-     <pre>
-1. Item 1
-2. Item 2
-3. Item 3
-   * Item 3a
-   * Item 3b</pre>
-    </div>
-    <div class="col">
-      <h3>Miscellaneous</h3>
-      <p>Images</p>
-      <pre>
-![GitHub Logo](/images/logo.png)
-Format: ![Alt Text](url)
-</pre>
-     <p>Links</p>
-     <pre>
-http://github.com - automatic!
-[GitHub](http://github.com)</pre>
-<p>Blockquotes</p>
-     <pre>
-As Kanye West said:
-
-> We're living the future so
-> the present is our past.
-</pre>
-    </div>
-  </div>
-  <div class="rule"></div>
-
-  <h3>Code Examples in Markdown</h3>
-  <div class="col">
-      <p>Syntax highlighting with <a href="http://github.github.com/github-flavored-markdown/" title="GitHub Flavored Markdown" target="_blank">GFM</a></p>
-      <pre>
-```javascript
-function fancyAlert(arg) {
-  if(arg) {
-    $.facebox({div:'#foo'})
-  }
-}
-```</pre>
-    </div>
-    <div class="col">
-      <p>Or, indent your code 4 spaces</p>
-      <pre>
-Here is a Python code example
-without syntax highlighting:
-
-    def foo:
-      if not bar:
-        return true</pre>
-    </div>
-    <div class="col">
-      <p>Inline code for comments</p>
-      <pre>
-I think you should use an
-`&lt;addr&gt;` element here instead.</pre>
-    </div>
-  </div>
-
-  </div>
-</div>
-
-
-    <div class="ajax-error-message">
-      <p><span class="icon"></span> Something went wrong with that request. Please try again. <a href="javascript:;" class="ajax-error-dismiss">Dismiss</a></p>
-    </div>
-
-    
-    
-    
-  </body>
-</html>
-
+/*
+ * jQuery Templates Plugin 1.0.0pre
+ * http://github.com/jquery/jquery-tmpl
+ * Requires jQuery 1.4.2
+ *
+ * Copyright Software Freedom Conservancy, Inc.
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ */
+(function(a){var r=a.fn.domManip,d="_tmplitem",q=/^[^<]*(<[\w\W]+>)[^>]*$|\{\{\! /,b={},f={},e,p={key:0,data:{}},i=0,c=0,l=[];function g(g,d,h,e){var c={data:e||(e===0||e===false)?e:d?d.data:{},_wrap:d?d._wrap:null,tmpl:null,parent:d||null,nodes:[],calls:u,nest:w,wrap:x,html:v,update:t};g&&a.extend(c,g,{nodes:[],parent:d});if(h){c.tmpl=h;c._ctnt=c._ctnt||c.tmpl(a,c);c.key=++i;(l.length?f:b)[i]=c}return c}a.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(f,d){a.fn[f]=function(n){var g=[],i=a(n),k,h,m,l,j=this.length===1&&this[0].parentNode;e=b||{};if(j&&j.nodeType===11&&j.childNodes.length===1&&i.length===1){i[d](this[0]);g=this}else{for(h=0,m=i.length;h<m;h++){c=h;k=(h>0?this.clone(true):this).get();a(i[h])[d](k);g=g.concat(k)}c=0;g=this.pushStack(g,f,i.selector)}l=e;e=null;a.tmpl.complete(l);return g}});a.fn.extend({tmpl:function(d,c,b){return a.tmpl(this[0],d,c,b)},tmplItem:function(){return a.tmplIte
 m(this[0])},template:function(b){return a.template(b,this[0])},domManip:function(d,m,k){if(d[0]&&a.isArray(d[0])){var g=a.makeArray(arguments),h=d[0],j=h.length,i=0,f;while(i<j&&!(f=a.data(h[i++],"tmplItem")));if(f&&c)g[2]=function(b){a.tmpl.afterManip(this,b,k)};r.apply(this,g)}else r.apply(this,arguments);c=0;!e&&a.tmpl.complete(b);return this}});a.extend({tmpl:function(d,h,e,c){var i,k=!c;if(k){c=p;d=a.template[d]||a.template(null,d);f={}}else if(!d){d=c.tmpl;b[c.key]=c;c.nodes=[];c.wrapped&&n(c,c.wrapped);return a(j(c,null,c.tmpl(a,c)))}if(!d)return[];if(typeof h==="function")h=h.call(c||{});e&&e.wrapped&&n(e,e.wrapped);i=a.isArray(h)?a.map(h,function(a){return a?g(e,c,d,a):null}):[g(e,c,d,h)];return k?a(j(c,null,i)):i},tmplItem:function(b){var c;if(b instanceof a)b=b[0];while(b&&b.nodeType===1&&!(c=a.data(b,"tmplItem"))&&(b=b.parentNode));return c||p},template:function(c,b){if(b){if(typeof b==="string")b=o(b);else if(b instanceof a)b=b[0]||{};if(b.nodeType)b=a.data(b,"t
 mpl")||a.data(b,"tmpl",o(b.innerHTML));return typeof c==="string"?(a.template[c]=b):b}return c?typeof c!=="string"?a.template(null,c):a.template[c]||a.template(null,q.test(c)?c:a(c)):null},encode:function(a){return(""+a).split("<").join("&lt;").split(">").join("&gt;").split('"').join("&#34;").split("'").join("&#39;")}});a.extend(a.tmpl,{tag:{tmpl:{_default:{$2:"null"},open:"if($notnull_1){__=__.concat($item.nest($1,$2));}"},wrap:{_default:{$2:"null"},open:"$item.calls(__,$1,$2);__=[];",close:"call=$item.calls();__=call._.concat($item.wrap(call,__));"},each:{_default:{$2:"$index, $value"},open:"if($notnull_1){$.each($1a,function($2){with(this){",close:"}});}"},"if":{open:"if(($notnull_1) && $1a){",close:"}"},"else":{_default:{$1:"true"},open:"}else if(($notnull_1) && $1a){"},html:{open:"if($notnull_1){__.push($1a);}"},"=":{_default:{$1:"$data"},open:"if($notnull_1){__.push($.encode($1a));}"},"!":{open:""}},complete:function(){b={}},afterManip:function(f,b,d){var e=b.nodeType=
 ==11?a.makeArray(b.childNodes):b.nodeType===1?[b]:[];d.call(f,b);m(e);c++}});function j(e,g,f){var b,c=f?a.map(f,function(a){return typeof a==="string"?e.key?a.replace(/(<\w+)(?=[\s>])(?![^>]*_tmplitem)([^>]*)/g,"$1 "+d+'="'+e.key+'" $2'):a:j(a,e,a._ctnt)}):e;if(g)return c;c=c.join("");c.replace(/^\s*([^<\s][^<]*)?(<[\w\W]+>)([^>]*[^>\s])?\s*$/,function(f,c,e,d){b=a(e).get();m(b);if(c)b=k(c).concat(b);if(d)b=b.concat(k(d))});return b?b:k(c)}function k(c){var b=document.createElement("div");b.innerHTML=c;return a.makeArray(b.childNodes)}function o(b){return new Function("jQuery","$item","var $=jQuery,call,__=[],$data=$item.data;with($data){__.push('"+a.trim(b).replace(/([\\'])/g,"\\$1").replace(/[\r\t\n]/g," ").replace(/\$\{([^\}]*)\}/g,"{{= $1}}").replace(/\{\{(\/?)(\w+|.)(?:\(((?:[^\}]|\}(?!\}))*?)?\))?(?:\s+(.*?)?)?(\(((?:[^\}]|\}(?!\}))*?)\))?\s*\}\}/g,function(m,l,k,g,b,c,d){var j=a.tmpl.tag[k],i,e,f;if(!j)throw"Unknown template tag: "+k;i=j._default||[];if(c&&!/\w$/.tes
 t(b)){b+=c;c=""}if(b){b=h(b);d=d?","+h(d)+")":c?")":"";e=c?b.indexOf(".")>-1?b+h(c):"("+b+").call($item"+d:b;f=c?e:"(typeof("+b+")==='function'?("+b+").call($item):("+b+"))"}else f=e=i.$1||"null";g=h(g);return"');"+j[l?"close":"open"].split("$notnull_1").join(b?"typeof("+b+")!=='undefined' && ("+b+")!=null":"true").split("$1a").join(f).split("$1").join(e).split("$2").join(g||i.$2||"")+"__.push('"})+"');}return __;")}function n(c,b){c._wrap=j(c,true,a.isArray(b)?b:[q.test(b)?b:a(b).html()]).join("")}function h(a){return a?a.replace(/\\'/g,"'").replace(/\\\\/g,"\\"):null}function s(b){var a=document.createElement("div");a.appendChild(b.cloneNode(true));return a.innerHTML}function m(o){var n="_"+c,k,j,l={},e,p,h;for(e=0,p=o.length;e<p;e++){if((k=o[e]).nodeType!==1)continue;j=k.getElementsByTagName("*");for(h=j.length-1;h>=0;h--)m(j[h]);m(k)}function m(j){var p,h=j,k,e,m;if(m=j.getAttribute(d)){while(h.parentNode&&(h=h.parentNode).nodeType===1&&!(p=h.getAttribute(d)));if(p!==m){
 h=h.parentNode?h.nodeType===11?0:h.getAttribute(d)||0:0;if(!(e=b[m])){e=f[m];e=g(e,b[h]||f[h]);e.key=++i;b[i]=e}c&&o(m)}j.removeAttribute(d)}else if(c&&(e=a.data(j,"tmplItem"))){o(e.key);b[e.key]=e;h=a.data(j.parentNode,"tmplItem");h=h?h.key:0}if(e){k=e;while(k&&k.key!=h){k.nodes.push(j);k=k.parent}delete e._ctnt;delete e._wrap;a.data(j,"tmplItem",e)}function o(a){a=a+n;e=l[a]=l[a]||g(e,b[e.parent.key+n]||e.parent)}}}function u(a,d,c,b){if(!a)return l.pop();l.push({_:a,tmpl:d,item:this,data:c,options:b})}function w(d,c,b){return a.tmpl(a.template(d),c,b,this)}function x(b,d){var c=b.options||{};c.wrapped=d;return a.tmpl(a.template(b.tmpl),b.data,c,b.item)}function v(d,c){var b=this._wrap;return a.map(a(a.isArray(b)?b.join(""):b).filter(d||"*"),function(a){return c?a.innerText||a.textContent:a.outerHTML||s(a)})}function t(){var b=this.nodes;a.tmpl(null,null,null,this).insertBefore(b[0]);a(b).remove()}})(jQuery);
\ No newline at end of file

Added: incubator/isis/trunk/examples/onlinedemo/webapp/src/main/webapp/mobile/app.css
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/examples/onlinedemo/webapp/src/main/webapp/mobile/app.css?rev=1231722&view=auto
==============================================================================
--- incubator/isis/trunk/examples/onlinedemo/webapp/src/main/webapp/mobile/app.css (added)
+++ incubator/isis/trunk/examples/onlinedemo/webapp/src/main/webapp/mobile/app.css Sun Jan 15 18:35:24 2012
@@ -0,0 +1,31 @@
+* {
+	font-family: Verdana;
+	font-size: 96%;
+}
+
+label {
+	width: 10em;
+	float: left;
+}
+
+label.error {
+	float: none;
+	color: red;
+	padding-left: .5em;
+	vertical-align: top;
+	display: none;
+}
+
+p {
+	clear: both;
+}
+
+.submit {
+	margin-left: 12em;
+}
+
+em {
+	font-weight: bold;
+	padding-right: 1em;
+	vertical-align: top;
+}
\ No newline at end of file

Added: incubator/isis/trunk/examples/onlinedemo/webapp/src/main/webapp/mobile/app.js
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/examples/onlinedemo/webapp/src/main/webapp/mobile/app.js?rev=1231722&view=auto
==============================================================================
--- incubator/isis/trunk/examples/onlinedemo/webapp/src/main/webapp/mobile/app.js (added)
+++ incubator/isis/trunk/examples/onlinedemo/webapp/src/main/webapp/mobile/app.js Sun Jan 15 18:35:24 2012
@@ -0,0 +1,61 @@
+refreshList = function(items, selector, templateSelector) {
+    $(selector).empty();
+    $(templateSelector)
+        .tmpl(items)
+        .appendTo(selector);
+    $(selector).listview("refresh");
+}
+
+login = function() {
+    var username = $("#username").val();
+    if (!username) {
+        $("#login label.error").text("username required").show()
+                .fadeOut(1500);
+        return false;
+        //username = "sven";
+    }
+
+    var password = $("#password").val();
+    if (!password) {
+        $("#login label.error").text("password required").show()
+                .fadeOut(1500);
+        return false;
+        //password = "pass";
+    }
+
+    $("#login").data("userCredentials", {
+        "username" : username,
+        "password" : password
+    });
+    return true;
+}
+
+
+todaysTasks = function() {
+    var username = $("#login").data("userCredentials").username;
+    var password = $("#login").data("userCredentials").password;
+    
+    //$("#todays-tasks .username").text(username)
+    
+    $.ajax({
+        url : "http://localhost:8080/services/toDoItems/actions/toDosForToday/invoke",
+        dataType : 'json',
+        username : username,
+        password : password,
+        success : function(data) {
+        	refreshList(
+    			data.result.value, 
+    			"#todays-tasks ul.tasks", 
+    			"#todays-tasks .tasks-tmpl");
+        }
+    });
+};
+
+$(function() {
+	$(document).bind("mobileinit", function(){
+		  $.mobile.ajaxEnabled=false;
+	});
+	
+    $(document).delegate("#login a", "click", login);
+    $(document).delegate("#todays-tasks", "pagebeforeshow", todaysTasks);
+});

Modified: incubator/isis/trunk/examples/onlinedemo/webapp/src/main/webapp/mobile/index.html
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/examples/onlinedemo/webapp/src/main/webapp/mobile/index.html?rev=1231722&r1=1231721&r2=1231722&view=diff
==============================================================================
--- incubator/isis/trunk/examples/onlinedemo/webapp/src/main/webapp/mobile/index.html (original)
+++ incubator/isis/trunk/examples/onlinedemo/webapp/src/main/webapp/mobile/index.html Sun Jan 15 18:35:24 2012
@@ -1,120 +1,113 @@
-<!DOCTYPE html> 
-<html> 
+<!DOCTYPE html>
+<html>
 
 <head>
-    <meta charset="utf-8">
-    <meta name="viewport" content="width=device-width, initial-scale=1"> 
-    <title>Apache Isis Online Demo</title> 
-    <link rel="stylesheet" href="../jquery.mobile/jquery.mobile-1.0.min.css" />
-    <script src="../jquery/jquery-1.6.4.min.js"></script>
-    <script src="../jquery.mobile/jquery.mobile-1.0.min.js"></script>
-    
-<style type="text/css">
-    * { font-family: Verdana; font-size: 96%; }
-    label { width: 10em; float: left; }
-    label.error { float: none; color: red; padding-left: .5em; vertical-align: top; display: none; }
-    p { clear: both; }
-    .submit { margin-left: 12em; }
-    em { font-weight: bold; padding-right: 1em; vertical-align: top; }
-</style>
-
-</head> 
-    
-<body> 
-
-<div data-role="page" id="login" data-theme="b">
-
-    <div data-role="header"  data-theme="b">
-        <h1>Login</h1>
-    </div><!-- /header -->
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<title>Apache Isis Online Demo</title>
 
-    <div data-role="content" >  
-        
-        <label for="username">Username:</label>
-        <input type="text" name="username" id="username" value="" placeholder="Username" class="required"/>
-        <label class="error"></label> 
-        
-        <a href="#todays-tasks" data-role="button" data-transition="pop" data-ajax="false" data-icon="arrow-r" data-inline="true">Submit</a>
+<link rel="stylesheet" href="../jquery.mobile/jquery.mobile-1.0.min.css" />
 
-    </div><!-- /content -->
+<script src="../jquery/jquery-1.6.4.min.js"></script>
+<script src="../jquery.mobile/jquery.mobile-1.0.min.js"></script>
+<script src="../jquery.tmpl/jquery.tmpl-vBeta1.0.0.min.js"></script>
 
-     <script language="javascript" type="text/javascript">
-        $("#login a").click( function() {
-            var username = $("#username").val();
-            if (!username) { 
-                $("#login label.error").text("required").show().fadeOut(1500);            
-                return false;
-            }
-            $("#login").data("username", username);
-            return true;
-        } )          
-      </script>
-</div>
-
-<div data-role="page" id="todays-tasks" data-theme="b" >
-    <div data-role="header" data-theme="b">
-        <a href="#login" data-icon="back">Logout</a>
-        <h1>Today's tasks</h1>
-    </div><!-- /header -->
+<link rel="stylesheet" type="text/css" href="app.css" />
 
-    <div data-role="content" >
-        <p class="username"></p>
-        
-    </div><!-- /content -->
+<script type="text/javascript" src="app.js"></script>
+</head>
 
-     <script language="javascript" type="text/javascript">
-        $(document).bind( "pagechange", function( e, data ) {
-        
-            // yuck!        
-            var u = $.mobile.path.parseUrl(e.currentTarget.URL);
-            var re = /^#todays-tasks/;
-    
-            if (u.hash.search(re) !== -1) {
-                var username = $("#login").data("username");
-                $("#todays-tasks .username").text( username )
-            }
-        });
+<body>
 
-      </script>
-    
-</div>
+	<div data-role="page" id="login" data-theme="b">
 
+		<div data-role="header" data-theme="b">
+			<h1>Login</h1>
+		</div>
+		<!-- /header -->
 
+		<div data-role="content">
 
-<div data-role="page" id="settings" data-add-back-btn="true">
+			<label for="username">Username:</label>
+			<input type="text"
+				name="username" id="username" value="" placeholder="Username"
+				class="required"/>
+  		    <label for="password">Password:</label>
+  		    <input type="password" name="password" id="password" value=""
+				placeholder="Password" class="required" /> <label class="error"></label>
 
-    <div data-role="header">
-        <h1>Settings</h1>
-    </div><!-- /header -->
+			<a href="#todays-tasks" data-role="button" data-transition="pop"
+				data-ajax="false" data-icon="arrow-r" data-inline="true">Submit</a>
 
-    <div data-role="content">    
-        
-    </div><!-- /content -->
-    
-    <div data-role="footer">
-        <h4></h4>
-    </div><!-- /footer -->
-</div><!-- /page two -->
+		</div>
+
+        <script type="text/javascript">
+        </script>
+	</div>
 
 
+	<div data-role="page" id="todays-tasks" data-theme="b">
 
-<!-- Start of third page: #popup -->
-<div data-role="page" id="popup">
-
-    <div data-role="header" data-theme="e">
-        <h1>Dialog</h1>
-    </div><!-- /header -->
-
-    <div data-role="content" data-theme="d">    
-        <h2>Popup</h2>
-        <p>I have an id of "popup" on my page container and only look like a dialog because the link to me had a <code>data-rel="dialog"</code> attribute which gives me this inset look and a <code>data-transition="pop"</code> attribute to change the transition to pop. Without this, I'd be styled as a normal page.</p>      
-        <p><a href="#one" data-rel="back" data-role="button" data-inline="true" data-icon="back">Back to page "one"</a></p> 
-    </div><!-- /content -->
-    
-    <div data-role="footer">
-        <h4>Page Footer</h4>
-    </div><!-- /footer -->
-</div><!-- /page popup -->
+		<div data-role="header" data-theme="b">
+			<a href="#login" data-icon="back" data-rel="back">Logout</a>
+			<h1>Today's tasks</h1>
+		</div>
+
+		<div data-role="content">
+        
+            <br/>
+            <ul data-role="listview" data-theme="b" class="tasks"></ul>
+		</div>
+
+        <script class="tasks-tmpl" type="text/x-jquery-tmpl">
+            <li data-theme="b">
+                <a href="#">${title}</a>
+            </li>
+        </script>
+	</div>
+
+
+	<div data-role="page" id="settings" data-add-back-btn="true">
+
+		<div data-role="header">
+			<h1>Settings</h1>
+		</div>
+
+		<div data-role="content"></div>
+
+		<div data-role="footer">
+			<h4></h4>
+		</div>
+	</div>
+
+
+	<div data-role="page" id="popup">
+
+		<div data-role="header" data-theme="e">
+			<h1>Dialog</h1>
+		</div>
+
+		<div data-role="content" data-theme="d">
+			<h2>Popup</h2>
+			<p>
+				I have an id of "popup" on my page container and only look like a
+				dialog because the link to me had a
+				<code>data-rel="dialog"</code>
+				attribute which gives me this inset look and a
+				<code>data-transition="pop"</code>
+				attribute to change the transition to pop. Without this, I'd be
+				styled as a normal page.
+			</p>
+			<p>
+				<a href="#one" data-rel="back" data-role="button" data-inline="true"
+					data-icon="back">Back to page "one"</a>
+			</p>
+		</div>
+
+		<div data-role="footer">
+			<h4>Page Footer</h4>
+		</div>
+	</div>
 
 </body>
 </html>
\ No newline at end of file



Mime
View raw message