blob: 7fdf9127cf933c5e7c1c3029e85d90b3252967c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
(function() {
angular.module('eAse',[])
.controller('ETitleController',eTitleController);
function eTitleController($scope){
$scope.title = "My Sequence Diagram";
$scope.titleEdit = true;
$scope.editTitle = function() {
$scope.titleEdit = !$scope.titleEdit;
};
$scope.doneEdit = function(event) {
if(event.which === 13) {
$scope.titleEdit = !$scope.titleEdit;
}
};
$scope.blur = function(event) {
$scope.titleEdit = !$scope.titleEdit;
};
}
})();
/*
app.controller('eSidebarController',function($scope){
});
app.controller('eGridController',function($scope){
});
app.controller('',function($scope){
});
app.directive('sequenceFlow', function () {
return {
restrict: 'E',
templateUrl: "../view-models/ase_view.html",
controller: 'flowController',
scope: '=',
link: function(scope, element, attrs, flowCtrl) {
flowCtrl.init();
}
}
});
*/
|