Changeset 536 for Dev


Ignore:
Timestamp:
06/08/15 20:09:58 (10 years ago)
Author:
hendrikvanantwerpen
Message:

Not sure what this fix was for.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/src/client/qed-client/app/Router.js

    r519 r536  
    122122        },
    123123        _defaultCallback: function() {
    124             require("./Page",function(Page){
    125                 Content.set(new Page({
    126                     templateString: "<div>Requested page not found. Go <a href=\"#"+Path.getDefault()+"\">home</a>.</div>"
    127                 }));
    128             });
     124            var Page = require("./Page");
     125            Content.set(new Page({
     126                templateString: "<div>Requested page not found. Go <a href=\"#"+Path.getDefault()+"\">home</a>.</div>"
     127            }));
    129128        }
    130129    });
Note: See TracChangeset for help on using the changeset viewer.