mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 13:53:10 +00:00
eb9e712f91
Moved all javascript files under js folder Removed jquery.js from repository
33 lines
1 KiB
JavaScript
33 lines
1 KiB
JavaScript
fishconfig = angular.module("fishconfig", ["filters", "controllers"]);
|
|
|
|
fishconfig.config(
|
|
["$routeProvider", function($routeProvider) {
|
|
$routeProvider
|
|
.when("/colors", {
|
|
controller: "colorsController",
|
|
templateUrl: "partials/colors.html"
|
|
})
|
|
.when("/prompt", {
|
|
controller: "promptController",
|
|
templateUrl: "partials/prompt.html"
|
|
})
|
|
.when("/functions", {
|
|
controller: "functionsController",
|
|
templateUrl: "partials/functions.html"
|
|
})
|
|
.when("/variables", {
|
|
controller: "variablesController",
|
|
templateUrl: "partials/variables.html"
|
|
})
|
|
.when("/history", {
|
|
controller: "historyController",
|
|
templateUrl: "partials/history.html"
|
|
})
|
|
.when("/bindings", {
|
|
controller: "bindingsController",
|
|
templateUrl: "partials/bindings.html"
|
|
})
|
|
.otherwise({
|
|
redirectTo: "/colors"
|
|
})
|
|
}]);
|