<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -62,13 +62,13 @@ var Navigation = function() {
     /**
      * Loads a specific url into the background iframe
      */
-    var loadiframe = function(url) {
+    function loadiframe(url) {
         window.frames['postFrame'].src = url;
     };
     /**
      * Like loadiframe by uses location.replace(newURL)
      */
-    var loadjs = function(url) {
+    function loadjs(url) {
         var useURL = url;
         if(url.startsWith('/')) {
             useURL = window.location.protocol + '//'
@@ -94,7 +94,7 @@ var Navigation = function() {
      *   - meta keys being pressed while clicking e.g. shift / apple / etc
      *   - checking it wasn't a right or middle click
      */
-    var shouldTakeoverLinkClick = function(event) {
+    function shouldTakeoverLinkClick(event) {
         var a = event.findElement('a');
         var href = a ? a.getAttribute('href') : false;
         var ret = a &amp;&amp; href &amp;&amp; (href.startsWith('/') || href.indexOf(window.location.hostname)&gt;=0)
@@ -112,7 +112,7 @@ var Navigation = function() {
      * should stop to be handled using this code instead of the
      * default behaviour.
      */
-    var shouldTakeoverFormSubmit = function(event) {
+    function shouldTakeoverFormSubmit(event) {
         var submitInput = event.findElement('input[type=&quot;submit&quot;]');
         if(!submitInput) return false;
         var action = submitInput.up('form').getAttribute('action') || submitInput.up('form').action;
@@ -125,7 +125,7 @@ var Navigation = function() {
      * by a setInterval to handle the case of when back and forward
      * browser navigation is done.
      */
-    var checkLocationChange = function() {
+    function checkLocationChange() {
         if(window.location.hash != lastHash) {
             if((!window.location.hash || window.location.hash=='#')
             &amp;&amp; (!lastHash || lastHash=='#')) {
@@ -156,7 +156,7 @@ var Navigation = function() {
      * anchor and changing the # path otherwise, at which time 
      * checkLocationChange is called to do the actual loading.
      */
-    var handleLinkClick = function(event) {
+    function handleLinkClick(event) {
         event.stop();
         var a = event.findElement('a');
         var href = a.getAttribute('href');
@@ -180,7 +180,7 @@ var Navigation = function() {
      * '__backgroundLoad=1' is added, but is also added in the case of a
      * POST form as an added hidden form element.
      */
-    var handleFormSubmit = function(event) {
+    function handleFormSubmit(event) {
         var submitInput = event.findElement('input[type=submit]');
         var form = submitInput.up('form');
         var overlay = form.up('.overlay');
@@ -220,7 +220,7 @@ var Navigation = function() {
     /**
      * The click event handler that is observed on the document body
      */
-    var trapClick = function(event) {
+    function trapClick(event) {
         if(shouldTakeoverLinkClick(event)) {
             handleLinkClick(event);
         } else if(shouldTakeoverFormSubmit(event)) {
@@ -230,7 +230,7 @@ var Navigation = function() {
     /**
      * Callback for when the initial window loading
      */
-    var loadCallback = function() {
+    function loadCallback() {
         $(document.body).observe('click', trapClick);
         setInterval(checkLocationChange, 100);
     };
@@ -242,7 +242,7 @@ var Navigation = function() {
      * from other sites, and shared links.  If it thinks this is 
      * the case then it will redirect to the # url.
      */
-    var checkExistingHash = function() {
+    function checkExistingHash() {
         var hash = window.location.hash;
         if(hash &amp;&amp; hash != '#' &amp;&amp; hash != '' &amp;&amp; (hash.startsWith('#/') || hash.startsWith('#'+window.location.protocol+'//'+window.location.hostname))) {
             //direct link to a page</diff>
      <filename>navigation.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>bb69911df8a84f73f6e49a6387c689be5b37d550</id>
    </parent>
  </parents>
  <author>
    <name>Steven Gravell</name>
    <email>steve@mokele.co.uk</email>
  </author>
  <url>http://github.com/mokele/navigation.js/commit/a445c96cc3b6cf41de4786c5469b9e019961f322</url>
  <id>a445c96cc3b6cf41de4786c5469b9e019961f322</id>
  <committed-date>2009-11-06T16:48:16-08:00</committed-date>
  <authored-date>2009-11-06T16:48:16-08:00</authored-date>
  <message>-var</message>
  <tree>9ea8dee7b5a7af269426bb1904787792df02090f</tree>
  <committer>
    <name>Steven Gravell</name>
    <email>steve@mokele.co.uk</email>
  </committer>
</commit>
