From 87bbe3aa16f78abec4835d1fa60ea9f9a0f34d9d Mon Sep 17 00:00:00 2001 From: Brian Ford Date: Tue, 7 Aug 2012 11:52:07 -0700 Subject: [PATCH] renamed wtree and mtree to watch-tree and model-tree respectively --- js/directives/{mtree.js => modelTree.js} | 14 +++++++------- js/directives/{wtree.js => watcherTree.js} | 12 ++++++------ panel.html | 4 ++-- panes/model.html | 2 +- panes/perf.html | 2 +- 5 files changed, 17 insertions(+), 17 deletions(-) rename js/directives/{mtree.js => modelTree.js} (69%) rename js/directives/{wtree.js => watcherTree.js} (62%) diff --git a/js/directives/mtree.js b/js/directives/modelTree.js similarity index 69% rename from js/directives/mtree.js rename to js/directives/modelTree.js index 5bfbe42..2d79728 100644 --- a/js/directives/mtree.js +++ b/js/directives/modelTree.js @@ -1,12 +1,12 @@ // model tree -panelApp.directive('batMtree', function($compile) { +panelApp.directive('batModelTree', function($compile) { return { restrict: 'E', terminal: true, scope: { - val: '=val', - edit: '=edit', - inspect: '=inspect' + val: '=', + edit: '=', + inspect: '=' }, link: function (scope, element, attrs) { // this is more complicated then it should be @@ -15,15 +15,15 @@ panelApp.directive('batMtree', function($compile) { '
' + 'Scope ({{val.id}}) | ' + 'toggle' + - '
' + + '
' + '
    ' + '
  • ' + '{{key}}' + - '' + + '' + '
  • ' + '
' + '
' + - '' + + '' + '
' + '
' + '
'); diff --git a/js/directives/wtree.js b/js/directives/watcherTree.js similarity index 62% rename from js/directives/wtree.js rename to js/directives/watcherTree.js index 433bd5f..74bf5ec 100644 --- a/js/directives/wtree.js +++ b/js/directives/watcherTree.js @@ -1,5 +1,5 @@ // watchers tree -panelApp.directive('batWtree', function($compile) { +panelApp.directive('batWatcherTree', function($compile) { return { restrict: 'E', terminal: true, @@ -14,18 +14,18 @@ panelApp.directive('batWtree', function($compile) { '
' + 'Scope ({{val.id}}) | ' + 'toggle' + - '
' + + '
' + '
    ' + '
  • ' + - 'toggle ' + - '{{item | first}}' + - '
    ' +
    +                'toggle ' +
    +                '{{item | first}}' +
    +                '
    ' +
                       '{{item}}' +
                     '
    ' + '
  • ' + '
' + '
' + - '' + + '' + '
' + '
' + '
'); diff --git a/panel.html b/panel.html index 1554bd4..a687ecc 100644 --- a/panel.html +++ b/panel.html @@ -17,10 +17,10 @@ - + - + diff --git a/panes/model.html b/panes/model.html index d9533ce..8fd021d 100644 --- a/panes/model.html +++ b/panes/model.html @@ -4,6 +4,6 @@
-    
+    
   
\ No newline at end of file diff --git a/panes/perf.html b/panes/perf.html index 2a2a75b..cb3f09b 100644 --- a/panes/perf.html +++ b/panes/perf.html @@ -14,7 +14,7 @@

Watch Tree

- +