1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 02:09:32 +02:00
OpenSTF/res/auth/ldap/scripts/entry.js
Gunther Brunner c588dd87c6 Use webpack instead of require.js for LDAP authentication.
Removing Japanese hardcoded strings (Needs gettext loading code).
2015-06-30 19:44:04 +09:00

22 lines
462 B
JavaScript

require.ensure([], function (require) {
require('nine-bootstrap')
require('angular')
require('angular-route')
require('angular-touch')
angular.module('app', [
'ngRoute',
'ngTouch',
require('gettext').name,
require('./signin').name
])
.config(function ($routeProvider, $locationProvider) {
$locationProvider.html5Mode(true)
$routeProvider
.otherwise({
redirectTo: '/auth/ldap'
})
})
})