JavaScript code cleanup
This commit is contained in:
parent
bd5e73f62b
commit
c63124f575
5 changed files with 111 additions and 109 deletions
2
angular_app/js/app.js
vendored
2
angular_app/js/app.js
vendored
|
@ -4,6 +4,7 @@ var eventManApp = angular.module('eventManApp', [
|
||||||
'eventManControllers'
|
'eventManControllers'
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
||||||
eventManApp.directive('ngEnter', function () {
|
eventManApp.directive('ngEnter', function () {
|
||||||
return function (scope, element, attrs) {
|
return function (scope, element, attrs) {
|
||||||
element.bind("keydown keypress", function (event) {
|
element.bind("keydown keypress", function (event) {
|
||||||
|
@ -17,6 +18,7 @@ eventManApp.directive('ngEnter', function () {
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
eventManApp.config(['$routeProvider',
|
eventManApp.config(['$routeProvider',
|
||||||
function($routeProvider) {
|
function($routeProvider) {
|
||||||
$routeProvider.
|
$routeProvider.
|
||||||
|
|
Loading…
Reference in a new issue