Skip to content

Commit 1bef533

Browse files
committed
Created Models4PTController in dagitty.js and GraphGUI_Controller.js
1 parent db4e496 commit 1bef533

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

gui/js/dagitty.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8373,9 +8373,9 @@ var Models4PTGraphView = Class.extend({
83738373
})
83748374

83758375
/* globals ObservedGraph,Class,_,Graph,Models4PTGraphView,GraphParser,GraphLayouter */
8376-
/* exported DAGittyController */
8376+
/* exported Models4PTController */
83778377

8378-
var DAGittyController = Class.extend({
8378+
var Models4PTController = Class.extend({
83798379
init : function( obj ){
83808380
this.event_listeners = {
83818381
"graphchange" : [],
@@ -8662,7 +8662,7 @@ var DAGitty = {
86628662
if( !("mutable" in op) ){
86638663
op.mutable = false
86648664
}
8665-
var c = new DAGittyController( op )
8665+
var c = new Models4PTController( op )
86668666
this.controllers.push( c )
86678667
if( el.id ){
86688668
this.controllers_by_id[el.id] = c

jslib/gui/GraphGUI_Controller.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22
/* globals ObservedGraph,Class,_,Graph,Models4PTGraphView,GraphParser,GraphLayouter */
3-
/* exported DAGittyController */
3+
/* exported Models4PTController */
44

5-
var DAGittyController = Class.extend({
5+
var Models4PTController = Class.extend({
66
init : function( obj ){
77
this.event_listeners = {
88
"graphchange" : [],
@@ -289,7 +289,7 @@ var DAGitty = {
289289
if( !("mutable" in op) ){
290290
op.mutable = false
291291
}
292-
var c = new DAGittyController( op )
292+
var c = new Models4PTController( op )
293293
this.controllers.push( c )
294294
if( el.id ){
295295
this.controllers_by_id[el.id] = c

0 commit comments

Comments
 (0)