Commit 302ce020 authored by chdorner's avatar chdorner

Replace usage of the `page` node package with our own

parent 8ae72ed6
......@@ -9,14 +9,10 @@ if (settings.raven) {
window.$ = window.jQuery = require('jquery');
require('bootstrap');
var page = require('page');
var page = require('./page');
var AdminUsersController = require('./admin-users');
page('/admin/users', function() {
new AdminUsersController(document.body, window);
});
document.addEventListener('DOMContentLoaded', function () {
page.start();
});
......@@ -6,7 +6,7 @@ if (settings.raven) {
require('./raven').init(settings.raven);
}
var page = require('page');
var page = require('./page');
var CreateGroupFormController = require('./create-group-form');
var DropdownMenuController = require('./dropdown-menu');
......@@ -38,7 +38,3 @@ page('/register', function() {
page('/forgot_password', function() {
new FormSelectOnFocusController(document.body);
});
document.addEventListener('DOMContentLoaded', function () {
page.start({click: false});
});
......@@ -50,7 +50,6 @@
"mkdirp": "^0.5.1",
"ng-tags-input": "2.2.0",
"node-uuid": "^1.4.3",
"page": "^1.6.4",
"postcss": "^5.0.6",
"query-string": "^3.0.1",
"raf": "^3.1.0",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment